Skip to content

Instantly share code, notes, and snippets.

@jessebutryn
Created October 21, 2017 11:51
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 jessebutryn/51c7ab0a4303745c9d432ee806a68c10 to your computer and use it in GitHub Desktop.
Save jessebutryn/51c7ab0a4303745c9d432ee806a68c10 to your computer and use it in GitHub Desktop.
Improper array
[root@JBCLAMP001 ~]# array+=('three')
[root@JBCLAMP001 ~]# echo ${array[@]}
zero one two three
[root@JBCLAMP001 ~]# array+='four'
[root@JBCLAMP001 ~]# echo ${array[@]}
zerofour one two three
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment