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

When should shell programming/scripting not be used?

0 Answers  


Write a command sequence to find all the files modified in less than 2 days and print the record count of each.

0 Answers  


What is the syntax of while loop in shell scripting?

0 Answers  


What is the use of echo in shell script?

0 Answers  


whta is the use of "exec" command?

1 Answers  






What is $1 in shell scripting?

0 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 $1 mean in bash?

0 Answers  


What is a program shell?

0 Answers  


write a shell program to check wheather a given string is pallindrome or not?

4 Answers  


How do we delete all blank lines in a file?

0 Answers  


How would you compare the strings in a shell script?

0 Answers  


Categories