[Bug 883] New: HUSH: syntax error on correct script

bugzilla at busybox.net bugzilla at busybox.net
Tue Jan 12 11:44:58 UTC 2010


           Summary: HUSH: syntax error on correct script
           Product: Busybox
           Version: 1.15.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: m.garai at ziv.es
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0

Hi (again :-) ),

Hush does complain about a syntax error in the following script:

echo a | ( if true; then echo $(echo a); fi )

hush: syntax error: unterminated )

and both dash and bash do not complain about it.

if this script is written in the following way it does not complain:

echo a | ( if true; then echo `echo a`; fi )


Mikel Garai

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list