view paste/paste.12320 @ 8001:faebf4569ba3

<b_jonas> `` echo $\'#!/bin/sh\\nexec perl -e\\\'\'\'open$I,"<","share/mtg/allsets.txt"or die$!;$/=""; @c=grep{/(?i:$ARGV[0])/}<$I>; print $c[rand($c)];\'\\\'\' "$1"\' > bin/random-card && chmod -v a+x bin/random-card
author HackBot
date Mon, 09 May 2016 08:32:52 +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