Lines Matching +full:exec +full:- +full:sh
27 package="mtools-"`grep mversion patchlevel.c | sed 's/^.*"\(.*\)";/\1/'`
35 outfile=`echo $command | tr '[A-Z]' '[a-z]'`.1
36 exec 4>&1
37 exec >$outfile
42 echo .SH Name
43 egrep -i "^$command " cmdname | fgrep -v '#'
44 #echo ".SH Description"
46 cat man-warning.texi mtools.texi man-warning-end.texi |
47 egrep -v '@end copying|@copying|@insertcopying' |
49 -e "/^@c\(omment\)\? skipskipskip/,/^@node $command/d" \
50 -e "/^@node [^,]*, [^,]*, $command, Commands$/,/^@bye/d" \
51 -e "/^@node [^,]*, [^,]*, Commands/,/^@bye/d" \
52 -e 's/^@section/@chapter/' \
53 -e 's/^@subs/@s/' \
54 -e 's/^@chapter.*$/@chapter Description/' \
55 -e 's/^@section/@chapter/' \
56 -e 's/^@subs/@s/' \
57 -e 's/^@c\(omment\)\? xMANoptions/@chapter Options/' \
58 -e "s/^@c\(omment\)\? MAN/@MAN/" |
59 texi2roff -ma |
60 sed -f strip-pp.sed |
61 sed -e '/^\.iX/d'
62 exec 1>&4
63 # echo ".SH See Also"
68 for name in `fgrep -v '#' cmdname | cut -f1 -d\ ` ; do
72 rm -f mtools.tmpl.1
73 exec >mtools.tmpl.1
77 echo .SH Name
78 echo "mtools - utilities to access DOS disks in Unix."
80 egrep -v '@end copying|@copying|@insertcopying' |
82 -e "1,/^@c\(omment\)\? MANstart 1/d" \
83 -e '/^@c\(omment\)\? MANskip 1/,/^@c\(omment\)\? MANend-skip 1/d' \
84 -e '/^@c\(omment\)\? MANend-skip 5/d' \
85 -e '/^@c\(omment\)\? MANend 5/d' \
86 -e "s/^@c\(omment\)\? MAN/@MAN/" \
87 -e "s/@value{VERSION}/$VERSION/g" \
88 -e "s%@value{SYSCONFDIR}%SYSCONFDIR%g" |
89 texi2roff -ma |
90 sed -f strip-pp.sed |
91 sed -e '/^\.iX/d'
93 echo .SH See also
117 rm -f mtools.tmpl.5
118 exec >mtools.tmpl.5
122 echo .SH Name
123 echo "mtools.conf - mtools configuration files"
125 egrep -v '@end copying|@copying|@insertcopying' |
127 -e '1d' \
128 -e '/^@c\(omment\)\? MANskip 5/,/^@c\(omment\)\? MANend-skip 5/d' \
129 -e '/^@c\(omment\)\? MANend-skip 1/d' \
130 -e '/^@c\(omment\)\? MANskip 1/d' \
131 -e "s/^@c\(omment\)\? MAN/@MAN/" \
132 -e "/@include/ d" \
133 -e "s/@value{VERSION}/$VERSION/g" \
134 -e "s/@value{UPDATED}/$UPDATED/g" \
135 -e "s%@value{SYSCONFDIR}%SYSCONFDIR%g" \
136 -e "/@top/d" \
137 -e "/@format/d" \
138 -e "/@end format/d" \
139 -e "/@ifnottex/d" \
140 -e "/@end ifnottex/d" |
141 texi2roff -ma |
142 sed -f strip-pp.sed |
143 sed -e '/^\.iX/d' -e 's/\.SS Description/.SH Description/'
145 echo .SH See also