view wisdom/shebang_args_or_input @ 11914:7e41237f750b draft

<b_jonas> `` set -e; slashlearn "spoiler//Don\'t give movie spoilers on channel. If you do, hppavilion may hire a hitman to hunt you down in real life and torture you in refined ways."; forget rogue one
author HackEso <hackeso@esolangs.org>
date Mon, 26 Aug 2019 21:41:15 +0000
parents 08c7ff875739
children
line wrap: on
line source

shebang_args_or_input is similar to print_args_or_input, but for other scripting languages like perl or python. E.g. if you have a python script that pipes stdin, replace the usual shebang line by "#!/hackenv/bin/shebang_args_or_input python".