That grep works pretty well, I have run it over a few of my projects, and am now happy enough to let it automatically replace all the strings found with a null string.
(I use version control, so can easily back out of any disasters). However I notice that it will not pick up hyphenated strings such as; line floor-step endline Any clever person figure out how to make it find both hyphenated and non-hyphenated empty objects. I'll add something to the wiki in due course. Bruce From: Therion [mailto:[email protected]] On Behalf Of Martin Sluka via Therion Sent: Thursday, 9 March 2017 10:29 PM To: List for Therion users <[email protected]> Cc: Martin Sluka <[email protected]> Subject: Re: [Therion] th2 empty objects . I made a simple grep patter to find such "null lines" in th2 files: I have try grep search/replace ^\s*(\w+) \w+\s+end\1 and it looks it works m.s.
_______________________________________________ Therion mailing list [email protected] https://mailman.speleo.sk/listinfo/therion
