Hue, this is not real
function sayit() {
echo 'this is bash'
}
This isnt real, either.
sayit
Yay.
#! /usr/bin/env bash | |
cat test.md | awk 'BEGIN { inBash = 0 } $0 == "```" { inBash = 0 } inBash { print $0 } $0 == "```bash" { inBash = "true" }' | bash | |
# sample use: cat test.md | ./litbash.sh |