[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug or undocumented feature
From: |
Jan Schampera |
Subject: |
Re: bug or undocumented feature |
Date: |
Sat, 22 Aug 2009 20:17:17 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090706) |
Mitch Frazier wrote:
> The close appears to be a special case of (from the man page):
>
>> Similarly, the redirection operator
>>
>> [n]>&digit-
>>
>> moves the file descriptor digit to file descriptor n,
>> or the standard output (file descriptor 1) if n is not
>> specified.
>
> Not sure if that's a bug or a feature but it should be a feature and
> probably should be documented.
It's not a bug. It's not undocumented per se, it's in the description of
the corresponding input duplication mechanism. It applies to both
duplication methods.
Jan