Skip to content

Instantly share code, notes, and snippets.

@wrboyce
Created January 28, 2011 12:40
Show Gist options
  • Save wrboyce/800204 to your computer and use it in GitHub Desktop.
Save wrboyce/800204 to your computer and use it in GitHub Desktop.
phobos:~% x=(1 2 3)
phobos:~% for i in $x; echo $i
1
2
3
phobos:~% for i in (1 2 3); echo $i
zsh: unknown file attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment