[net.unix-wizards] Redirection of standard input

zben@umcp-cs.UUCP (09/19/83)

 One presumes that the statement:

   cat file1 file2 - | hisprog

is insufficient because he wants to communicate with hisprog conversationally.
What he wants is the UNIVAC 1100 @ADD statement, which has been available on
that system since about 1964.  The setup would be:

   @XQT HISPROG
   @ADD FILE1
   @ADD FILE2
   <conversational input>

This must be the only case in which a dinosaur system is actually more
flexible than Un*x...
 Ben (A high priest finally strikes back) Cranston

thomson@utcsrgv.UUCP (Brian Thomson) (09/21/83)

The Michigan Terminal System also has a built-in inclusion facility:
	
	$RUN MYPROG
	<type type type>
	$CONTINUE WITH <filename> RETURN
	<more type type type>
	$ENDFILE

It was called 'implicit concatenation', and could be disabled by the program
or on the command line (i.e.   $RUN MYPROG SCARDS=*SOURCE*@-IC).
Ah, the good old days when we used real OS's instead of these Berkeley toys.
-- 
			Brian Thomson,	    CSRG Univ. of Toronto
			{linus,ihnp4,uw-beaver,floyd,utzoo}!utcsrgv!thomson

addw@root44.UUCP (Alain Williams) (09/22/83)

What is wrong with:

cat file1 file2 ... /dev/tty | command

You can also put more files after the terminal input if you want.

	Alain Williams
	...|vax135|ukc!root44!addw