sdfg
This commit is contained in:
parent
c2f8e8e028
commit
9ba9b9cc8c
1 changed files with 2 additions and 2 deletions
|
@ -188,7 +188,7 @@ function filter_entries {
|
|||
# https://unix.stackexchange.com/questions/353321/remove-all-duplicate-word-from-string-using-shell-script
|
||||
# entfernt doppelte eintraege innerhalb einer zeile
|
||||
marked_entries=$(echo marked_entries | xargs -n1 | sort -u | xargs | sed -r 's/\s/\, /g')
|
||||
echo $marked_entries
|
||||
echo $marked_entries #d
|
||||
done
|
||||
}
|
||||
function mark_as_read {
|
||||
|
@ -198,7 +198,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: $marked_entries"
|
||||
echo "[DEBUG] marked entry ids:"
|
||||
echo "$marked_entries"
|
||||
fi
|
||||
# wenn NICHT leer
|
||||
|
|
Loading…
Reference in a new issue