view bin/card-by-name @ 8769:6bb23464674b

<shachaf> mkx bin/howg//hoag "wisdom/$1"
author HackBot
date Sat, 09 Jul 2016 04:29:36 +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"