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 -->
  #3 (permalink)  
Old 03-02-2006
rochitsharma rochitsharma is offline
Registered User
 

Join Date: Feb 2006
Posts: 81
my in put file is:

<CRM:MS=23746,............................;
<EN:MS=23746..........................;
................................................;
<CRM:5766,..............;
<OP:.................................;

my input file looks like this. in place of dots there are some more parameters.
what i want is that the record separator new line (currently ) is replaced. i want the script to accept <CRM: as new field separatori.e my output file should look like:

<CRM:MS=23746,............................;<EN:MS=23746..........................;.................. ..............................;
<CRM:5766,..............;<OP:.................................;

it will be very nice of you if you can help.

Regards
Rochit
Reply With Quote