Date: Sun, 16 Dec 2007 20:57:23 -0500 From: "Michael P. Soulier" <msoulier@digitaltorque.ca> To: Chuck Robey <chuckr@chuckr.org> Cc: freebsd-questions@freebsd.org Subject: Re: Apparently, csh programming is considered harmful. Message-ID: <20071217015723.GE5874@piglet.digitaltorque.ca> In-Reply-To: <4765C4A5.4020906@chuckr.org> References: <20071214010542.GA19553@demeter.hydra> <20071214022529.GA2571@kobe.laptop> <4761F17F.9030908@chuckr.org> <20071214033333.GA3455@kobe.laptop> <20071216232830.GD5874@piglet.digitaltorque.ca> <4765C4A5.4020906@chuckr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--BQPnanjtCNWHyqYD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 16/12/07 Chuck Robey said: > There;s one item that is much more easily done in csh/tcsh than in the=20 > sh based ones .... that's redirecting the stderr along with the stdout.= =20 > with tcsh, when I do a make, I commonly do a: >=20 > make |& tee makeout >=20 > which causes both the stdout and stderr files to be redirected to the=20 > "makeout" make listing file. I;'ve never figured out any reasonably=20 > simple way to do that in any sh-like shell. Is there any simble way=20 > that you know of? Yup.=20 make 2>&1 | tee makeout Now show me a simple way to redirect them to different files in csh. foo 1>stdout.log 2>stderr.log Mike --=20 Michael P. Soulier <msoulier@digitaltorque.ca> "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --BQPnanjtCNWHyqYD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHZdeDKGqCc1vIvggRAiB0AJsEAaGf9irRUM42iBSFoqfFjrJ8AwCgkuR0 CkCN8KT7M+6d7M2TSeBi5XM= =1Jml -----END PGP SIGNATURE----- --BQPnanjtCNWHyqYD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071217015723.GE5874>