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:
ed4cbf9
)
host0 state.
author
lace
<>
Fri, 16 Jul 2010 12:20:12 +0000
(12:20 +0000)
committer
lace
<>
Fri, 16 Jul 2010 12:20:12 +0000
(12:20 +0000)
bin/taillog
patch
|
blob
|
history
diff --git
a/bin/taillog
b/bin/taillog
index
f6a48e6
..
b58d0e0
100755
(executable)
--- a/
bin/taillog
+++ b/
bin/taillog
@@
-1,2
+1,2
@@
#! /bin/bash
#! /bin/bash
-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$') "$@"
+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\|/var/log/acpid\|/var/log/btmp\|/var/log/maillog\)$';echo "$*"|tr ' ' '\n')|sort -u` # |grep -v ': bio too big device md3 (248 > 240)$'