On 9/18/14, 4:29 AM, Aharon Robbins wrote:
>> Sure. It's a choice between internal and external consistency. If I
>> emulated /dev/std* (and maybe /dev/fd/*) internally in bash, bash would
>> behave the same everywhere, but, as Andreas said, I'd get questions
>> about why `foo -o /dev/stdout' and `foo >/dev/stdout' behaved differently.
>
> Yes, I live with the "damned-if-you-do, damned-if-you-don't" all the
> time too. It sounds like you've already decided which way you want
> things to be. :-)
Yes, on this one. There are others; recall the `discussion' about
whether bash should choose between /dev/fd or FIFOs for process
substitution at runtime.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/