Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site astrovax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!harpo!ihnp4!astrovax!wls From: wls@astrovax.UUCP (William L. Sebok) Newsgroups: net.unix Subject: Re: An odd difference between "cat file" and "cat Date: Wed, 18-Apr-84 14:57:03 EST Article-I.D.: astrovax.296 Posted: Wed Apr 18 14:57:03 1984 Date-Received: Thu, 19-Apr-84 04:28:30 EST References: <179@drutx.UUCP> <1872@rlgvax.UUCP> Organization: Princeton Univ. Astrophysics Lines: 18 >> (Note that the shell does not expand command names, either. How >> would you like to see "ca* /etc/passwd" handled?) > Well, "ca*" would only look in the current directory, but > "/bin/ca* /etc/passwd" might actually work if the first file in "/bin" > beginning with "ca" happened to be "/bin/cat". In fact, it *does* work > that way, at least with the System III Bourne shell - I tried > > /bin/ca* /etc/passwd > > and, by golly, our password file came dribbling out on my terminal! > Guy Harris Indeed I've just tried with the 4.2 BSD c-shell and the password file also came dribbling out. -- Bill Sebok Princeton University, Astrophysics {allegra,akgua,burl,cbosgd,decvax,ihnp4,kpno,princeton,vax135}!astrovax!wls