Skip to content

Instantly share code, notes, and snippets.

@jProgr
Last active August 16, 2016 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jProgr/ae8b94652c1e4c66412d5002b6e67db3 to your computer and use it in GitHub Desktop.
Save jProgr/ae8b94652c1e4c66412d5002b6e67db3 to your computer and use it in GitHub Desktop.
#!/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