+Prevent binary files like 'wtmp' or 'utmp': /.tmp$
authorshort <>
Mon, 16 May 2005 05:16:02 +0000 (05:16 +0000)
committershort <>
Mon, 16 May 2005 05:16:02 +0000 (05:16 +0000)
bin/taillog

index a1e72e5..9c7a0be 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$'` "$@"
+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$'` "$@"