Mercurial > repo
view wisdom/shebang_args_or_input @ 11932:d8d7f891e16b draft
<fizzie> mkx bin/beat//s=$(date +%s); echo @$(((s+3600) % 86400 * 10 / 864))
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 13 Sep 2019 10:09:31 +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".