Right. It’s optional so that Bash remains backwards compatible as a superset of POSIX sh. If you’re working with exclusively Bash, though, it’s nice to use as syntactic sugar if nothing else.
- 0 Posts
- 3 Comments
Joined 2 years ago
Cake day: October 1st, 2024
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Bash (specifically Bash, not POSIX sh) does have a keyword for functions (
function), but it’s optional.


https://youtu.be/gUwQwtDpdE4 maybe?