Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!boulder!sunybcs!rutgers!pbox!okstate!gregg From: gregg@a.cs.okstate.edu (Gregg Wonderly) Newsgroups: comp.unix.questions Subject: Re: \"+\" filename -> /bin/sh ! Message-ID: <2704@okstate.UUCP> Date: Mon, 19-Oct-87 14:46:08 EDT Article-I.D.: okstate.2704 Posted: Mon Oct 19 14:46:08 1987 Date-Received: Thu, 22-Oct-87 02:08:34 EDT References: <3351@sol.ARPA> Organization: Oklahoma State Univ., Stillwater Lines: 29 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. I tried /bin/sh + + and /bin/csh + + and got the date command's output from both. Looks to me like a parsing error in CSH and SH. ----- Gregg Wonderly Department of Computing and Information Sciences Oklahoma State University UUCP: {cbosgd, ihnp4, rutgers}!okstate!gregg ARPA: gregg@A.CS.OKSTATE.EDU