Self? Remember this:
tr 't' ' ' | sed -e 's/ */ /gp'
You’ll need it later.
At work I use bash, sed, [e]grep, cut, tr, and occasionally awk if I can’t get out what I need from the others. These aren’t used as scripts per se, just some tools I use to massage data.
Need that formatted, irregular, multi-line text file broken up and ripped into another format for processing? Sure, not a problem. Most people would (correctly) use PERL but I never got into it that much. I hardly ever get the same situation twice and deal with new data all the time.
But I do need to remove tabs and multiple spaces almost every time. While I always remember the tr part, I always need to rethink the sed regular expression. So here I am, writing a post to myself to keep it in my mind.
Comments by Jan Dembowski
New Life for old 3D Printers
I'm a little late in replying but that print surface? ...
This is not a Gutenberg Review, It’s a Blog Post
Oh, as someone who supports WordPress users in the forums ...
This is not a Gutenberg Review, It’s a Blog Post
That's fantastic. ;) The Classic Editor and at least one ...
This is not a Gutenberg Review, It’s a Blog Post
The blockquote tag works in the HTML comments here if ...
This is not a Gutenberg Review, It’s a Blog Post
It's not about popular belief. And WordPress is 100% open-source ...