The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 09-10-2007
varungupta varungupta is offline
Registered User
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 187
Quote:
Originally Posted by radoulov View Post
Code:
awk '{print $2}' FS="[()]" TEST.TXT
Hey thanks for your reply !!

Its giving statements within the braces(), BUT it gives something more then that too. Its given below :
$ awk '{print $2}' FS="[()]" text.txt
----------------------------------
C



*

SYSTEM.DEF.CLUSRCVR

TO.EAIDVBR1



----------------------------------

under "---" O/P is like shown above, more blank lines, C, *
Don't know from where its being generated ?

Please if you can rectify this ??
Thanks !!
Reply With Quote