Guest User

Untitled

a guest
Jul 16th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #!/bin/sh
  2. if [ $1 ]; then
  3. if [ -f $1 ]; then
  4. /bin/egrep -v '^(\s+#|#)|^(\s+$|$)' $1
  5. else
  6. echo " $1 is not a regular file"
  7. exit 1
  8. fi
  9. else
  10. echo " $0 needs a filename to strip.."
  11. exit 1
  12. fi
Add Comment
Please, Sign In to add comment