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
Sorting prob Vikas Sood Shell Programming and Scripting 7 08-04-2006 12:13 PM
DNS prob - dig process unknown2205 Shell Programming and Scripting 1 03-03-2006 08:56 AM
prob with ssh abzi Shell Programming and Scripting 1 01-24-2006 12:43 AM
TAR prob - Guru's please help budrito UNIX for Advanced & Expert Users 3 01-20-2005 11:15 PM
prob dreams5617 Shell Programming and Scripting 1 12-05-2004 12:31 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 05-23-2005
Registered User
 

Join Date: May 2005
Posts: 69
grep prob

hi,
how can i saerch for foll pattern
the line contains many entries:

xxx xxxx ddd ffff gggg 30%
rr eeee eeee rrrr rrrr 100%
rr eeee eeee rrrr rrrr 43%

how can i display lines having size greater than 40%?what pattern shud i use in grep?

thanks!

regards
vivek.s
Reply With Quote
Forum Sponsor
  #2  
Old 05-23-2005
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 3,003
Quote:
Originally Posted by vivekshankar
hi,
how can i saerch for foll pattern
the line contains many entries:

xxx xxxx ddd ffff gggg 30%
rr eeee eeee rrrr rrrr 100%
rr eeee eeee rrrr rrrr 43%

how can i display lines having size greater than 40%?what pattern shud i use in grep?

thanks!

regards
vivek.s
try experimenting with awk/nawk.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:01 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 Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0