🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1203

Re: error and out redirection

#1203
From: Michael Meissner
Date: Thu, 20 Sep 1990 20:58
18 lines
1174 bytes
In article <4444@orchid12.UUCP> ellis@motcid.UUCP (John T Ellis)
writes:

| For CSH users, you can do the following:
| 
| % (command > std.out) &> std.err
| 
| Why this works is that you FIRST execute () with the standard output going
| to std.out, BUT any errors generated by () will be MERGED with standard
| output to std.err.  Since you already sent standard output somewhere else,
| the merge results in only the errors!  Pretty slick eh?!

The word pathetic comes to mind before slick.
--
Michael Meissner	email: meissner@osf.org		phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142

Do apple growers tell their kids money doesn't grow on bushes?
Technical Details
Message-ID: <MEISSNER.90Sep20165834@osf.osf.org>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ogicse!mintaka!snorkelwacker!paperboy!meissner
References: <2682@crdos1.crd.ge.COM> <4444@orchid12.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ogicse!mintaka!snorkelwacker!paperboy!meissner
From: meissner@osf.org (Michael Meissner)
Newsgroups: comp.unix.shell
Subject: Re: error and out redirection
Message-ID: <MEISSNER.90Sep20165834@osf.osf.org>
Date: 20 Sep 90 20:58:34 GMT
References: <2682@crdos1.crd.ge.COM> <4444@orchid12.UUCP>
Sender: news@OSF.ORG
Organization: Open Software Foundation
Lines: 18
In-reply-to: ellis@motcid.UUCP's message of 20 Sep 90 17:38:53 GMT