[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Not a bug, a wish
From: |
Jim Meyering |
Subject: |
Re: Not a bug, a wish |
Date: |
Thu, 27 Mar 2008 23:43:43 +0100 |
Didi <address@hidden> wrote:
> So just to clarify would a invert option do the job. So basically if
> you specify head -i or --invert you would print everything except the
> head.
>
> so if you want to strip out the first line of a file you could do:
> head -n1 -i
"tail -n +2" already does that.
> Same of course for tail. A little bit like grep -v. What to the
"head -n -1" prints what "tail -1" omits.
> maintainers say? (Jim???) Would something like this be committed? This
> is in my eyes a more "do one thing wright" approach than one big
> program to stip out head and tail.
When there are already easy (or even slightly involved) ways to perform
a task with existing programs, it's hard to argue for a new program.