Live data from Hacker News

How to Clean Text Data at the Command Line

ezzeddinabdullah.com

51–53 of 53 posts

Re: How to Clean Text Data at the Command Line

#51
post #50

Earlier quoted context omitted.

I don't have your scale problems. You might care to not impose them where they don't exist.

Don't be so ridiculous. You're the one imposing arbitrary problems by saying "everything should be written in awk" then writing an example that was an order of magnitude longer in both character count and execution time than the examples that you were suggesting was wrong. All I'm doing is citing a few reasons why someone might prefer a terser pipeline but I hadn't realised this wasn't supposed to be an objective con…

"everything should be written in awk" is a rather dubious translation of:

a quick translation to straight awk gives cleaner code, more power, easier conversion to a script, and access to a small library of awk-based utilities I've acumulated.

https://news.ycombinator.com/item?id=24822697

You're not discussing what I've actually written.

Good day.

Re: How to Clean Text Data at the Command Line

#52
post #50

Earlier quoted context omitted.

Don't be so ridiculous. You're the one imposing arbitrary problems by saying "everything should be written in awk" then writing an example that was an order of magnitude longer in both character count and execution time than the examples that you were suggesting was wrong. All I'm doing is citing a few reasons why someone might prefer a terser pipeline but I hadn't realised this wasn't supposed to be an objective con…

"everything should be written in awk" is a rather dubious translation of: a quick translation to straight awk gives cleaner code, more power, easier conversion to a script, and access to a small library of awk-based utilities I've acumulated. https://news.ycombinator.com/item?id=24822697 You're not discussing what I've actually written. Good day.

I addressed those points directly, which you ignored when you blamed me of arguing use cases specific only to me. Suffice to say your complaint was hypocritical given your statement previous to that was very specific to your use case (as I also pointed out in my aforementioned, but ignored, comment)
Post reply on HN