Re: [PLUG] Correcting duplicate strings in files [RESOLVED]

2018-06-19 Thread Rich Shepard
On Tue, 19 Jun 2018, Robert Citek wrote: Awk is a very nice "little" language. Glad to hear it worked. And thanks for letting us know. Robert, I do a lot of environmental data munging/wragling/ETL. These come to me as .xml spreadsheets or the equivalent of line printer output sent as PDF

Re: [PLUG] Correcting duplicate strings in files [RESOLVED]

2018-06-19 Thread Robert Citek
Awk is a very nice "little" language. Glad to hear it worked. And thanks for letting us know. - Robert On Tue, Jun 19, 2018 at 4:58 PM, Rich Shepard wrote: > On Tue, 19 Jun 2018, Robert Citek wrote: > >> $2 != "16.00" { print ; next } <= the decimal should be a colon, 16:00 vs >> 16.00 > > >

Re: [PLUG] Correcting duplicate strings in files [RESOLVED]

2018-06-19 Thread Rich Shepard
On Tue, 19 Jun 2018, Robert Citek wrote: $2 != "16.00" { print ; next } <= the decimal should be a colon, 16:00 vs 16.00 Robert, Oy! Too often we see what we expect to see, not what's actually there. I had that in a FORTRAN IV program in the early 1970s. flag == 1 && $2 == "16:00" {