From 40d0aa2883bd63a4bfd20c0406c8ff53e1640b4d Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 25 Jul 2019 19:32:44 -0400 Subject: [PATCH] RSS delete fix --- lb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lb b/lb index c2a23e7..c55a04f 100755 --- a/lb +++ b/lb @@ -56,7 +56,7 @@ publish() { \ confirm() { read -erp "Really $1 \"$base\"? (y/N) " choice && echo "$choice" | grep -i "^y$" >/dev/null || exit 1 ;} delete() { \ - sed -i "//!ba};/#$base.html<\\/guid/d" $rssfile + sed -i "//!ba};/#$base<\\/guid/d" $rssfile sed -i "/
/{:a;N;/<\\/div>/!ba};/id='$base'/d" $blogfile sed -i "/
  • .*/d" $indexfile rm "$webdir/blog/$basefile" 2>/dev/null && printf "Old blog entry removed.\\n" ;}