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 03-02-2006
rochitsharma rochitsharma is offline
Registered User
 

Join Date: Feb 2006
Posts: 81
problem using awk

my code is

nawk ' BEGIN { RS = "<CRM";
FS = ".;-"
}
' file_name

even when i have explicitly defined the record separator as <CRM. Still the system is taking new line as record separator. please help
Thanks in advance.

Regards
Rochit

Last edited by rochitsharma; 03-02-2006 at 09:02 AM.. Reason: title was not appropriate
Remove advertisements
!!
Forum Sponsor