|
From: | Stephen Cox |
Subject: | grep: pipe symbol doesn't work |
Date: | Fri, 22 Feb 2002 11:23:02 +0000 |
I have a file myfile.txt that consists of a single line: ab If I say: >egrep 'a|b' myfile.txtthis should print out the line, but it doesn't. The pipe symbol for disjunction of regular expressions does not seem to work at all.
This example works on UNIX, for example on an ULTRIX box I use, and I think it works on Gnu egrep on Linux.
Regards, Stephen Cox
[Prev in Thread] | Current Thread | [Next in Thread] |