Mercurial > repo
annotate ibin/bf @ 1527:1ef556fc959f
<elliott> addquote <oerjan> fungot knows all. <fungot> oerjan: you are correct. there\'s no freedom for free.
author | HackBot |
---|---|
date | Tue, 15 Jan 2013 04:17:13 +0000 |
parents | 33a6019d8e99 |
children | a24922a01045 |
rev | line source |
---|---|
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
HackBot
parents:
diff
changeset
|
1 #!/bin/sh |
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
HackBot
parents:
diff
changeset
|
2 . lib/interp |
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
HackBot
parents:
diff
changeset
|
3 |
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
HackBot
parents:
diff
changeset
|
4 # Get the bitwidth from the command |
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
HackBot
parents:
diff
changeset
|
5 BW=`echo "$CMD" | sed 's/bf//'` |
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
HackBot
parents:
diff
changeset
|
6 if [ "$BW" = "" ] ; then BW=8 ; fi |
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
HackBot
parents:
diff
changeset
|
7 |
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
HackBot
parents:
diff
changeset
|
8 interp_file ./interps/egobf/src/egobfi$BW |