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

Re: less v. more ( & else? )



On Wed, Aug 02, 2000 at 12:06:57AM -0700, S. Champ wrote:
> On 02 Aug 2000, Kenshi Muto <kmuto@debian.org> wrote:
> > Many pager software supports gzip-ed file.
> > less, jless, lv, ...
> > (But 'more' command doesn't support it)

Hmm, maybe you are using a different version than I do:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  less           358-1          A file pager program, similar to more(1)

michael@feivel:~$ less foo.gz
^_<8¼Ú<87>9^@^Cfoo^@KJ,â^B^@é³¢^D^D^@^@^@

but

michael@feivel:~$ zless foo.gz
------> foo.gz <------
bar

and

michael@feivel:~$ zmore foo.gz
------> foo.gz <------
bar

Note that PAGER is not set on my system so these two really use different
pagers.

> 2)	 I'm curious about why 'more' was chosen, rather than 'less' ( or others )
> for the bare debian 'potato' ( and, i'm guessing, other releases')
> installation-packages.

How about this:

michael@feivel:~$ stat /usr/bin/less /bin/more
  File: "/usr/bin/less"
  Size: 79388      Blocks: 158       Regular File
...

  File: "/bin/more"
  Size: 24304      Blocks: 50        Regular File
...

See the size difference?

Michael
-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!



Reply to: