diff --git a/filter.sh b/filter.sh index 636287d..3d6105b 100755 --- a/filter.sh +++ b/filter.sh @@ -185,7 +185,7 @@ function filter_entries { 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' )" fi fi - done < "$MF_FILTERLIST" + done < <($MF_FILTERLIST) } function mark_as_read { # https://stackoverflow.com/questions/3869072/test-for-non-zero-length-string-in-bash-n-var-or-var