view wisdom/shebang_args_or_input @ 12284:82cb3de99d33 draft

<b_jonas> `` f=/hackenv/bin/botloop; >$f echo $\'#!/bin/sh\\necho no\'; chmod -c a+x "$f"
author HackEso <hackeso@esolangs.org>
date Wed, 01 Jan 2020 09:35:29 +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".