Subject: bin/15997: grouping example in sh manual broken?
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 03/21/2002 13:16:11
>Number: 15997
>Category: bin
>Synopsis: h manual has grouping example that doesn't work
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 21 13:17:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.5.3_ALPHA
>Organization:
http://bsd.reedmedia.net/
>Environment:
System: NetBSD rainier.reedmedia.net 1.5.3_ALPHA NetBSD 1.5.3_ALPHA (JCR-1.5-20020213) #9: Wed Mar 6 23:53:13 PST 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-1.5-20020213 i386
Architecture: i386
Machine: i386
>Description:
The grouping example
{ echo -n " hello " ; echo " world" } > greeting
doesn't seem to work from prompt or in sh script.
The shell doesn't see the closing brace.
Syntax error: end of file unexpected (expecting "}")
This issue is with 1.4.2 and 1.5.3_ALPHA.
>How-To-Repeat:
>Fix:
I assume shell is broken and man page is correct.
>Release-Note:
>Audit-Trail:
>Unformatted: