Mercurial > repo
view wisdom/shebang_args_or_input @ 12208:50d588d1d00f draft
<b_jonas> `` set -e; f=/hackenv/bin/STOP; >$f echo $\'#!/bin/sh\\nrm -vf /hackenv/bin/bfbotquine\'; chmod -c a+x "$f"
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 29 Nov 2019 23:32:11 +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".