README: bashbot ascii art

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2021-01-08 22:12:03 +01:00
parent bd2d2e1e58
commit 4a9d1f0a29
6 changed files with 53 additions and 8 deletions

View File

@ -390,6 +390,6 @@ It features background tasks and interactive chats, and can serve as an interfac
<p>@Gnadelwartz</p>
<h2>That's it all guys!</h2>
<p>If you feel that there's something missing or if you found a bug, feel free to submit a pull request!</p>
<h4>$$VERSION$$ v1.25-dev-37-gf0a2843</h4>
<h4>$$VERSION$$ v1.25-dev-39-gbd2d2e1</h4>
</body>
</html>

View File

@ -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

View File

@ -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

View File

@ -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

22
dev/bashbot.ascii Normal file
View File

@ -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........**
**...**

View File

@ -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 href="([^>]+)">([^<#]+)<\/a>/\2 [\1]/' <README.html |\
html2text -style pretty -width 90 - >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