view bin/card-by-name @ 8702:e91970e62be1

<oerjan> fetch http://oerjan.nvg.org/shebang_args_or_input
author HackBot
date Tue, 05 Jul 2016 02:21:15 +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"