Advertisement
Guest User

Untitled

a guest
Mar 15th, 2010
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.20 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. FILES="*"
  4.  
  5. for f in "$FILES"
  6. do
  7.         if [ $f -eq "." ] || [ $f -eq ".." ]
  8.                 then
  9.                 echo "equals $f"
  10.         else
  11.                 echo $f
  12.         fi
  13. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement