Re: [NTS] Re: Regular Expression to Strip lines of "]"
- Thanks Alan.
I'll have to try this one and see how it does.
Kairos Computer Solutions
Sales Affiliate for Grisoft Anti-Virus
Alan C wrote:
> perl -pe 's/\]+\n//g' < file.ddf > file.txt
> That did it here on Linux. Sometimes Win needs double quotes if trying
> it on Windows.
> scroll down near bottom, entitled "In-place editing"
> tr can do lots. I never know when to use substitution operator (regex)
> versus tr transliteration operator.