+Support: ~/.taillog.addon
authorlace <>
Wed, 28 Jun 2006 17:50:21 +0000 (17:50 +0000)
committerlace <>
Wed, 28 Jun 2006 17:50:21 +0000 (17:50 +0000)
bin/taillog

index 9c7a0be..f6a48e6 100755 (executable)
@@ -1,2 +1,2 @@
 #! /bin/bash
-tail -fn0 `file $(find /var/log -name ntpstats -prune -o -type f -print)|grep -v 'data$'|sed 's/:.*//'|grep -v '^/var/log/squid/store.log$\|/.tmp$'` "$@"
+tail -fn0 $(file $(find /var/log $(cat ~/.taillog.addon 2>/dev/null) -name ntpstats -prune -o -type f -print)|grep -v 'data$'|sed 's/:.*//'|grep -v '^/var/log/squid/store.log$\|/.tmp$\|[.]gz$') "$@"