Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions


Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #8  
Old 06-26-2012
Mead Rotor
 
Join Date: Aug 2005
Location: Saskatchewan
Posts: 16,591
Thanks: 501
Thanked 2,574 Times in 2,453 Posts
I can only give you what you ask for in the first place. And your output data really didn't resemble your input.

You can simplify that into one tiny awk statement:


Code:
awk '/0 B/ && ($6 == "I") && ($1<=0)'

Sponsored Links
    #9  
Old 06-26-2012
Registered User
 
Join Date: Jun 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
dude, it's all kewl, seriously thanks for the help!
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How can I just grep one instance of a word in the file jcnewton13 Shell Programming and Scripting 8 06-18-2012 01:17 PM
grep for a string until instance of a space terrell Shell Programming and Scripting 6 11-27-2011 04:27 PM
grep second instance of same string scubasteve39 Shell Programming and Scripting 6 09-30-2011 01:14 PM
How to use grep & find command to find references to a particular file Gangam Shell Programming and Scripting 2 09-22-2011 03:52 AM
help in find and grep command ! ali560045 Shell Programming and Scripting 1 09-15-2008 05:46 AM



All times are GMT -4. The time now is 03:01 AM.