view bin/bf @ 9503:3fc3b4da9f7e

<oerjan> sled bin/sed2//2c/bin/sed "$@" && if [[ $* == "3" -a "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi
author HackBot
date Sat, 29 Oct 2016 19:25:24 +0000
parents c989a1669243
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%%!*}") ; }