Skip to content

Commit 1ea88ab

Browse files
committed
FIX: add newline at the end of the file
1 parent 6d08dc0 commit 1ea88ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/tttail.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# tee >(head -n1) >/dev/null | >(tail "$@")
22
# Reference implementation: https://unix.stackexchange.com/questions/28503/how-can-i-send-stdout-to-multiple-commands
3-
{ { tee /dev/fd/3 | head -n1 >&9; } 3>&1 | tail -qn+2 | tail "$@" >&9; } 9>&1
3+
{ { tee /dev/fd/3 | head -n1 >&9; } 3>&1 | tail -qn+2 | tail "$@" >&9; } 9>&1

0 commit comments

Comments
 (0)