view bin/card-by-name @ 11013:8341e2b3f3be

<oerjan> rm 5pEV4X5h
author HackBot
date Thu, 15 Jun 2017 01:33:38 +0000
parents c989a1669243
children 9b7441dadcb5
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"