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
Regular Expression Problem chris1234 UNIX for Dummies Questions & Answers 12 04-02-2008 04:44 AM
awk and regular expression maskot Shell Programming and Scripting 4 05-22-2007 04:22 AM
Regular Expression problem djkane Shell Programming and Scripting 5 06-21-2006 07:07 AM
Complex Pipeline/Redirection/Regular Expression problem netmaster UNIX for Dummies Questions & Answers 1 11-28-2005 08:55 PM
Regular Expression + Aritmetical Expression Z0mby Shell Programming and Scripting 2 05-21-2002 07:59 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-07-2005
Registered User
 

Join Date: Nov 2005
Posts: 6
Regular Expression Problem

Display all of the lines in a file that contain "Raspberry" followed later
in the line by the letter "a"

I tried: grep Raspberry*a filename

that didn't work

Anyone know a solution?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-07-2005
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Almost...

grep "Raspberry.*a" somefile

Cheers
ZB
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:54 AM.


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

Content Relevant URLs by vBSEO 3.2.0