view ibin/bf8 @ 3904:49ab5b2e2ebf

<boily> echo -e "#!/usr/bin/env python\\n# -*- encoding: utf-8 -*-\\nimport sys\\nimport unicodedata\\ntry:\\n print u\'\'.join(map(unicodedata.lookup, sys.argv[1:])).encode(\'utf-8\')\\nexcept KeyError:\\n print u\'Unknown character.\'" >bin/unicode
author HackBot
date Fri, 11 Oct 2013 15:25:39 +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