Command explanations
sed -e 's|in \(.*\$PATH\)|in `echo \1`|' configure...:
This fixes a little problem in man's configure. The configure-script
looks for files like cat, gunzip, bzip2, etc. in a for-loop that
walks through a specified path. The splitting of the path is not done
correctly and needs that fix.
-default: This configures the man package with
default settings.
sed s/AWK=/"AWK=\/usr\/bin\/mawk"/ /usr/sbin/makewhatis >
makewhatis-new: This modifies /usr/sbin/makewhatis's AWK
variable and fills in the location of the mawk program.
chmod 755 /usr/sbin/makewhatis: This makes the
makewhatis script executable again.