Created
April 28, 2010 21:01
-
-
Save programaker/382702 to your computer and use it in GitHub Desktop.
Iterate through array in shell script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array=( bla ble bli blo blu ) | |
for item in ${array[@]}; do | |
echo $item | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment