ofnuts wrote:
Sasquatch wrote:
I'm slowly coming to understand how to do some fun things behind the scenes in Linux.
Nothing is behind the scenes in Linux

Everything is in plain view.
Awk may not be needed since there is a 'printf' command in Bash.
I say "behind the scenes" because most folks consider the GUI to be the primary focus of a computer. I forget this forum isn't "most folks".
I tried doing it without printf but I couldn't get awk's FIELDWIDTHS option to work. I don't know if printf can be set to recognize the field separators produced by grep ir if I can change grep's default field separator. I'll look into it some more.
_________________
Just a short while ago I was a complete idiot when it comes to GIMP. Today, after many hours of practice, reading, and watching tutorials, I am proud to say I am an incomplete idiot.