Re: "output all but last N lines" command?

From: Adam Aube (aaube01_at_baker.edu)
Date: 12/18/04

  • Next message: : "Re: How to display CMYK tiffs correctly?"
    To: debian-user@lists.debian.org
    Date: Fri, 17 Dec 2004 20:51:46 -0500
    
    

    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

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: : "Re: How to display CMYK tiffs correctly?"

    Relevant Pages

    • Re: "output all but last N lines" command?
      ... William Ballard wrote: ... > Can the list managers unsubscribe him or filter these messages until the ... With his autoresponder being this broken, ... Adam ...
      (Debian-User)
    • The Role of Women
      ... I've had so many thoughts swirling around in my head from the ... responses to this question. ... For Adam was first formed, then Eve. ...
      (soc.men)
    • Re: The Role of Women
      ... I've had so many thoughts swirling around in my head from the ... responses to this question. ... For Adam was first formed, then Eve. ...
      (soc.men)
    • The Role of Women
      ... I've had so many thoughts swirling around in my head from the ... responses to this question. ... For Adam was first formed, then Eve. ...
      (soc.men)
    • Re: OK, so Im board...
      ... wlel. ... be used to add validity to the ToE. ... Once again a point that was made and soared so high over your head that the ... Perhaps you should do yourself a favor and "unsubscribe" ...
      (talk.origins)