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
commit fb68a472e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 464 additions and 212 deletions

View File

@ -4,5 +4,5 @@ os:
- linux
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

672
README.md

File diff suppressed because it is too large Load Diff

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//?/-}"