Matthias Klose wrote:

> 
> The exit status should be 127, not 1.  That would allow
>   bash -c '. bogus; diff file other-file'
> to be distinguished from
>   bash -c '. /dev/null; diff file other-file'

There's no good reason to change this.  If you want to check whether
or not a file exists before trying to source it, use test -e or
test -f.  If you want the shell to abort if the file argument can't
be read, use posix mode.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to