You could also use a simple perl script to prepend and append each line.
HTH
Mike

> -----Original Message-----
> From: gnielson [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, November 21, 1999 2:15 PM
> To: [EMAIL PROTECTED]
> Subject: Script to convert pipe delimited to comma delimited
> 
> 
> Hi everyone:
> 
> Would anyone mind sharing a script if they have one on converting pipe
> delimited ascii data files to comma delimited as in:
> 
> from Gary|Gary|Address|City|State
> to   "Gary","Gary","Address","City","State"
> 
> I could use a simple perl command to change every pipe to "," but that
> does not take care of the beginning and ending of each line. Any help,
> advice, pointers appreciated.
> 
> Thanks
> 
> 
> -- 
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
> 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to