view bin/card-by-name @ 8518:0dfc503499fb

<oerjan> ` hg cat -r 5060d5af0b98 bin/rnooodl >bin/rnooodl
author HackBot
date Fri, 17 Jun 2016 09:48:17 +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"