Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Bash has local variables
(
tldp.org
)
1 point
by
dorfsmay
on May 13, 2016
|
hide
|
past
|
favorite
|
1 comment
dorfsmay
on May 13, 2016
[–]
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: