annotate bin/card-by-name @ 9053:7e6fc6fdd94b

<oerjan> sled bin/emoclew//s,>,>\\\\[\\\\],;s,<,<\\\\]\\\\[,
author HackBot
date Sun, 18 Sep 2016 00:04:01 +0000
parents 8bc55e6adaaf
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7994
3a869b13ae19 <b_jonas> `` echo $\'#!/bin/sh\\n\'exec perl -e \'\\\'\'open$I,"<","/hackenv/share/mtg/allsets.txt"or die;$/=""; while(<$I>){/\\A(?i)\\Q$ARGV[0]/ and print}\'\\\'\' "$1"\' > bin/card-by-name && chmod a+x bin/card-by-name
HackBot
parents:
diff changeset
1 #!/bin/sh
7995
8bc55e6adaaf <b_jonas> `` echo $\'#!/bin/sh\\n\'\'exec perl -e \'\\\'\'open$I,"<","/hackenv/share/mtg/allsets.txt"or die;$/=""; while(<$I>){/\\A(?i)\\Q$ARGV[0]/ and print}\'\\\'\' "$1"\' > bin/card-by-name && chmod a+x bin/card-by-name
HackBot
parents: 7994
diff changeset
2 exec perl -e 'open$I,"<","/hackenv/share/mtg/allsets.txt"or die;$/=""; while(<$I>){/\A(?i)\Q$ARGV[0]/ and print}' "$1"