On Mon, 22 Nov 1999, Leonid Mamtchenkov wrote:

> > 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.

s/^/"/
s/$/"/
s/|/","/

Or something like that.

-- 

Duncan Hill                     Sapere aude
One net to rule them all, One net to find them,
One net to bring them all, and using Unix bind them.



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

Reply via email to