csh and I/O redirection

carl carl at bdaemon.UUCP
Sat Jul 6 13:21:59 AEST 1985


> put these four lines in a file, say cshtest :
> 
> 	#! /bin/csh -f
> 	cat << END | ( sh & )
> 	echo hi there
> 	END
> 
> ( the intent is to send some commands to sh to be executed in the background,
> without csh printing the job number of the sh. )

The answer is simple: Use the Bourne Shell.

Carl Brandauer
daemon associates, Inc.
1760 Sunset Boulevard
Boulder, CO 80302
303-442-1731
{allegra|amd|attunix|cbosgd|ucbvax|ut-sally}!nbires!bdaemon!carl



More information about the Comp.bugs.4bsd.ucb-fixes mailing list