how to search for vowels a,e,i,o,u appearing in the same sequence in a file

Answers were Sorted based on User's Feedback



how to search for vowels a,e,i,o,u appearing in the same sequence in a file..

Answer / karthik.g.r

grep -w "a[^aiou]*e[^aeou]*i[^aeiu]*o[^aeio]*u" filename

Is This Answer Correct ?    19 Yes 0 No

how to search for vowels a,e,i,o,u appearing in the same sequence in a file..

Answer / venkita krishnan

grep -i *[a,e,i,o,u]*

Is This Answer Correct ?    4 Yes 3 No

how to search for vowels a,e,i,o,u appearing in the same sequence in a file..

Answer / narasimha

grep 'a+e+i+o+u+' file name

Is This Answer Correct ?    1 Yes 1 No

how to search for vowels a,e,i,o,u appearing in the same sequence in a file..

Answer / michalis

grep 'c[aeiou]*t' somewords.txt

Is This Answer Correct ?    4 Yes 7 No

Post New Answer

More Shell Script Interview Questions

Is SSO and SSL support BOXI?

2 Answers  


What is the syntax of "expr" command?

2 Answers  


What are different types of shell?

1 Answers  


Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.

1 Answers  


What is an sh file?

1 Answers  


Hi, I want to practise Unix korn shell scripting which i learnt 2 yr bfr. plz suggest software i can use to practise.

1 Answers  


what does "kill -9" and "kill -1" do

2 Answers   Amazon,


What is Path variable?What is its use?

1 Answers  


How can I send a mail with a compressed file as an attachment?

1 Answers  


what is the difference between sh & bash shell?

1 Answers  


What is bash command used for?

1 Answers  


What is a program shell?

1 Answers  


Categories