sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #03504
Overview
Hej
jeg har lavet et lille script, der kan printe whatis databaserene på
et RH system. Meget god til at få ideer efter hvilke kommandoer der er
tilgængelige...
---------- help ---------------------------------
#!/bin/sh
if [ ! $1 ]; then
set $1 1
fi
awk '/^MANPATH[[:space:]][[:alpha:]]*/ { print $2 "/whatis" }' < \
/etc/man.config | xargs grep -h $1
--------------------------------------------------
hyg jer
--
Servicepack SR12 for NT. Available at www.linux.org
-- Morten S. Nielsen mailto:msn@xxxxxxxxxx
--
-- | Linux - the choice of a GNU generation |
-- | Skaane Sjaelland Linux User Group |
-- | at http://www.sslug.dk |