Subject: sh weirdness
To: MacBSD Mailing List <port-mac68k@NetBSD.ORG>
From: David Bushong <dbushong@volga.EECS.Berkeley.EDU>
List: port-mac68k
Date: 09/09/1996 11:11:40
Hi!  Ok, I was working with the Stylewriter I driver Monroe Williams 
wrote, and was tinkering with an "sh" shell script with the following, 
totally valid line in it:

/usr/local/sbin/lpstyl 1<> /dev/tty01

When I do an "sh -n" (don't run, just check), on "script", I get:
script: 5: Syntax error: redirection unexpected

Any other system I've done a syntax check w/, it works fine.  The netbsd 
sh manpage I have claim it works...  I even downloaded a newer 1.2ish sh 
binary (I think they're identical, though), and the same thing 
happened..  any ideas?  (Could someone try checking that line on their 
system and see what happens?)

tia,
David Bushong

    _/_/_/_/  _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
     _/   _/ _/   _/ _/   _/  David P. Bushong -- (510) 845-3271         _/
    _/   _/ _/_/_/  _/_/_/   dbushong@cory.eecs.berkeley.edu            _/
   _/   _/ _/      _/   _/  http://www-inst.eecs.berkeley.edu/~dbushong_/
_/_/_/_/_/_/      _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/