bug-grep
[Top][All Lists]
Advanced

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

Re: I cant get my head around this...


From: mykg4orce
Subject: Re: I cant get my head around this...
Date: Tue, 7 Nov 2006 15:35:18 -0800 (PST)

thank you sooo much!




Jian Wang-4 wrote:
> 
> On 11/6/06, mykg4orce <address@hidden> wrote:
>> 1)List all the lines in the "f3.txt" file that contain words which
>> contain
>> exactly one vowel.
> $ grep -E '\<[^aeiou]*[aeiou][^aeiou]*\>' f3.txt
> 
>> 2)List all the lines in the "f3.txt" file that contain words which begin
>> and
>> end with a consonant but otherwise consist only of vowels.
> $ grep -E '\<[^aeiou][aeiou]+[^aeiou]\>' f3.txt
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/I-cant-get-my-head-around-this...-tf2579370.html#a7229775
Sent from the Gnu - Grep mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]