<div dir="ltr">Can someone help me out? I&#39;m too tired to think straight.<div><br></div><div>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.</div><div><br></div><div>Kevin</div></div>