From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Emacs Environment Variables Date: Wed, 28 Nov 2007 19:06:11 +0100 Organization: Organization?!? Message-ID: <85mysy8cto.fsf@lola.goethe.zz> 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 1196275273 26345 80.91.229.12 (28 Nov 2007 18:41:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2007 18:41:13 +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 19:41:20 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 1IxRqO-0006Jq-4F for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2007 19:41:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxRq8-0005dD-JC for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2007 13:40:52 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!transit.news.xs4all.nl!xs4all!border2.nntp.ams.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!npeer-ng1.kpn.DE!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:Ms2fAzDjEZncW10dD6ignwLaDlE= Original-Lines: 45 Original-NNTP-Posting-Date: 28 Nov 2007 19:05:51 CET Original-NNTP-Posting-Host: e8b0be90.newsspool3.arcor-online.net Original-X-Trace: DXC=\c8OT>EHjRh^Y=RbYBPl4`McF=Q^Z^V3h4Fo<]lROoRa4nDHegD_]Re`563CiVFWZnCV`H8_`hhQd^9QSCVg3dOfOIC5DBZVJ9kGj>W; [7Xi6b95J_dJf@kKg Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:154226 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:49654 Archived-At: Sven Utcke writes: > 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 Depends on tar not outputting anything... >> Stuff like that is completely common for scripting. Or even just >> >> echo "This is an error." >&2 > > echo "This is an error." > /dev/stderr Unportable even between tcsh and tcsh since it relies on the existence of a non-standard device. >> 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... C-r works pretty well here. > Maybe our usage-patterns are different? More likely our understanding of the context. I tell people that csh sucks for scripting, and they tell me that I am wrong since they don't care about scripting. Somewhat surreal. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum