|
From: | Chet Ramey |
Subject: | Re: CDPATH reports to stdout and even non-interactively |
Date: | Fri, 15 Aug 2008 23:59:54 -0400 |
User-agent: | Thunderbird 2.0.0.16 (Macintosh/20080707) |
Geoff Kuenning wrote:
Actually, the Posix standard is ambiguous. Although it (foolishly) requires reporting to stdout rather than stderr, it does not mention whether this behavior is required for both interactive and non-interactive shells.
It's not, really. Unless otherwise specified (and the standard is pretty good about saying "interactive shell" when it means an interactive shell), the specified behavior applies to all shell invocations. You might not agree with it, but it's not ambiguous. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
[Prev in Thread] | Current Thread | [Next in Thread] |