view bin/card-by-name @ 12036:9c0388d5c954 draft

<kspalaiologos> ` asmbf <<<"in_ r1/in_ r2/add r1, r2/out r1" > stuff && bfi stuff <<<"00"
author HackEso <hackeso@esolangs.org>
date Fri, 15 Nov 2019 14:06:53 +0000
parents 9b7441dadcb5
children
line wrap: on
line source

#!/bin/sh
exec perl -e 'open$I,"<",($ENV{HACKENV}//"/hackenv")."/share/mtg/allsets.txt"or die;$/=""; while(<$I>){/\A(?i)\Q$ARGV[0]/ and print}' "$1"