in reply to Confusing syntax error with grep
I believe 'and' actually has a lower operator precedence than the comma operator, so your first expression is parsing as
Try replacing 'and' with '&&' and see if that helps.( expression ) and ( expression ) and ( expression, @files )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Confusing syntax error with grep
by ikegami (Patriarch) on Aug 12, 2004 at 15:36 UTC | |
by gumpu (Friar) on Aug 12, 2004 at 16:07 UTC | |
by ikegami (Patriarch) on Aug 12, 2004 at 16:16 UTC |