As GP, mentioned, you put the correct shebang. I write stuff in Python and make them as pipe-capable as possible. You don't have to bend hell and flip it upside down to write scripts.
Sure - I use both bash and python for this purpose. Sometimes bash really is the right tool for the job, for example, when you need to use a lot of other complex CLI utilities, or when pipelines of simple commands get the job done in a simpler way.
I'm just explaining why a command line cheat sheet tool is useful to me. I don't need to be convinced that it isn't.
I'm just explaining why a command line cheat sheet tool is useful to me. I don't need to be convinced that it isn't.