Last active
August 16, 2016 01:21
-
-
Save jProgr/ae8b94652c1e4c66412d5002b6e67db3 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
i=( 'one' 'two' {3..5} 'six' ) | |
for val in {0..5} | |
do echo ${i[$val]} | |
done | |
j[4]='bar' | |
j[12]='foo' | |
echo "${j[12]}${j[4]}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment