in reply to Re^5: Slicing the output of a command
in thread Slicing the output of a command
You're correct, however, marioroy's point holds. When head has read its 4 lines it closes the pipe and effectively prevents cat (or type or copy etc.) from reading further.
(That doesn't stop it from be a Useless use of cat though.)
|
|---|