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: Sun, 12 May 2013 17:36:09 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

Erik Auerswald wrote:
> Eric Lavarde wrote:
> > to check multiple files I often tend to use 'cat *somefiles*' but it's  
> > all concatenated and difficult to read, so I switch back to 'head  
> > -nSOMETHINGBIG *somefiles*' but it's not optimal and I might miss lines  
> > if a file is bigger than expected.
> 
> Try head -n-0.

I like it!  I did not know about that possibility before.  Thank you
for sharing it.  I would have suggested it if I had known about it.

Bob



reply via email to

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