Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!adm!milgr%brandeis.csnet@RELAY.CS.NET From: milgr%brandeis.csnet@RELAY.CS.NET (Marc Milgram) Newsgroups: comp.unix.questions Subject: Re: C-shell idiosyncracy ?? Message-ID: <10349@brl-adm.ARPA> Date: Mon, 16-Nov-87 04:23:19 EST Article-I.D.: brl-adm.10349 Posted: Mon Nov 16 04:23:19 1987 Date-Received: Tue, 17-Nov-87 04:00:33 EST Sender: news@brl-adm.ARPA Lines: 25 Subject: Re: C-shell idiosyncracy ?? > It seems that I can redirect the output of a C-shell command > to a file, but I cannot pipe it to some other command. Logically, > this should not have happened. Anyway, the following happens > for C-shell as well as for korn-shell. > > {samsun} jobs > [1] + Stopped emacs foo > {samsun} jobs > bar In this case, csh redirects its own output, then finds what jobs it is running. But: > {samsun} cat bar > [1] + Stopped emacs foo > {samsun} jobs | more > {samsun} > In this case, csh finds there is a pipe (|) in the command, so it spawns off a csh which finds that it is not running any subprocessies. -Marc Milgram milgr@brandeis.edu.cs.net