Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/17/84; site bdaemon.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!hao!nbires!bdaemon!carl
From: carl@bdaemon.UUCP (carl)
Newsgroups: net.unix-wizards,net.bugs.4bsd
Subject: Re: csh and I/O redirection
Message-ID: <300@bdaemon.UUCP>
Date: Fri, 5-Jul-85 23:21:59 EDT
Article-I.D.: bdaemon.300
Posted: Fri Jul  5 23:21:59 1985
Date-Received: Mon, 8-Jul-85 05:32:08 EDT
References: <922@security.UUCP>
Organization: Daemon Assoc., Boulder, CO
Lines: 18
Xref: watmath net.unix-wizards:13744 net.bugs.4bsd:1590

> 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