a question on input redirection

mark at umcp-cs.UUCP mark at umcp-cs.UUCP
Tue Sep 20 09:19:51 AEST 1983


	My major concern with the use of
	'cat' is the very real possibility of leaving the cat process
	running if the program terminates on it's own (that is, not due
	to an end of file from the termination of cat).  This can result
	in strange occurrences where some of your input is taken by the
	cat process and shipped to nowhere while the rest is taken by the
	shell.

Not so.  When the program terminates the 'cat' gets a SIGPIPE
signal which kills it off.

-- 
spoken:	mark weiser
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!mark
CSNet:	mark at umcp-cs
ARPA:	mark.umcp-cs at UDel-Relay



More information about the Comp.unix.wizards mailing list