The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to grep for a word and display only the word ananthmm UNIX for Dummies Questions & Answers 6 05-29-2008 05:00 AM
Display most top 10 occurring words along with number of ocurences of word inthe text smacherla Shell Programming and Scripting 2 05-23-2008 03:12 PM
find a word in a file, and change a word beneath it ?? vikas027 Shell Programming and Scripting 2 02-13-2008 12:23 PM
grep a word and display its column Orbix UNIX for Dummies Questions & Answers 1 12-24-2007 04:32 PM
Can a shell script pull the first word (or nth word) off each line of a text file? tricky Shell Programming and Scripting 5 08-17-2006 03:29 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-09-2007
Registered User
 

Join Date: Sep 2007
Posts: 14
Stumble this Post!
Red face to display the word containing all of aeiou in a file.

i have a file containing words like

Animal
education
asegdfiwqoqwewqeu
etc...

i need to display the words
education
asegdfiwqoqwewqeu alone...

ie a word containing all the vowels in it....
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-09-2007
radoulov's Avatar
addict
 

Join Date: Jan 2007
Location: Milan, Italy/Varna, Bulgaria
Posts: 1,536
Stumble this Post!
Code:
awk '/a/&&/e/&&/i/&&/o/&&/u/' file
.. you can add "Y"
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0