Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo -e "\nFicheiro Original\n"
- if [ -f BaseDados3.txt ]
- then
- more BaseDados3.txt
- fi
- cat BaseDados3.txt | grep 'Silva' | grep 'Samsung' | cut -f2,4 -d";" > BaseDado$
- echo -e "\nFicheiro final\n"
- if [ -f BaseDadosTEMP3.txt ]
- then
- more BaseDadosTEMP3.txt
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement