Skip to content

Instantly share code, notes, and snippets.

@neatshell
Created July 24, 2013 08:36
Show Gist options
  • Save neatshell/6068927 to your computer and use it in GitHub Desktop.
Save neatshell/6068927 to your computer and use it in GitHub Desktop.
bash args loop, from $1 to $n
while [ "$1" != "" ]; do
echo $1
shift
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment