Mercurial > repo
annotate bin/card-by-name @ 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
author | HackBot |
---|---|
date | Sun, 08 May 2016 20:10:26 +0000 |
parents | |
children | 8bc55e6adaaf |
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 |
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
|
2 exec perl -e \open$I,"<","/hackenv/share/mtg/allsets.txt"or die;$/=""; while(<$I>){/\A(?i)\Q$ARGV[0]/ and print}' "$1" |