On Thu, Dec 02, 1999 at 02:18:37PM +1100, Iain Wade wrote:
> > 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]
>
Already one upped I see. ;)
//Matt
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.