Printing to multiple files ... without changing my code.
davehodg at gmail.com
Fri Sep 15 20:16:01 BST 2006
On 15 Sep 2006, at 12:48, McGlinchy, Alistair wrote:
> Hi all,
> I have some code with print statements liberally sprinkled throughout
> (180 locations at last count).
OK, I've seen the responses and very cool and smart they are (hi Joel!
mine's a beer).
That's what emacs, M-x grep, M-`, and macros are for. It's called
refactoring. Instead of subverting what was originally intended,
DO IT RIGHT this time.
Five minutes tops.
Dave Hodgkinson - Music photography
More information about the london.pm