Advertisement
alexarcan

lab3OS

Oct 14th, 2015
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #!/bin/bash
  2. while read line
  3. do
  4.  
  5. var=`echo $line | grep ^[A-Z] | grep [.]$ | grep [A-Za-z] | grep [0-9] | grep [,] | grep [-]`
  6. if [ $? -eq 0 ]
  7. then
  8. echo $ cat line | sed '.......
  9. else
  10. echo "eroare:" $line
  11. fi
  12. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement