Mercurial > repo
view bin/card-by-name @ 10939:5fdf8c07366b
<oerjan> mkx bin/help//\\? "$(echo "$1" | sed \'s/^[^`]/`&/\')"
author | HackBot |
---|---|
date | Sun, 21 May 2017 00:45:24 +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"