Mike Jonkmans (bash...@jonkmans.nl) wrote:
> What does not work:
>       function x ( : )

The parser is looking for () after the function name.  Most likely, the
opening ( is confusing it.

unicorn:~$ bash
unicorn:~$ x() ( : )
unicorn:~$ function y() ( : )
unicorn:~$ type x
x is a function
x () 
{ 
    ( : )
}
unicorn:~$ type y
y is a function
y () 
{ 
    ( : )
}

Reply via email to