Sometimes I find it strange - in both good and bad way - that we are, in 2020, learning tools and languages designed and build in the 80s, with models and constraints of the time, with 40 years of layers of backwards compatibility, and actually going sometimes back to the 70s I am still learning tools designed around the constraints of teleprinters Sure, it’s the same on Windows side (and macOS side with their classi…
Text Processing in the Shell
21–30 of 109 posts
Re: Text Processing in the Shell
#22Re: Text Processing in the Shell
#23Sometimes I find it strange - in both good and bad way - that we are, in 2020, learning tools and languages designed and build in the 80s, with models and constraints of the time, with 40 years of layers of backwards compatibility, and actually going sometimes back to the 70s I am still learning tools designed around the constraints of teleprinters Sure, it’s the same on Windows side (and macOS side with their classi…
I've been on the job for 10 years and I still use these tools daily. For example, I sent a PR yesterday that was adding a configuration entry on 150+ config files by using find, grep and sed.
I'm not pretending these are the only tools that exist, but darn are they handy sometimes, and good to have in your toolbelt.
Re: Text Processing in the Shell
#24Re: Text Processing in the Shell
#25Re: Text Processing in the Shell
#26This is cool for English text. But once you get Unicode with various ways to represent é, whew lad. This get shitty quickly in the shell.
Re: Text Processing in the Shell
#27Re: Text Processing in the Shell
#28Sometimes I find it strange - in both good and bad way - that we are, in 2020, learning tools and languages designed and build in the 80s, with models and constraints of the time, with 40 years of layers of backwards compatibility, and actually going sometimes back to the 70s I am still learning tools designed around the constraints of teleprinters Sure, it’s the same on Windows side (and macOS side with their classi…
Try 1725, especially for those of us who (still) set their editors to favor 80 columns.
Re: Text Processing in the Shell
#29Earlier quoted context omitted.
Output data as JSON, manipulate and show it with jq
not all data comes from sources that you control and have chosen how to output.
Re: Text Processing in the Shell
#30A little suggestion for the authors, they mentioned xargs, I think [GNU parallel]( https://www.gnu.org/software/parallel/ ) might work a mention too, since it is a kind of modern successor that can use many computers to run tasks.
This you have to install, xargs is everywhere. Also with the -P flag you can parallelize the most common cases.