[BusyBox] man for busybox

Roberto A. Foglietta me at roberto.foglietta.name
Tue Jun 7 12:03:28 UTC 2005


Hi all folks,

here you are, a suggestion how to have a simple man for busybox commads

root at embeslax:/bin# ls -al man
-rwxr-xr-x    1 root     root           54 Jun  6 04:37 man
root at embeslax:/bin# cat man
#!/bin/sh
bzcat /bin/busybox.man.bz2 | less -p "^$1$"

the bz2 file is a simple text which I cut&pasted from here

http://www.busybox.net/downloads/BusyBox.html

root at embeslax:/bin# ls -al /bin/busybox.man.bz2
-rw-r--r--    1 root     root        27701 Jun  6 04:33 /bin/busybox.man.bz2

if you like my idea this man is less than 28kb and could be produced if
it is selected in the config.


P.S.: grep -w could be very usefull...
;-)


  Cheers,
-- 
Roberto A. Foglietta
http://www.roberto.foglietta.name
http://www.lugge.net
ICQ#: 108718257



More information about the busybox mailing list