1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh -e . t/common.sh printf '%s\n' > file \ "${HEAD} head" \ head \ "${TAIL}" \ tail \ "${END} tail" printf '%s\n' > file.expected \ tail normal --select-tail --no-reduce file also_interactive t