William Ballard wrote:
> You can specify "tail -n+5" to output "all but the first 5 lines".
> But "head" has no such option to output "all but the last N lines."
Perhaps you missed this from the head man page:
-n, --lines=[-]N
print the first N lines instead of the first 10; with the lead-
ing `-', print all but the last N lines of each file
Adam