We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d08dc0 commit 1ea88abCopy full SHA for 1ea88ab
bin/tttail.sh
@@ -1,3 +1,3 @@
1
# tee >(head -n1) >/dev/null | >(tail "$@")
2
# 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
+{ { tee /dev/fd/3 | head -n1 >&9; } 3>&1 | tail -qn+2 | tail "$@" >&9; } 9>&1
0 commit comments