[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep
From: |
Daqing Li |
Subject: |
grep |
Date: |
Tue, 21 Aug 2001 17:09:16 -0500 |
The GNU grep 2.4.2 which is distributed by grep-2.4.2-8mdk has a bug
when I executing the following command on a one line file "bugtest":
$grep '\<[A-Z][a-z]\{6\}:' bugtest
$Jon DeLoach:408-253-3122:123 Park St., San Jose, CA 04086:7/25/53:85100
$cat bugtest
$Jon DeLoach:408-253-3122:123 Park St., San Jose, CA 04086:7/25/53:85100
It is clear that the line should not be matched as there is an upper
case letter L in "DeLoach".
I run the same command on a SunOS 5.8 system. There is not such a error.