The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 01-23-2008
ennstate ennstate is offline
Registered User
 

Join Date: Mar 2007
Location: Chennai
Posts: 222
Does this works?
Code:
sed -n '/Family2/{n;n;s/<name=\(.*\)\/>/\1/p}' /tmp/Input
Thanks
Nagarajan G
Reply With Quote