Debian Codegraph @

tests/functional/cylc-cat-log/05-remote-tail/bin/my-tailer.sh

raw
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() }'