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 -->
  #1 (permalink)  
Old 11-26-2007
Vijay06 Vijay06 is offline
Registered User
 

Join Date: Nov 2006
Posts: 16
How to cut multiple patterns from a file?

Hi,

I need to cut values after searching for similar patterns in a file. For example, I have the following pattern in a file:

####<Nov12 2007> <user: Vijay> <user id:123456 college:anna univ> <error code: runtime exception>


I need the values for
date:
User:
User id:
College:
Error code:

Can somebody help me to obtain the same?
Reply With Quote
Remove advertisements
!!
Forum Sponsor