Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!adm!jl42+@andrew.cmu.EDU From: jl42+@andrew.cmu.EDU (Jay Mathew Libove) Newsgroups: comp.unix.questions Subject: re: \"+\" filename -> /bin/sh ! Message-ID: <9844@brl-adm.ARPA> Date: Sun, 18-Oct-87 23:30:36 EDT Article-I.D.: brl-adm.9844 Posted: Sun Oct 18 23:30:36 1987 Date-Received: Mon, 19-Oct-87 03:30:47 EDT Sender: news@brl-adm.ARPA Lines: 41 I tried this as suggested... *From: Mike Khaw *Subject: Re: Trick question *Date: 17 Oct 87 18:38:05 GMT *Posted: Sat Oct 17 11:38:05 1987 *To: info-unix@brl-sem.arpa * *+---------- *|> % cat > + *|> date *|> ^D *|> % chmod +x + *|> % + *|> $ -- entered Bourne-shell *| *| It works for me. It prints out the date-time. *+---------- * *I also get the date printed. Maybe "which +" will show that somewhere in *your PATH, "+" is a link to /bin/sh. * *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 ... and I end up in /bin/sh also - I checked; there is no file "+" anywhere on my file system, but if there is a file (regardless of contents!) anywhere on the path, typing "+" does produce a /bin/sh ! Can anyone explain this, please? This is on SCO Xenix System V r 2 version 2.2.1; Approximately SysVr2, with Berkeley-isms (like having a csh). Jay Libove Arpa: jl42@andrew.cmu.edu Bitnet: jl42@drycas.bitnet UUCP: ...!{uunet, ucbvax, harvard}!andrew.cmu.edu!jl42 UUCP: ...!{pitt | bellcore} !darth!libove!libove Disclaimer: I don't tell my employers what I think...