bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emtpy functions are not properly parsed


From: Paul Jarc
Subject: Re: emtpy functions are not properly parsed
Date: Thu, 05 Aug 2004 11:13:53 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Han Boetes <address@hidden> wrote:
> #!/bin/sh
> something() {
> }

AIUI, the shell language grammar in SUSv3 forbids this; there must be
at least one command between braces.  This works:
something() {
  :
}


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]