I am trying to get libnotify (notify-send) to pop-up a notification once a certain character is found while I tail a log file.
Without grep it works fine ...
Here is my code:
tail -f /var/log/mylogfile | grep ">" | while read line; do notify-send "CURRENT LOGIN" "$line" -t 3000; done
When I include grep it passes nothing to notify-send. The code above I modified from https://ubuntuforums.org/showthread.php?t=1411620
Also, how can I change the font size?