The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
print all the rows from "BUY" Tag with "SELL" with Buy/sell tag at end
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
print all the rows from "BUY" Tag with "SELL" with Buy/sell tag at end
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
07-02-2009
rakeshawasthi
Registered User
Join Date: Aug 2004
Location: India
Posts: 379
What you have written in words and what you have shown as output is not precisely same...
Please try the below code...
Code:
awk '/[0-9]+,*[BUY|SELL]/{print }' in
rakeshawasthi
View Public Profile
Find all posts by rakeshawasthi
Find rakeshawasthi's past nominations received
Find rakeshawasthi's present nominations given