[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Doing numbered changes in a buffer
From: |
gamename |
Subject: |
Doing numbered changes in a buffer |
Date: |
15 Dec 2005 13:53:42 -0800 |
User-agent: |
G2/0.2 |
Hi,
I have a tcl file with lots of messages which are about as descriptive
as this:
puts "something went wrong"
...
puts "something went wrong"
Is there any way to do a string replace in the buffer such that each
instance of "puts" would be assigned a unique message number? For
example:
puts "001 - something went wrong"
...
puts "002 - something went wrong"
TIA,
-T
- Doing numbered changes in a buffer,
gamename <=