view bin/card-by-name @ 8624:6922961990ce

<oerjan> mkx bin/culprits//hoag "$@" | awk \'{print substr($1,2,length($1)-2)}\' | sed "s/.$/\\x0F&/" | xargs
author HackBot
date Mon, 27 Jun 2016 23:52:47 +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"