Mercurial > repo
view wisdom/ayacc @ 8001:faebf4569ba3
<b_jonas> `` echo $\'#!/bin/sh\\nexec perl -e\\\'\'\'open$I,"<","share/mtg/allsets.txt"or die$!;$/=""; @c=grep{/(?i:$ARGV[0])/}<$I>; print $c[rand($c)];\'\\\'\' "$1"\' > bin/random-card && chmod -v a+x bin/random-card
author | HackBot |
---|---|
date | Mon, 09 May 2016 08:32:52 +0000 |
parents | 637863599c36 |
children | 360cf26727d8 |
line wrap: on
line source
ayacc is ais523's yacc parser generator implementation, get it from http://nethack4.org/media/alex/ayacc/ayacc.pl