Mercurial > repo
view wisdom/shebang_args_or_input @ 11972:d156c796c343 draft
<b_jonas> `` perl -pi -e \'/(bf\\(8fungot\\))/ and $_ = "$1 - evaluate brainfuck snippet\\n"\' share/whatis
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Mon, 21 Oct 2019 21:51:38 +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".