Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE's and grep



Thank you for the recent posts on 
regular expressions. This is interesting.

I am interested in finding words in a file 
like a dictionary (file.dict) that have a 
basic match to a pattern.
I just read this, so I will try this.
>>% egrep "^\(fee\|fie\)" junk.txt

Now, what I really want to do
is to search for general words
that have a pattern, but also to 
exclude a specific vowel or consonant.
I.E., to make as a part of the search pattern
that you call an RE, to look for given words
and make sure that the vowel "a" or the
vowel "e" is not a part of the word or string?

How could you find all words in a file that do not
have the letter: a, or e or i, and so on (???)
Or do not have the letters a, and e, and i in the same word?

thanks in advance

karina

 






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org