#!/bin/bash# Author: Alice Kaerast <alice@kaerast.info> t_Log "$0 test tail command" cat << EOF > /var/tmp/tail-test12345EOF tail -n1 /var/tmp/tail-test | grep -q 5t_CheckExitStatus $? # Cleanuprm /var/tmp/tail-test