view paste/paste.12320 @ 11116:3923d423f4cb

<oerjan> learn 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 .
author HackBot
date Sat, 22 Jul 2017 00:51:22 +0000
parents e9830e14e9d0
children
line wrap: on
line source

diff -r b30b6cfe3880 -r bbd5d8222931 bin/list
--- a/bin/list	Wed Feb 13 00:18:37 2013 +0000
+++ b/bin/list	Wed Feb 13 00:12:50 2013 +0000
@@ -1,2 +1,1 @@
 #!/bin/sh
-oldpwd=`pwd`; cd /var/irclogs/_esoteric; name=$(cat $(ls ????-??-??.txt | tail -1) | tail -1 | sed "s/[^<]*<//; s/>.*//; s/.*\* //; s/ .*//"); cd $oldpwd; fgrep -q "$name" bin/list || echo -n "$name " >> bin/list; echo cuttlefish boily elliott Taneb HackEgo shachaf Sgeo monqy 
\ No newline at end of file