added examples

This commit is contained in:
Dylan Araps
2018-06-15 09:29:43 +10:00
parent ac2b9e7ddf
commit 9f43812680
3 changed files with 197 additions and 61 deletions

View File

@@ -138,7 +138,7 @@ assert_equals() {
}
main() {
source <(awk '/```sh/{f=1;next}/```/{f=0}f' README.md) 2>/dev/null
source <(awk '/```sh$/{f=1;next}/```/{f=0}f' README.md) 2>/dev/null
head="-> Running tests on the Pure Bash Bible.."
printf '\n%s\n%s\n' "$head" "${head//?/-}"