Subject: bin/2210: sh syntax problem with &&
To: None <gnats-bugs@NetBSD.ORG>
From: Phil Nelson <phil@steelhead.cs.wwu.edu>
List: netbsd-bugs
Date: 03/12/1996 15:32:44
>Number:         2210
>Category:       bin
>Synopsis:       sh syntax problem with &&
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 12 18:35:00 1996
>Last-Modified:
>Originator:     Phil Nelson
>Organization:
Phil Nelson
>Release:        NetBSD-current March 11, 96
>Environment:
System: NetBSD steelhead 1.1A NetBSD 1.1A (STEELHEAD) #2: Sun Mar 10 14:08:01 PST 1996 phil@steelhead:/usr/src/sys/arch/pc532/compile/STEELHEAD pc532


>Description:
	sh reports a syntax error on a construct that should not have
	an error.
>How-To-Repeat:
	> junk	(is a legal command)
	echo y  (is a legal command)

	> junk && echo y    (gives a syntax error at the && )
>Fix:
	No known fix.

>Audit-Trail:
>Unformatted: