bug-bash
[Top][All Lists]
Advanced

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

Re: Redirection - Duplicating File Descriptors


From: Paul Jarc
Subject: Re: Redirection - Duplicating File Descriptors
Date: Sun, 05 Aug 2001 23:49:40 -0400
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7

"Gingko" <address@hidden> writes:
> I would be curious to see any example of a useful use of this
> duplication of descriptors ?

"command1 2>&1 | command2" sends both the standard output and standard
error of command1 to command2's standard input.  "command > file 2>&1"
sends both to a file.  "&>" doesn't work with some other sh
derivatives.


paul



reply via email to

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