Subject: bin/4966: read/write redirection in /bin/sh is broken
To: None <gnats-bugs@gnats.netbsd.org>
From: Joel Reicher <joel@panacea.null.org>
List: netbsd-bugs
Date: 02/10/1998 17:34:17
>Number:         4966
>Category:       bin
>Synopsis:       read/write redirection in /bin/sh is broken
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb  9 22:35:00 1998
>Last-Modified:
>Originator:     Joel Reicher
>Organization:
	
>Release:        1.3
>Environment:
	
System: NetBSD panacea.null.org 1.3 NetBSD 1.3 (PANACEA) #1: Tue Feb 3 00:58:06 EST 1998 joel@panacea.null.org:/usr/src/sys/arch/i386/compile/PANACEA i386


>Description:
The /bin/sh redirection for read write on _one_ file descriptor is broken.
I don't know how to write the syntax without having send-pr interpret it as a
comment, but it's >< backwards, ie. the less than followed by the greater than.
:) This works under ksh, BTW.

>How-To-Repeat:
Try the redirect.

>Fix:
Use ksh.
>Audit-Trail:
>Unformatted: