[Top][All Lists]

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

Re: test -r /dev/stdin fails in configure

From: Chet Ramey
Subject: Re: test -r /dev/stdin fails in configure
Date: Mon, 8 Oct 2001 13:03:55 -0400

> Fix:
>       I see no reason for testing with -r. A simple test -e should be
>       sufficient.

Not portable.  -f can't be used either, because it tests whether or not
the file is a regular file.  -s obviously won't work.  -r is the best

``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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