> Not bad though.. :-)  Try this on for size..
>
> #!/usr/bin/perl
> while(<>){s/\t/|/g;print;}
> 
> Invoke this as:
> 
> convert < infile > outfile

#!/usr/bin/perl -pi
s/\t/|/g;

Invoke this as:

tab2pipe filename.ext

all conversion is done inplace .. thanks to Charles Galpin for the idea...

--
Iain Wade - Optus Internet
Email: [EMAIL PROTECTED]


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

Reply via email to