view bin/card-by-name @ 8580:216a34ca700c

<shachaf> makelist idealist
author HackBot
date Thu, 23 Jun 2016 09:42:23 +0000
parents 8bc55e6adaaf
children
line wrap: on
line source

#!/bin/sh
exec perl -e 'open$I,"<","/hackenv/share/mtg/allsets.txt"or die;$/=""; while(<$I>){/\A(?i)\Q$ARGV[0]/ and print}' "$1"