This is so cool, thanks Tero for taking the time to educate!
Individually, all parts are familiar to me but I probably couldn't have constructed such a beautiful pipe.
I added this as an edit into the original post so people interested in bash scripting can also find it more easily.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.