☰
Debian Codegraph
@
8.6.6-1
8.6.5-2
/
/
tests
/
functional
/
cylc-cat-log
/
05-remote-tail
/
bin
/
my-tailer.sh
☽
☼
tests/functional/cylc-cat-log/05-remote-tail/bin/my-tailer.sh
code
plain
raw
GPL-3+
(C) 2008-2016 Hilary Oliver, NIWA
debian/copyright
1
#!/usr/bin/env bash
2
# Modify 'tail' output to prove that cylc used the custom tailer.
3
# Exit immediately, for the test (i.e. don't 'tail -F')
4
FILE="$1"
5
tail -n +1 "${FILE}" | awk '{print "HELLO", $0; fflush() }'