Path: utzoo!attcan!uunet!samsung!caesar.cs.montana.edu!ogccse!blake!wiml From: wiml@blake.acs.washington.edu (William Lewis) Newsgroups: comp.unix.questions Subject: Re: Quiet background proc. in CSH Summary: The Answer (summary) Keywords: quiet, "&", c-shell Message-ID: <4502@blake.acs.washington.edu> Date: 17 Nov 89 20:14:54 GMT References: <4491@blake.acs.washington.edu> <4567@ski.cs.vu.nl> Reply-To: wiml@blake.acs.washington.edu (William Lewis) Organization: University of Washington, Seattle Lines: 20 Last night I poasted a question, asking how to quietly invoke background processes in a CSH script. This morning I already had three answers (two the same), so I'm posting this to hopefully stave off a flood. The two answers were: 1. Put the background stuff in a separate script, and redirect stdout from the shell. 2. (better, IMHO) Use parentheses to put the pipeline in a subshell (?), and put the '&' INSIDE the parentheses. Works like a charm! Ie, ( cat | awk | grep & ) instead of ( cat | awk | grep ) &. Thanks for all the fast responses... --- phelliax -- wiml@blake.acs.washington.edu (206)526-5885 Seattle, Washington