[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test -f with no args is true
From: |
Chet Ramey |
Subject: |
Re: test -f with no args is true |
Date: |
Sat, 15 Apr 2006 23:15:05 -0400 |
User-agent: |
Thunderbird 1.5 (Macintosh/20051201) |
Bob Proulx wrote:
> As an alternative, you could use the [[ ... ]] syntax. That is the
> newer syntax, covered in POSIX too so should be portable to POSIX
> systems, but is always a built-in to the shell.
POSIX declined to standardize [[...]]. It just happens to appear in
`posix shells' descended from ksh or bash.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
Re: test -f with no args is true, Paul Jarc, 2006/04/15