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:
2d1539d
)
+Support: ~/.taillog.addon
author
lace
<>
Wed, 28 Jun 2006 17:50:21 +0000
(17:50 +0000)
committer
lace
<>
Wed, 28 Jun 2006 17:50:21 +0000
(17:50 +0000)
bin/taillog
patch
|
blob
|
history
diff --git
a/bin/taillog
b/bin/taillog
index
9c7a0be
..
f6a48e6
100755
(executable)
--- a/
bin/taillog
+++ b/
bin/taillog
@@
-1,2
+1,2
@@
#! /bin/bash
#! /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$')
"$@"