comparison ibin/bf @ 1075:33a6019d8e99

<Gregor> mkdir ibin; for i in bin/*; do if [ "`grep \'\\. lib/interp\' $i`" ]; then mv $i ibin/; fi; done; printf \'#!/bin/sh\\nCMD=`cut -d\' \' -f1 "$1"`\\nARG=`cut -d\' \' -f2- "$2"`\\nexec ibin/$CMD "$ARG"\' > bin/interp; chmod 0755 bin/interp
author HackBot
date Fri, 14 Dec 2012 18:40:26 +0000
parents
children a24922a01045
comparison
equal deleted inserted replaced
1074:0114106a5025 1075:33a6019d8e99
1 #!/bin/sh
2 . lib/interp
3
4 # Get the bitwidth from the command
5 BW=`echo "$CMD" | sed 's/bf//'`
6 if [ "$BW" = "" ] ; then BW=8 ; fi
7
8 interp_file ./interps/egobf/src/egobfi$BW