On Tuesday 03 March 2009 17:14:16 Chet Ramey wrote:
> Mike Frysinger wrote:
> > On Tuesday 03 March 2009 15:28:28 Chet Ramey wrote:
> >> Mike Frysinger wrote:
> >>> code that uses case statements in a subshell and then uses comments
> >>> causes bash to trigger a parsing error:
> >>> $ cat test.sh
Mike Frysinger wrote:
> On Tuesday 03 March 2009 15:28:28 Chet Ramey wrote:
>> Mike Frysinger wrote:
>>> code that uses case statements in a subshell and then uses comments
>>> causes bash to trigger a parsing error:
>>> $ cat test.sh
>>> echo $(case a in (a) echo ok ;; # comment
>>> )
>>> $ sh ./t
On Tuesday 03 March 2009 15:28:28 Chet Ramey wrote:
> Mike Frysinger wrote:
> > code that uses case statements in a subshell and then uses comments
> > causes bash to trigger a parsing error:
> > $ cat test.sh
> > echo $(case a in (a) echo ok ;; # comment
> > )
> > $ sh ./test.sh
> > ./test.sh: lin
Mike Frysinger wrote:
> code that uses case statements in a subshell and then uses comments causes
> bash to trigger a parsing error:
> $ cat test.sh
> echo $(case a in (a) echo ok ;; # comment
> )
> $ sh ./test.sh
> ./test.sh: line 1: unexpected EOF while looking for matching `)'
> ./test.sh: lin