bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

not a bug. feature suggestion for head and tail


From: Pablo Mayrgundter
Subject: not a bug. feature suggestion for head and tail
Date: Tue, 05 Jun 2001 17:06:22 -0400
User-agent: Mozilla/5.0 (X11; U; Linux 2.2.18 i686; en-US; m18) Gecko/20010131 Netscape6/6.01

Would appreciate an alternative addressee for this.

I propose the added feature for head and tail (GNU textutils) of inverted functioning by the use of the "-x" flag.

e.g.:

> cat file.txt
1
2
3
> head -1 file.txt
1
> head -1 -x file.txt
2
3
>

and equivalently for tail.

It's a simple addition, and would be very useful for grabbing the other part of a file for either util.

Pablo Mayrgundter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]