Hello,

  I would like to suggest an improvement to head which
would make it more consistent with tail.  I suggest adding
the ability to specify a number with the first character
being + to the -n (--liines=N) option so that head will
display all the lines except for the last n lines.

  This is not a standard feature and I have never seen it
on any of the unixs, but it seems like it would help make
head more complete.  I have often needed this feature
myself and usually resort to writing a small awk script.  

  If there are no objections to such a feature being
included in the gnu head, I would gladly port the code from
the gnu tail to head in order to implement the feature and 
submit a patch to head.


-Martin


  

_______________________________________________
Bug-textutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-textutils

Reply via email to