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 the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 02-10-2009
sunpraveen's Avatar
sunpraveen sunpraveen is offline
Registered User
  
 

Join Date: Jan 2009
Location: Pruthvi
Posts: 85
Bhaskar,

Try the below command.


Code:
cut -d '/' -f2 < filename | sed -e 's/release_//g' -e 's/.zip//g' | cut -d '_' -f1-3

HTH,

Regards,

Praveen