Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!sri-unix!teknowledge-vaxc!mkhaw From: mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) Newsgroups: comp.unix.questions Subject: Re: \"+\" filename -> /bin/sh ! Message-ID: <18062@teknowledge-vaxc.ARPA> Date: Mon, 19-Oct-87 14:31:03 EDT Article-I.D.: teknowle.18062 Posted: Mon Oct 19 14:31:03 1987 Date-Received: Tue, 20-Oct-87 06:55:01 EDT References: <3351@sol.ARPA> Organization: Teknowledge, Inc., Palo Alto CA Lines: 34 in article <3351@sol.ARPA>, ken@cs.rochester.edu (Ken Yap) says: > > Since + is a non-binary, you are effectively doing /bin/sh +. Try > this: > > /bin/sh + > > and get an interactive sh. In fact any argument starting with + > will get you the same result. > > My guess is that sh discards arguments starting with + so effectively > you are doing just /bin/sh. This is on SunOS 3.4. > > Ken On Ultrix 1.2, from either /bin/csh or /bin/sh I get: +: +: cannot open On Sun OS 3.4: csh% /bin/sh + +: Command not found sh$ /bin/sh + sh$ On Sun OS 3.2, both csh and sh give you a /bin/sh subprocess. Mike Khaw -- internet: mkhaw@teknowledge-vaxc.arpa usenet: {uunet|sun|ucbvax|decwrl|uw-beaver}!mkhaw%teknowledge-vaxc.arpa USnail: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303