Path: utzoo!attcan!uunet!crdgw1!montnaro From: montnaro@spyder.crd.ge.com (Skip Montanaro) Newsgroups: comp.sys.hp Subject: Bug in HP's /bin/sh? Message-ID: Date: 8 Feb 90 19:29:52 GMT Sender: news@crdgw1.crd.ge.com Reply-To: montanaro@crdgw1.ge.com (Skip Montanaro) Organization: GE Corporate Research & Development, Schenectady, NY Lines: 71 The following short Bourne shell script works fine under SunOS 4.0.3 and Stellix 2.0, but fails under HPUX 6.5. ---------- #!/bin/sh dbg () { echo "$@" 1>&2 } catfile () { dbg \>scanlog cat $@ dbg \scanlog #!/bin/sh dbg () { echo "$@" 1>&2 } catfile () { dbg \>scanlog cat $@ dbg \scanlog cat: cannot open >scanlog scanlog set $argv cat $@ dbg \