> 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.
- script Steve Lee
- Re: script Jason Hirsch
- Re: script Steve Lee
- Re: script Iain Wade
- Re: script Charles Galpin
- Re: script Iain Wade
- Re: script Hal Burgiss
- Re: script Steve Lee
- Re: script Rick L. Mantooth
- Re: script Jason Costomiris
- OT: Perl flexing (was: Re: scr... Iain Wade
- OT: Perl flexing (was: Re:... Jason Costomiris
- Re: OT: Perl flexing ... Charles Galpin
- Re: script Matt Doughty
- Re: script Matt Doughty
- Re: script Chris Dowling
- Re: script Rick L. Mantooth
- Re: script Matt Doughty
- TABS to Pipes (was Re: script) Rick L. Mantooth
- Re: TABS to Pipes (was Re: script) Thomas Ribbrock \(Design/DEG\)
- script Steve Lee
