commit b423f08b76ee9a1d79078b36f75b628b88c24a0c
parent 2ce80f9f70675d6c5cd08bfcd7e2a517d1687347
Author: Matsuda Kenji <info@mtkn.jp>
Date: Wed, 21 Dec 2022 18:40:06 +0900
fix render_rss
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/kagero b/bin/kagero
@@ -84,7 +84,7 @@ render_rss(){
echo '<guid>'"$url$file"'</guid>'
echo '<pubDate>'"$date"'</pubDate>'
printf '<description><![CDATA['
- cat "$man$file"
+ cat "$man$file" | sed '/\\$/{:a;N;/\\$/{$!ba;};s/\\\n[ ]*//g;}'
echo ']]></description>'
echo '</item>'
done