in reply to Cleaning the Log
Use while() to repeat the search until all is done:
perl -e '$a = "abcde{BS}{BS}f"; while($a =~ s/.{BS}//) {}; print $a;'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Cleaning the Log
by demerphq (Chancellor) on Sep 02, 2002 at 16:06 UTC |