DROP: .- FIRST-. .- 1-----. .- MSGS--. |--DROP--+--------+--+--------+--+--------+---------------------| '- LAST--' '- count-' '- LINES-'
The DROP stage enables you to specify how many messages or lines are to be discarded from the primary output stream. When the specified number of messages or lines are read from the input stream and discarded, all other messages or lines are copied to the primary output stream.
Discarded messages or lines are passed to the secondary output stream, if connected.
DROP terminates when the input stream or both output streams disconnect.
DROP cannot be the first stage.