in reply to Cleaning the Log
Here's to Golf!
perl -pe's/\{BS\}/\b/g;1while s/.?\010//' file— Arien
Edit: Good catch, BrowserUk++. I forgot about that one, but I now remember I don't need the first zero. To tie: ;-)
perl -pe's/\{BS\}/\b/g;1while s/.?\10//' file
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Cleaning the Log
by BrowserUk (Patriarch) on Sep 02, 2002 at 22:31 UTC | |
by Arien (Pilgrim) on Sep 03, 2002 at 01:41 UTC | |
by Aristotle (Chancellor) on Sep 03, 2002 at 01:51 UTC | |
by demerphq (Chancellor) on Sep 03, 2002 at 10:07 UTC | |
by BrowserUk (Patriarch) on Sep 03, 2002 at 11:43 UTC | |
| |
by Aristotle (Chancellor) on Sep 03, 2002 at 12:54 UTC |