Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- while read line
- do
- var=`echo $line | grep ^[A-Z] | grep [.]$ | grep [A-Za-z] | grep [0-9] | grep [,] | grep [-]`
- if [ $? -eq 0 ]
- then
- echo $ cat line | sed '.......
- else
- echo "eroare:" $line
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement