Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utcsrgv.UUCP Path: utzoo!utcsrgv!dave From: dave@utcsrgv.UUCP (Dave Sherman) Newsgroups: net.unix Subject: Any difference between "cat file" and "cat Date: Tue, 3-Apr-84 11:27:14 EST Article-I.D.: utcsrgv.3723 Posted: Tue Apr 3 11:27:14 1984 Date-Received: Tue, 3-Apr-84 12:28:38 EST Organization: The Law Society of Upper Canada, Toronto Lines: 26 A silly question from someone who like to squeeze every cycle possible out of an 11/23: Is there any reason to, or not to, have a file opened by the shell before exec'ing a utility? For example: cat file cat < file dd if=x of=y dd < x > y lpr junk lpr < junk I realize that the number of keystrokes may differ, and occasionally the utility will behave differently when it knows the file name (e.g., pr(1) will list the name if it knows it). Are there any circumstances in which the shell would be faster at opening the file? Are there any other consideration? [I know, I know, I've just wasted more time wondering about this than all of UNIXdom will ever save by using one over the other...] Dave Sherman Toronto -- {allegra,cornell,decvax,ihnp4,linus,utzoo}!utcsrgv!dave