[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Grep 2.5c: matching multiple patterns broken
From: |
Andreas Schwab |
Subject: |
Grep 2.5c: matching multiple patterns broken |
Date: |
07 Mar 2001 17:19:16 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.100 |
If one of the patterns specified by -e matches, none of the other patterns
are even tried:
$ echo -e 'a\nb\na' | grep -e a -e b
a
a
$ echo -e 'a\nb' | grep -e a -e b
a
b
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
address@hidden
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
- Grep 2.5c: matching multiple patterns broken,
Andreas Schwab <=