Subject: bin/325: bug in /bin/sh
To: None <gnats-admin>
From: None <>
List: netbsd-bugs
Date: 07/05/1994 22:05:12
>Number:         325
>Category:       bin
>Synopsis:       sh -c "(>a >b)" gives syntax error: ")" expected
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul  5 22:05:08 1994
>Originator:     Martin Husemann
>Release:        current as of 94/7/5
should be generic
System: NetBSD 0.9C NetBSD 0.9C (EUTERPE) #4: Sun Jun 26 16:19:24 MET DST 1994 i386

	According to Posix.2 "(>a >b)" should truncate both files "a" and "b"
	to zero length. Bash handles it that way. Our /bin/sh barfs with
	a syntax error.

	cd /tmp
	date > a
	df > b
	(>a >b)
	sorry, none yet.