Mercurial > repo
view wisdom/shebang_args_or_input @ 11307:1b943a7f4dc3
<int-e> ` cp bin/slwd bin/slbd; sed -i \'s=wisdom=bin=;s=wb=bb=\' bin/slbd; cat bin/slbd
author | HackBot |
---|---|
date | Fri, 05 Jan 2018 01:01:36 +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".