Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!uunet!mcsun!hp4nl!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.questions Subject: Re: Quiet background proc. in CSH Keywords: quiet, "&", c-shell Message-ID: <4567@ski.cs.vu.nl> Date: 17 Nov 89 12:17:35 GMT Article-I.D.: ski.4567 References: <4491@blake.acs.washington.edu> Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatica, Amsterdam Lines: 42 In article <4491@blake.acs.washington.edu> wiml@blake.acs.washington.edu (William Lewis) writes: \ \ I've written a shell script (in C shell; it's a .login script) that \invokes a couple of background pipes. The pipes work fine but when they \finish, they print a \ \ [1] Done ( blah blah very long pipe here ... ) \ \ message. Is there any way to get rid of this message? Preferably a way \that would also get rid of the \ \ [1] 5628 \ \ message as well, [...] You could put the pipelines in a separate script: % cat .login ... background_script < /dev/null >& /dev/null ... % cat background_script #!/bin/csh -f pipeline_1 & pipeline_2 & ... If your `background_script' could be written just as easily in Bourne shell language: % cat background_script #!/bin/sh ( pipeline_1 & pipeline_2 & ... ) & ...which gives control back to .login faster. -- [...] like a roving gang. "Ah, here's a NEW almost-empty group to post train schedules and core dumps in!" (Joe Buck) | maart@cs.vu.nl, mcsun!botter!maart