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

Re: view more or less?



Around 03:41pm on Sunday, April 05, 2009 (UK time), Garry T. Williams scrawled:

> On Friday 03 April 2009 04:00:45 Steve Searle wrote:
> > round 03:18am on Friday, April 03, 2009 (UK time), Paul Ward 
> scrawled:
> > > I was wanting to look at a file the other day and my colleague
> > > insisted I do not use less but view instead.
> 
> [snip]
> 
> > Also you can't pipe into it, e.g you can't use view to do something
> > like:
> >
> > $ dmesg | less
> 
> Of course you can:
> 
>     $ dmesg|view -
>     Vim: Reading from stdin...
>     $

And then I get:

Vim: Warning: Input is not from a terminal
Vim: Error reading input, exiting...
Vim: preserving files...
Vim: Finished.

-- 
 
(o<     www.stevesearle.com
//\     Powered by Fedora
V_/_    No MS products were used in the creation of this message

 16:49:41 up 2 days,  8:04,  1 user,  load average: 0.03, 0.08, 0.03

Attachment: pgpLutBBofCZF.pgp
Description: PGP signature


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