Salane wrote:
After seeing the program dog( as in a more powerful form of cat) in contribs I was wondering, what happened to the program "more"?
There is an oddity between more and less in MDK 9.0:

[ron@small ron]$ which more
/bin/more
[ron@small ron]$ ls -l /bin/more
-rwxr-xr-x 1 root root 26328 Sep 3 23:08 /bin/more*
[ron@small ron]$ which less
/usr/bin/less
[ron@small ron]$ ls -l /usr/bin/less
-rwxr-xr-x 1 root root 118 Aug 14 13:28 /usr/bin/less*
[ron@small ron]$ ldd /bin/more
libtermcap.so.2 => /lib/libtermcap.so.2 (0x40039000)
libc.so.6 => /lib/i686/libc.so.6 (0x4003d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[ron@small ron]$ ldd /usr/bin/less
not a dynamic executable
[ron@small ron]$kwrite /usr/bin/less
#!/bin/sh

#export LESSCHARSET="${LESSCHARSET:-utf-8}"
export LESSCHARSET="${LESSCHARSET:-koi8-r}"
exec less.bin "$@"

[ron@small ron]$ ls -l /usr/bin/less.bin
-rwxr-xr-x 1 root root 115480 Aug 14 13:28 /usr/bin/less.bin*
[ron@small ron]$

1. Different directory placement.
2. less has much more functionality, all done in a magical only118 bytes, so yes, it is less! <g>.
3. Aha! - less.bin is bigger than more, in fact you get 4.4 times more <g>.

--
Ron. [Melbourne, Australia]
20030119 Get Fastest Mandrake downloader, English-only,
from: http://members.optusnet.com.au/ronst/
No Penguin Liberation Front (plf) access - no plf rsync server.




Reply via email to