python -c vs python –
The main flaw of using a here document is that the script’s standard input will be the here document. So if you have a script which wants to process its standard input, python -c is pretty much your only option. On the other hand, using python -c ‘…’ ties up the single-quote for the shell’s … Read more