Peteris Krumins personal blog
Something about functions in Bash (2017)
Here's something you didn't know about bash functions. Usually when you write a function you do this: function name () { ... } Right? I know you do, because that's how everyone writes functions. Well, here's the thing. In bash { ... } doesn't mean "function's body" or "function's scope" as in JavaScript or C. It's...
- Points
- 158
- HN comments
- 102
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringTools & Productivity2018
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 5, 2018 | Something about functions in Bash (2017) by okket | 158 | 102 |