Skip to content

Instantly share code, notes, and snippets.

@martinbpeters
Created November 26, 2010 10:19
Show Gist options
  • Save martinbpeters/716521 to your computer and use it in GitHub Desktop.
Save martinbpeters/716521 to your computer and use it in GitHub Desktop.
Bash for loop
#!/bin/bash
t="1 2 3 4"
for i in ${t};
do
echo $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment