You're viewing a comment by yitz and its responses.

June 25, 2017, 03:52

The `function` keyword is better skipped for increased portability. See the !function factoid on freenode/greybot

name () { ...; }

Comment Responses

blood Permalink
July 05, 2018, 19:31

This. There are two different syntaxes for functions in bash, but they shouldn't be used together like you show.

You're right though that everybody does it... but that doesn't make it right.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "server_569": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.