Merge pull request #4 from dylanaraps/better_desc

added examples
This commit is contained in:
Dylan Araps
2018-06-15 09:53:07 +10:00
committed by GitHub
3 changed files with 464 additions and 212 deletions

View File

@@ -4,5 +4,5 @@ os:
- linux - linux
script: script:
- shellcheck -s bash --exclude=SC2034,SC2154 <(awk '/```sh/{f=1;next}/```/{f=0}f' README.md) - shellcheck -s bash --exclude=SC2034,SC2154 <(awk '/```sh$/{f=1;next}/```/{f=0}f' README.md)
- ./test.sh - ./test.sh

672
README.md

File diff suppressed because it is too large Load Diff

View File

@@ -138,7 +138,7 @@ assert_equals() {
} }
main() { 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.." head="-> Running tests on the Pure Bash Bible.."
printf '\n%s\n%s\n' "$head" "${head//?/-}" printf '\n%s\n%s\n' "$head" "${head//?/-}"