git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48ea083
)
+Prevent binary files like 'wtmp' or 'utmp': /.tmp$
author
short
<>
Mon, 16 May 2005 05:16:02 +0000
(
05:16
+0000)
committer
short
<>
Mon, 16 May 2005 05:16:02 +0000
(
05:16
+0000)
bin/taillog
patch
|
blob
|
history
diff --git
a/bin/taillog
b/bin/taillog
index
a1e72e5
..
9c7a0be
100755
(executable)
--- a/
bin/taillog
+++ b/
bin/taillog
@@
-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$
'` "$@"