changeset 7279:e51edd3df7ff

<fizzie> ` sed -i -e \'s|s/bf|s/.*bf|\' ibin/bf
author HackBot
date Fri, 25 Mar 2016 10:50:11 +0000
parents a24922a01045
children e77e6a7a3196
files ibin/bf
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ibin/bf	Fri Mar 25 10:49:15 2016 +0000
+++ b/ibin/bf	Fri Mar 25 10:50:11 2016 +0000
@@ -2,7 +2,7 @@
 . lib/interp
 
 # Get the bitwidth from the command
-BW=`echo "$I_CMD" | sed 's/bf//'`
+BW=`echo "$I_CMD" | sed 's/.*bf//'`
 if [ "$BW" = "" ] ; then BW=8 ; fi
 
 interp_file ./interps/egobf/src/egobfi$BW