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

Suppose you execute a command using exec, what will be the status of your current process in the shell?

0 Answers  


Explain about debugging?

0 Answers  


Tell something about the super block in shell scripting?

0 Answers  


How shell works?

1 Answers  


how to get part of string variable with echo command only?

0 Answers  






Please anyone suggest atleast 2 good training institutes in Hyderabad, INDIA where i can learn unix shell scripting.

1 Answers  


What is the purpose of scripting?

0 Answers  


What is the syntax of "expr" command?

2 Answers  


what do u mean by $#,$* in unix programming?

5 Answers   Convergys, TCS,


What exactly is a shell?

0 Answers  


How to check if the previous command was run successfully?

0 Answers  


Explain about return code?

0 Answers  


Categories