|
|
1.1 root 1: :
2:
3: mkdir /usr/man/COHERENT/MLP; chmog 755 bin bin /usr/man/COHERENT/MLP
4:
5:
6: cp tmac.brett /usr/lib
7:
8: List=`ls -r *.r`
9:
10:
11: for Next in $List
12: do
13: NewName=`echo $Next | awk -F. '{print $1}'`
14: echo "$NewName"
15:
16: LIST=""
17: for Next1 in $List
18: do
19: LIST="`echo $Next1 |
20: awk -F. '{if ("'$NewName'" != $1) {printf "%s, ", $1}}'`$LIST"
21: done
22:
23: LIST=`echo "$LIST" | awk '{printf "%s", substr($0,1,(length($0)-2))}'`
24: echo ".br\nSee Also\n.br\n.B \"$LIST\"\n" >/tmp/$$
25:
26:
27: cat $Next /tmp/$$ | nroff -mbrett -x >/usr/man/COHERENT/MLP/$NewName
28:
29: echo "COHERENT/MLP/$NewName $NewName" >>/usr/man/man.index
30: done
31:
32:
33: echo "Updating index"
34: sort -u </usr/man/man.index >/tmp/$$
35: cat /tmp/$$ >/usr/man/man.index
36:
37: rm /tmp/$$
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.