diff options
| author | Philip Wittamore <philip@wittamore.com> | 2026-07-01 11:16:59 +0200 |
|---|---|---|
| committer | Philip Wittamore <philip@wittamore.com> | 2026-07-01 11:16:59 +0200 |
| commit | 719171cfb9e50aa42137c91f62a0f3a6d93f4dc6 (patch) | |
| tree | e942691223e273459d4c08ddbb98429955d1e404 /blogrss | |
| parent | 5c1603cec943a0516fd841a976c270b952e3f5f7 (diff) | |
update
Diffstat (limited to 'blogrss')
| -rwxr-xr-x | blogrss | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -66,8 +66,8 @@ for POSTS in "${POSTARRAY[@]}"; do POSTDATE=$(grep -o '>.*</h3>' "$POST" | sed 's/\(>\|<\/h3>\)//g') POSTNAME=${POST##*/} LINKADDR="$YLINK/$POSTNAME" - DESC="$(sed -n '/<h4>.*/,/*.<\/h4>/{p;q;}' "$POST" | sed -e 's/<[^>]\+>/ /g' -e 's|<h4>||g' -e 's|</h4>||g' -e 's|"||g')" - DESC="$(echo $DESC | sed 's/^[ \t]*//;s/[ \t]*$//')" + DESC="$(sed -n '/<h4>.*/,/*.<\/h4>/{p;q;}' "$POST" | + sed -e 's/<[^>]\+>/ /g' -e 's|<h4>||g' -e 's|</h4>||g' -e 's|"||g' -e 's/^[ \t]*//;s/[ \t]*$//')" builditem "$POST" done combine |
