Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!bellcore!decvax!gsg!lew From: lew@gsg.UUCP (Paul Lew) Newsgroups: comp.unix.wizards Subject: Re: a.out 1> file.out 2> file.err in csh? Message-ID: <271@gsg.UUCP> Date: 26 Oct 88 17:27:12 GMT References: <4470006@hpindda.HP.COM> Reply-To: lew@gsg.UUCP (Paul Lew) Followup-To: comp.unix.wizards Organization: General Systems Group, Salem, NH Lines: 10 how about: $ ( a.out > file.out ) >& file.err Since csh |& and >& will put stdout and stderr together, the stdout from subshell ( a.out > file.out ) will be empty and stderr will be redirected to file.err. -- Paul Lew {oliveb,harvard,decvax}!gsg!lew (UUCP) General Systems Group, 5 Manor Parkway, Salem, NH 03079 (603) 893-1000