X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=bin%2Ftaillog;h=b58d0e0e7d8ce80d672db17683a5f47dc81ed2f2;hp=a1e72e536a290bf44e6118c3f98d46cd97d9ab22;hb=31ce090f436babfc7f4819096cfff9cc34bd667c;hpb=1b871dd7506330eb341655325939cc1beb9bc10f diff --git a/bin/taillog b/bin/taillog index a1e72e5..b58d0e0 100755 --- 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\|/var/log/acpid\|/var/log/btmp\|/var/log/maillog\)$';echo "$*"|tr ' ' '\n')|sort -u` # |grep -v ': bio too big device md3 (248 > 240)$'