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 [[
Chet Ramey wrote:
Toralf Förster wrote:
I'm wondering why in the example (see below) the right side is
prefixed with a '\' wheras the left side is unchanged.
...
[EMAIL PROTECTED] ~ $ echo 1 2 3 4 | while read a b c d; do [[
$a =
$b || $a = $c || $a = $d
Bob Proulx wrote:
Chet Ramey wrote:
Toralf Förster wrote:
I'm wondering why in the example (see below) the right side is
prefixed with a '\' wheras the left side is unchanged.
...
[EMAIL PROTECTED] ~ $ echo 1 2 3 4 | while read a b c d; do [[ $a =
$b || $a = $c ||
Jan Schampera wrote:
= and == should make have difference in behaviour.
should not show differences *suh*
Sorry
J.