Kevin's Technology Notes
September 22, 2006
Bash Args
# I always seem to be looking for this bash script example
# it just iterates over the args of a command
if [ $# != 0 ]
then
FILE=""
while [ $# != 0 ]
do
echo "1"
shift
done
fi
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment