On 11/6/06, mykg4orce <[EMAIL PROTECTED]> 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


Reply via email to