Re: [PLUG] Sed syntax error, the sequel

2016-11-17 Thread Rich Shepard
On Tue, 15 Nov 2016, Robert Citek wrote: > BTW, a really good book on regular expressions is "Mastering Regular > Expressions, 3rd Edition" Robert, Thanks for your suggestion. A bit of research on the web taught me that my first edition needs replacing. The second addition is a complete

Re: [PLUG] Sed syntax error, the sequel

2016-11-15 Thread Rich Shepard
On Tue, 15 Nov 2016, Robert Citek wrote: > Not bad thought. But your data does not match your assumptions. You date > is not in mm/dd/ format, but rather m/d/ format, where m and d can > be either 1 or 2 digits. Robert, The data were in all formats, single and double digits for

Re: [PLUG] Sed syntax error, the sequel

2016-11-15 Thread Robert Citek
On Tue, Nov 15, 2016 at 3:58 PM, Rich Shepard wrote: >The sed command worked on the first file (it took two runs to get all the > dates, but what's another few milliseconds, eh?) but the second file has the > dates in mm/dd/ order. > >I modified the sed