From: Alexander Barton Date: Tue, 7 Feb 2012 20:28:46 +0000 (+0100) Subject: Search ".remind" file in the home directory X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ConfigScripts.git;a=commitdiff_plain;h=aa7dcef69b644da6604835d1be5b27bd4856f2d8 Search ".remind" file in the home directory And slightly enhance ("filter") output. --- diff --git a/sys/profile b/sys/profile index 29e691c..423c380 100644 --- a/sys/profile +++ b/sys/profile @@ -141,7 +141,8 @@ else # remind(1) type -p remind >/dev/null 2>&1 if [ $? -eq 0 -a -r ~/.remind ]; then - remind -h -g -t5 .remind | grep "^[0-9]" + remind -h -g -t5 ~/.remind | \ + grep -v '^Reminders for ' | grep -v '^$' [ $? -eq 0 ] && echo fi fi