Date: Sat, 25 Nov 2006 23:18:00 +0000 From: Robin Becker <robin@reportlab.com> To: FreeBSD-Questions <freebsd-questions@freebsd.org> Subject: shell test for stdout=stderr Message-ID: <4568CF28.5050407@jessikat.plus.net>
next in thread | raw e-mail | index | archive | help
Is there a way for a shell script to test if 2> is the same as 1>? I want to put messages in both when they are connected to different files, but would like to avoid duplicating the message when they are the same. -- Robin Becker
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4568CF28.5050407>