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

What is the crontab?

0 Answers  


What does the sh command do?

0 Answers  


What is the basic difference you find between a shell script and perl?

3 Answers   Yahoo,


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 is bash shell command?

0 Answers  






how can you execute the shell scripts?

4 Answers  


defination of mapfile in winrunner?

0 Answers  


What is subshell?

0 Answers  


What is the command to find out users on the system?

0 Answers  


What are the advantages of shell scripting?

0 Answers  


How to redirect both standard output and standard error to the same location?

0 Answers  


What will happen to my current process when I execute a command using exec?

0 Answers  


Categories