Denys Vlasenko | 4fc82e0 | 2010-01-13 22:07:34 +0100 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | cd log/logdir || exit 1 | ||||
Denys Vlasenko | 573ba4e | 2010-01-18 12:25:09 +0100 | [diff] [blame] | 4 | watch -n2 'w=`ttysize w`; h=`ttysize h`; tail -$((h-3)) current 2>&1 | cut -b1-$((w-2))' |