On 8/10/16 10:19 AM, Dmitry Goncharov wrote: > > > On Wed, Aug 10, 2016 at 9:56 AM, Chet Ramey <chet.ra...@case.edu > <mailto:chet.ra...@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 c...@case.edu http://cnswww.cns.cwru.edu/~chet/