From 4a9d1f0a29c2731d9c06aa4db7b0eed0d266a413 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Fri, 8 Jan 2021 22:12:03 +0100 Subject: [PATCH] README: bashbot ascii art --- README.html | 2 +- README.md | 2 +- README.txt | 24 +++++++++++++++++++++++- bashbot.sh | 2 +- dev/bashbot.ascii | 22 ++++++++++++++++++++++ dev/version.sh | 9 +++++---- 6 files changed, 53 insertions(+), 8 deletions(-) create mode 100644 dev/bashbot.ascii diff --git a/README.html b/README.html index 3502ec8..bc896ba 100644 --- a/README.html +++ b/README.html @@ -390,6 +390,6 @@ It features background tasks and interactive chats, and can serve as an interfac

@Gnadelwartz

That's it all guys!

If you feel that there's something missing or if you found a bug, feel free to submit a pull request!

-

$$VERSION$$ v1.25-dev-37-gf0a2843

+

$$VERSION$$ v1.25-dev-39-gbd2d2e1

diff --git a/README.md b/README.md index 7ee6443..d52e813 100644 --- a/README.md +++ b/README.md @@ -238,4 +238,4 @@ See `mycommnds.sh.dist` for an example. If you feel that there's something missing or if you found a bug, feel free to submit a pull request! -#### $$VERSION$$ v1.25-dev-37-gf0a2843 +#### $$VERSION$$ v1.25-dev-39-gbd2d2e1 diff --git a/README.txt b/README.txt index c9fb4fa..e43e4b3 100644 --- a/README.txt +++ b/README.txt @@ -1,4 +1,26 @@ + .. + **** + ****oooooo***** + *****ooooooooooooo***** + *****oooooooooooooooooooooo**** + ****oooooooooooooooooooooooooooooooo** + *.*oooooooooooooooooooooooooooooooooooo** + *.ooooooooooooooooooooooooooooooooo**.... + *.oooooooooooooooooooooooooooo**......... + *.oooooooooooooooooooooooo**............. + *.ooooooooooooooooooo**.................. ____ _ _ _ + *.oooooooooooooooooo.......,............. | _ \ | | | | | | + *.ooooooooooooooooo*.....,***,........... | |_) | __ _ ___ | |__ | |__ ___ | |_ + *.ooooooooooooooooo*....o*............... | _ < / _` |/ __|| '_ \ | '_ \ / _ \ | __| + *.ooooooooooooooooo*....*o***,........... | |_) || (_| |\__ \| | | || |_) || (_) || |_ + *.*oooooooooooooooo*........o*.....oo.... |____/ \__,_||___/|_| |_||_.__/ \___/ \__| + ****ooooooooooooo*....`***....oo...... + *****oooooooo*......*..oo.....** + ******ooo*.............* + ***oo........** + **...** + @@ -287,5 +309,5 @@ That's it all guys! If you feel that there's something missing or if you found a bug, feel free to submit a pull request! -$$VERSION$$ v1.25-dev-37-gf0a2843 +$$VERSION$$ v1.25-dev-39-gbd2d2e1 diff --git a/bashbot.sh b/bashbot.sh index c3e37bb..337d393 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -30,7 +30,7 @@ # 8 - curl/wget missing # 10 - not bash! # -#### $$VERSION$$ v1.25-dev-24-gbbc6794 +#### $$VERSION$$ v1.25-dev-39-gbd2d2e1 ################################################################## # emmbeded system may claim bash but it is not diff --git a/dev/bashbot.ascii b/dev/bashbot.ascii new file mode 100644 index 0000000..00bc91a --- /dev/null +++ b/dev/bashbot.ascii @@ -0,0 +1,22 @@ + + .. + **** + ****oooooo***** + *****ooooooooooooo***** + *****oooooooooooooooooooooo**** + ****oooooooooooooooooooooooooooooooo** + *.*oooooooooooooooooooooooooooooooooooo** + *.ooooooooooooooooooooooooooooooooo**.... + *.oooooooooooooooooooooooooooo**......... + *.oooooooooooooooooooooooo**............. + *.ooooooooooooooooooo**.................. ____ _ _ _ + *.oooooooooooooooooo.......,............. | _ \ | | | | | | + *.ooooooooooooooooo*.....,***,........... | |_) | __ _ ___ | |__ | |__ ___ | |_ + *.ooooooooooooooooo*....o*............... | _ < / _` |/ __|| '_ \ | '_ \ / _ \ | __| + *.ooooooooooooooooo*....*o***,........... | |_) || (_| |\__ \| | | || |_) || (_) || |_ + *.*oooooooooooooooo*........o*.....oo.... |____/ \__,_||___/|_| |_||_.__/ \___/ \__| + ****ooooooooooooo*....`***....oo...... + *****oooooooo*......*..oo.....** + ******ooo*.............* + ***oo........** + **...** diff --git a/dev/version.sh b/dev/version.sh index 65ed0dd..685d8eb 100755 --- a/dev/version.sh +++ b/dev/version.sh @@ -1,6 +1,6 @@ #!/bin/bash # -#### $$VERSION$$ v1.25-dev-37-gf0a2843 +#### $$VERSION$$ v1.25-dev-39-gbd2d2e1 # shellcheck disable=SC2016 # # Easy Versioning in git: @@ -56,12 +56,13 @@ FILES="$(find ./*)" if [[ "${FILES}" == *"README.md"* ]]; then FILES+=" README.html README.txt" type -f pandoc >/dev/null && pandoc -s -f commonmark -M "title=Bashbot README" README.md >README.html - if type -f html2text >/dev/null; then + cat "dev/bashbot.ascii" >"README.txt" + if [ -f "README.html" ] && type -f html2text >/dev/null; then # convert html links to text [link] sed -E 's/([^<#]+)<\/a>/\2 [\1]/' README.txt + html2text -style pretty -width 90 - >>README.txt else - type -f fold >/dev/null && fold -s -w 90 README.md >README.txt + type -f fold >/dev/null && fold -s -w 90 README.md >>README.txt fi fi