<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
if doing it sort of manually, wc -l to get a line count, then head
(total - n) for the rest?<br>
<br>
<br>
<div class="moz-cite-prefix">On 2015-03-04 12:36 PM, Kevin McGregor
wrote:<br>
</div>
<blockquote
cite="mid:CACBFUzjVrA6XY1nZFT8s4DqFWNtbbUFp_12W3U+U-YfdzFP8TQ@mail.gmail.com%3E%20(sfid-20150304_203651_430918_14636AD3)"
type="cite">
<div dir="ltr">Can someone help me out? I'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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Roundtable mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Roundtable@muug.mb.ca">Roundtable@muug.mb.ca</a>
<a class="moz-txt-link-freetext" href="http://www.muug.mb.ca/mailman/listinfo/roundtable">http://www.muug.mb.ca/mailman/listinfo/roundtable</a>
</pre>
</blockquote>
<br>
</body>
</html>