Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Bash has local variables (tldp.org)
1 point by dorfsmay on May 13, 2016 | hide | past | favorite | 1 comment


By default all variables are global, and had not realised that you can specify "local" to make variables inside a function, local.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: