coreutils
[Top][All Lists]
Advanced

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

Re: Extend cat to have headers like head/tail


From: Bob Proulx
Subject: Re: Extend cat to have headers like head/tail
Date: Mon, 13 May 2013 11:52:14 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

Andreas Schwab wrote:
> Bob Proulx writes:
> > Erik Auerswald wrote:
> >> Try head -n-0.
> >
> > I like it! 
> 
> This is non-standard.  tail -n+1 is portable.

Yes.  That is better.  (I did know about tail -n+1 but had forgotten
about it.  Thanks for the reminder.)

Bob



reply via email to

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