aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/man-exp.xml
blob: 1e429c72da28c62dc93d7c578dfdac9222c968b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<sect2>
<title>Command explanations</title>

<para>
<userinput>sed -e 's|in \(.*\$PATH\)|in `echo \1`|' configure...:</userinput>
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.
</para>

<para>
<userinput>-default:</userinput> This configures the man package with
default settings.
</para>

<para>
<userinput>sed s/AWK=/"AWK=\/usr\/bin\/mawk"/ /usr/sbin/makewhatis &gt;
makewhatis-new:</userinput> This modifies /usr/sbin/makewhatis's AWK
variable and fills in the location of the mawk program.
</para>

<para>
<userinput>chmod 755 /usr/sbin/makewhatis:</userinput> This makes the
makewhatis script executable again.
</para>

</sect2>