[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep
From: |
Greg Tsoris |
Subject: |
grep |
Date: |
Wed, 26 Feb 2003 20:45:42 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 |
/root/grep-2.4/src/grep '^[A-Z]' /usr/share/dict/words
outputs a list of capitalized words in the dictionary file.
/root/grep-2.4.1/src/grep '^[A-Z]'
outputs all the capitalized 'A' words but the doesn't reject
uncapitalized b-z words. This applies to versions up to 2.5.1.
/root/grep-2.4.1/src/grep '^[[:upper:]]' /usr/share/dict/words
works correctly.
This is on Red Hat 8:
Linux localhost.localdomain 2.4.18-14 #1 Wed Sep 4 12:13:11 EDT 2002
i686 athlon i386 GNU/Linux
Greg