Autistic fix. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit a552990a34ab1e9c35ae75d009f1af05ebed9aaa | |
parent c0a3a31de0ff26e26e7f7ce7c072e906111bd9d0 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Mon, 2 Apr 2018 11:57:48 +0200 | |
Autistic fix. | |
Diffstat: | |
M annna-start-services | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -91,7 +91,9 @@ then | |
| grep 'https\{0,1\}://[^ ]')" | |
if [ -n "$uri" ]; | |
then | |
- urititle="$(curl-grabtitle "${uri}" | xargs echo --)" | |
+ urititle="$(curl-grabtitle "${uri}" \ | |
+ | tr '\n' ' ' \ | |
+ | sed 's@^ *@@')" | |
if [ -n "$urititle" ]; | |
then | |
annna-say -c "#bitreich-en" "HTML title: ${uri… |