[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set -x output of test operator is irretating
From: |
Chet Ramey |
Subject: |
Re: set -x output of test operator is irretating |
Date: |
Fri, 01 Aug 2008 11:37:01 -0400 |
User-agent: |
Thunderbird 2.0.0.16 (Macintosh/20080707) |
Bob Proulx wrote:
Of course that makes sense for the "==" and "!=" cases. But is that
true even for the "=" case? For the "=" case I thought it was
"STRING1 = STRING2" and not "STRING = PATTERN".
`=' and `==' are always equivalent. When used in the test/[ command,
they match strings. In the [[ conditional command, they match patterns.
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/
- Re: set -x output of test operator is irretating,
Chet Ramey <=