view ibin/bf8 @ 6884:ccc447c7c094

<shachaf> ` >bin/cmd echo -e \'#!/bin/bash\\npid="$PPID"\\n[ -n "$1" ] && pid="$1"; cut -d "" -f 3 < /proc/$pid/cmdline\'
author HackBot
date Tue, 16 Feb 2016 02:06:54 +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