From 07c2468f3bcb5a90bf722356470aa91c0a7d0104 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 7 May 2024 02:09:13 +0200 Subject: [PATCH] ff --- filter.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/filter.sh b/filter.sh index 226a2ce..dfae59d 100755 --- a/filter.sh +++ b/filter.sh @@ -183,8 +183,10 @@ function filter_entries { # das leerzeichen am anfang ist notwendig, trennt die zahlenwerte # suche in titel marked_entries+=" $(echo "$unread_entries" | jq --arg url "$url" --arg suchbegriff "$suchbegriff" '.entries[] | select(.feed.site_url | ascii_downcase | contains($url)) | select(.title | ascii_downcase | contains($suchbegriff)) | .id' )" + echo $marked_entries #d # suche in content marked_entries+=" $(echo "$unread_entries" | jq --arg url "$url" --arg suchbegriff "$suchbegriff" '.entries[] | select(.feed.site_url | ascii_downcase | contains($url)) | select(.content | ascii_downcase | contains($suchbegriff)) | .id' )" + echo $marked_entries #d fi fi done