Can someone help me out? I'm too tired to think straight.

Is there an easy/short way to get all BUT the last n lines of a text file/input? All I can think of is reversing the input line order and tail +n or something like that. FYI the input is not very big.

Kevin