d
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details

This commit is contained in:
Michael Grote 2024-05-07 02:22:09 +02:00
parent e2be96f26d
commit 862e5898ad
1 changed files with 1 additions and 2 deletions

View File

@ -156,7 +156,6 @@ function filter_entries {
echo "[INFO] Filtering entries..."
# fuer jede Zeile in $MF_FILTERLIST
echo "$MF_FILTERLIST" | while read -r line; do
echo $line #d
if [[ $MF_DEBUG -eq 1 ]]; then
echo "[DEBUG] set search values"
fi
@ -193,7 +192,7 @@ function mark_as_read {
# der wert muss escaped werden, aber NICHT die variable die uebergeben wird
if [[ $MF_DEBUG -eq 1 ]]; then
echo "[DEBUG] mark entries as read"
echo "[DEBUG] marked entry ids:"
echo "[DEBUG] marked entry ids: $marked_entries"
# https://unix.stackexchange.com/questions/353321/remove-all-duplicate-word-from-string-using-shell-script
# entfernt doppelte eintraege innerhalb einer zeile
echo "$marked_entries" | xargs -n1 | sort -u | xargs | sed -r 's/\s/\, /g'