in reply to Re: whitespaces replace with tabs - help needed...
in thread whitespaces replace with tabs - help needed...
LINE: while(<FILE>) { chomp($_); $_=~ s/ +/\t/s; print OUTPUT "$_\n"; # $_ =~ s/^(d{6})\t(d{2}):(d{2})/$1 $2:$3/g; }; close(FILE); close(OUTPUT);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: whitespaces replace with tabs - help needed...
by ramjr (Initiate) on Aug 14, 2003 at 22:56 UTC | |
|
Re: Re: Re: whitespaces replace with tabs - help needed...
by hagen (Friar) on Aug 15, 2003 at 02:51 UTC |