Mercurial > repo
view ibin/bf16 @ 4238:0126984286d5
<kmc> printf \'#!/bin/bash\\n\\nenc=$(echo "$1" | iconv -t iso8859-1 | chardet | awk \'{print $2}\')\\necho "$1" | iconv -t iso8859-1 | iconv -f "$enc"\\n\' > bin/from-8bit && chmod +x bin/from-8bit
author | HackBot |
---|---|
date | Fri, 27 Dec 2013 17:54:38 +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