view ibin/bf16 @ 2383:1f455af23894

<Jafet> (echo \'#!/bin/sh\'; echo \'if [ $# -ne 0 ]; then for f in "$@"; do echo "#!/bin/cat" && cat "$f"; done; else echo "#!/bin/cat" && cat; fi\') > bin/makequine && chmod +x bin/makequine
author HackBot
date Wed, 06 Mar 2013 14:46:16 +0000
parents 33a6019d8e99
children 77ae80f1894d
line wrap: on
line source

#!/bin/sh
. lib/interp

# Get the bitwidth from the command
BW=`echo "$CMD" | sed 's/bf//'`
if [ "$BW" = "" ] ; then BW=8 ; fi

interp_file ./interps/egobf/src/egobfi$BW