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

Re: view more or less?



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.

I would be wary of colleagues who insist you do something - advise maybe
but why should he insist.

> I thought about this but could not think of a good reason to use view over less.

I assume by view he means looking at the file through the vim (vi)
editor in read only mode?  Although there is nothing wrong with this,
you do need to know some vi commands to make use of it.

Also you can't pipe into it, e.g you can't use view to do something
like:

$ dmesg | less

In short they are different tools that have some overlap in what they
can do, but they are not functionally equivalent.

Steve

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

 08:53:26 up 8 min,  1 user,  load average: 0.01, 0.14, 0.12

Attachment: pgp5v3rzNUTQ2.pgp
Description: PGP signature


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