From bf676017c4febd546134a0636909599fba21e6f2 Mon Sep 17 00:00:00 2001 From: Carlos Fenollosa Date: Sun, 1 Sep 2019 14:19:21 +0200 Subject: [PATCH] fixed head before sed --- bb.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bb.sh b/bb.sh index 69875d4..46c5aa2 100755 --- a/bb.sh +++ b/bb.sh @@ -341,9 +341,9 @@ twitter_card() { echo "" echo "" echo "" # Twitter truncates at 70 char - description=$(grep -v "^

$template_tags_line_header" "$1" | sed -e 's/<[^>]*>//g' | head -c 250 | tr '\n' ' ' | sed "s/\"/'/g") + description=$(grep -v "^

$template_tags_line_header" "$1" | sed -e 's/<[^>]*>//g' | tr '\n' ' ' | sed "s/\"/'/g" | head -c 250) echo "" - image=$(sed -n 's/.*"