Re:An interactive cheatsheet tool for the command-line
by grenoire on Saturday September 21, 2019 @04:26AM
(#21034154)
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.
Re:An interactive cheatsheet tool for the command-line
by alanbernstein on Saturday September 21, 2019 @09:52AM
(#21035373)
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.
This is why I have a similar tool for command line cheat sheet snippets - recalling bits of syntax to be combined into a command or a script.