Removing DATE from this script since it does not work; only ever uses the DATE that script was run.
This commit is contained in:
parent
8cfa87a3e5
commit
46e758679e
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue