From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Utcke Newsgroups: gmane.emacs.help Subject: Re: Emacs Environment Variables Date: 28 Nov 2007 17:51:42 +0100 Organization: Deutsches Elektronen-Synchrotron (DESY) Message-ID: References: <7e3068b0-defa-4b37-9092-182b521f5f50@e23g2000prf.googlegroups.com> <3568102A-B060-4D1F-B7B5-7944386B07A9@Web.DE> <20071124124821.GA5409@ono.com> <87ir3qzw3m.fsf@lion.rapttech.com.au> <85fxyutxj3.fsf@lola.goethe.zz> <85k5o6sa3i.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196271687 12724 80.91.229.12 (28 Nov 2007 17:41:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2007 17:41:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 28 18:41:33 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IxQtz-0003MR-JV for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2007 18:40:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxQtk-0008Pe-6h for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2007 12:40:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-ham1.dfn.de!claire.desy.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: hasgksssven.desy.de User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:154222 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49650 Archived-At: David Kastrup writes: > Peter Dyballa writes: > > How often do you need to separate stdout and stderr in some shell? > > Huh? > > dd if=something of=something 2>>logfile | tar xf - So what? (dd if=something of=something | tar xf - ) >& logfile > Stuff like that is completely common for scripting. Or even just > > echo "This is an error." >&2 echo "This is an error." > /dev/stderr > You know, there is a reason that both stdout and stderr exist. Yes, and tcsh doesn't handle this too well. But just like Peter I'm bitten by this _much_ more rarely than by the absence of a "find last command starting with" functionality in Bash... Maybe our usage-patterns are different? Sven -- ___ _ _____ ___ Dr.-Ing. Sven Utcke ___ ___ _____ __ / __| |/ / __| __| phone: +49 40 8998-5317 | \| __/ __\ \ / / | (_ | ' <\__ \__ \ fax : +49 40 8994-5317 (NEW) | |) | _|\__ \\ V / \___|_|\_\___|___/ http://www.desy.de/~utcke (to come)|___/|___|___/ |_|