view bin/bf @ 9047:dfc5682ee287

<fizzie> ` sed -i -e \'s/{/if [ -n "$f" ]; then/;s/} |/else echo "that\'\\\'\'s not wise"; fi |/\' bin/wisdom
author HackBot
date Fri, 16 Sep 2016 22:47:19 +0000
parents 7bcf9a8d6c4c
children
line wrap: on
line source

#! /bin/bash
[[ $# > 0 ]] || { echo "Run what?"; exit 1; }
ci="$1"
echo -n "${ci#*!}" | { /hackenv/interps/egobf/src/egobfi8 <(echo -n "${ci%%!*}") ; }