Removing DATE from this script since it does not work; only ever uses the DATE that script was run.

This commit is contained in:
Derek Taylor 2023-01-02 14:37:50 -06:00
parent 8cfa87a3e5
commit 46e758679e
1 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,6 @@ dbus-monitor "interface='org.freedesktop.Notifications'" |\
grep --line-buffered "string" |\
grep --line-buffered -e method -e ":" -e '""' -e urgency -e notify -v |\
grep --line-buffered '.*(?=string)|(?<=string).*' -oPi |\
grep --line-buffered -v "sender-pid" |\
grep --line-buffered -v '^\s*$' |\
xargs -I '{}' \
printf "---$( date )---\n"{}"\n" >> $logfile
xargs -I '{}' echo {} >> "$logfile"