changeset 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
author HackBot
date Sun, 08 May 2016 20:11:25 +0000
parents 3a869b13ae19
children de98b35f1329
files bin/card-by-name
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/card-by-name	Sun May 08 20:10:26 2016 +0000
+++ b/bin/card-by-name	Sun May 08 20:11:25 2016 +0000
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec perl -e \open$I,"<","/hackenv/share/mtg/allsets.txt"or die;$/=""; while(<$I>){/\A(?i)\Q$ARGV[0]/ and print}' "$1"
+exec perl -e 'open$I,"<","/hackenv/share/mtg/allsets.txt"or die;$/=""; while(<$I>){/\A(?i)\Q$ARGV[0]/ and print}' "$1"