bug-bash
[Top][All Lists]
Advanced

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

Re: a patch to fix sh_stat on SunOS


From: Chet Ramey
Subject: Re: a patch to fix sh_stat on SunOS
Date: Wed, 10 Aug 2016 10:30:12 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 8/10/16 10:19 AM, Dmitry Goncharov wrote:
> 
> 
> On Wed, Aug 10, 2016 at 9:56 AM, Chet Ramey <chet.ramey@case.edu
> <mailto:chet.ramey@case.edu>> wrote:
> 
>> So what you're saying is that you don't like how SunOS implements /dev/fd
> 
>> and you'd like bash to override the native implementation semantics.
> 
> i don't care how sunos implements /dev/fd. i care that bash fails on sunos.
> bash does not do what the following quote from the bash man page says it
> does "If any file argument to one of the primaries is of the form
> /dev/fd/n, then file descriptor n is checked.".

It seems like a documentation error.  Bash doesn't second-guess the OS's
/dev/fd implementation if it's there.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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