Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!we13!ihnp4!harpo!seismo!hao!hplabs!sri-unix!priili@ARDC.ARPA From: priili@ARDC.ARPA Newsgroups: net.unix Subject: Re: An odd difference between "cat file" and "cat Date: Tue, 24-Apr-84 23:43:20 EDT Article-I.D.: sri-arpa.117 Posted: Tue Apr 24 23:43:20 1984 Date-Received: Tue, 1-May-84 07:07:50 EDT Lines: 12 From: "Peter A. Riili" (MISD-WAD) Due to the order of command line evaluation by the Shell, this difference exists for any applicable command: cmd file VS. cmd < file where "file" is given with one or more metacharacters: * ? [] This is because I/O redirection is performed BEFORE filename generation (i.e. metacharacter expansion). --Pete Riili, U.S. Army ARDC