DragonFly BSD
DragonFly users List (threaded) for 2010-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: less at end of file


From: "Jeremy C. Reed" <reed@xxxxxxxxxxxxx>
Date: Sat, 11 Dec 2010 22:54:53 -0600 (CST)

On Sat, 11 Dec 2010, Pierre Abbat wrote:

> When less gets to the end of file, sometimes it exits, sometimes it 
> doesn't. If I run "man less", it exits at end (this is the -e or -E 
> option), but if I run "man less |less", it doesn't. On Linux (at least 
> all the distros I've used), it doesn't exit at EOF. How come it does 
> on DFly?

less is not more. man uses "more" by default. more and less are same 
binary (but as you can see behaves differently depending which is 
called.) This is historical behavior going back to "more" of 3BSD and 
appears to be same behavior of its predecessor, "cr3".




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