Mercurial > repo
view paste/paste.12709 @ 5065:bb21261948dc
<fizzie> rm bin/bf; echo $\'#! /bin/bash\\n[[ $# > 0 ]] || { echo "Run what?"; exit 1; }\\nci="$*"\\necho -n "${ci#*!}" | echo /hackenv/interps/egobfi/src/egobfi8 <(echo -n "${ci%%!*}")\' > bin/bf; chmod +x bin/bf
author | HackBot |
---|---|
date | Wed, 15 Oct 2014 23:47:10 +0000 |
parents | e037173e0012 |
children |
line wrap: on
line source
#!/bin/sh topic=$(echo "$1" | tr A-Z a-z) [ -e "wisdom/$topic" ] || { echo "$1? ¯\(°_o)/¯"; exit 1; } cat "wisdom/$topic"