view ibin/bf @ 11936:5291f08331b3 draft

<wob_jonas> `` echo \'#!/usr/bin/python3;import math,time;b = math.floor(((time.time()+3600) % 86400) / 86.4);print("%03d"%(b,))\' | tr \\; \\\\n > bin/beat; chmod -v a+x bin/beat
author HackEso <hackeso@esolangs.org>
date Fri, 13 Sep 2019 11:15:34 +0000
parents c989a1669243
children b044eecae124
line wrap: on
line source

#!/bin/sh
. lib/interp

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

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