view wisdom/shebang_args_or_input @ 11329:dd6d2180c5b6

<wob_jonas> perl -e open$h,"<",($f="wisdom/font");local$/;$_=<$h>; s"& \\S+/twitter\\.com/\\S+""; if (1) { open $o,">",$f;print$o $_; } print substr $_,200;
author HackBot
date Wed, 17 Jan 2018 21:02:27 +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".