We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
function foo{ echo "hello world" }
Prefer POSIX syntax:
foo() { echo "hello world" }
Alternatively, add the missing space between function name and opening {:
{
# v-- Here function foo { echo "hello world" }
When using function keyword function definitions without (), a space is required between the function name and the opening {.
function
()
None.
There was an error while loading. Please reload this page.