Mercurial > repo
view bin/card-by-name @ 8456:0de56f0fd57a
<shachaf> mkx bin/now//lastfiles "$@" | while read f; do echo -n "$f//"; cat "$f"; done
author | HackBot |
---|---|
date | Sun, 12 Jun 2016 07:11:42 +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"