[wellylug] cat README | more ???

David Antliff dave.antliff at paradise.net.nz
Wed Nov 3 13:46:25 NZDT 2004


On Wed, 3 Nov 2004, jumbophut wrote:
> But I use 'cat | less' a lot more than I write about why I use 'cat |
> less', so a few more wasted keystrokes for the exceptional case is
> fine.

One nice feature of 'less <file>' is you can hit 'v' and edit the file 
with whatever envvar EDITOR is set to (or vi by default). You obviously 
can't do this with 'cat <file> | less'

-- 
David




More information about the wellylug mailing list