Le 10/11/2010 20:32, Kyle McDonald a écrit :
> One more question -
> 
> are () legal (but optional?) on the function name with 'function name'?
> 
> IOW are these the same:
> 
> function foo
> {
>   true
> }
> 
> function foo()
> {
>   true
> }
> 
> I prefer the look of the latter, but what is more portable?

bash (wrong again) accept both, but ksh 88 or 93 only accept the first one.

Regards,

Cyrille Lefevre
-- 
mailto:[email protected]



_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to