help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Environment Variables


From: Sven Utcke
Subject: Re: Emacs Environment Variables
Date: 28 Nov 2007 17:51:42 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

David Kastrup <dak@gnu.org> writes:

> Peter Dyballa <Peter_Dyballa@Web.DE> 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)|___/|___|___/ |_|


reply via email to

[Prev in Thread] Current Thread [Next in Thread]