in reply to Global substitution and report
Since you mention changed lines and line numbers it appears that you expect changes to be limited to single lines, as opposed to changes spanning multiple lines. If so, you'd be much better off looping over the file line by line and logging changes as they happen. Note the $. variable, which will give you the line number.
Anno
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Global substitution and report
by Outaspace (Scribe) on Aug 27, 2007 at 08:43 UTC | |
by moritz (Cardinal) on Aug 27, 2007 at 08:58 UTC | |
by Outaspace (Scribe) on Aug 27, 2007 at 10:14 UTC | |
by moritz (Cardinal) on Aug 27, 2007 at 11:06 UTC | |
by Outaspace (Scribe) on Aug 27, 2007 at 12:03 UTC | |
by Anno (Deacon) on Aug 27, 2007 at 09:22 UTC |