File: man2h

package info (click to toggle)
lrslib 0.73-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,888 kB
  • sloc: ansic: 20,893; sh: 279; makefile: 252; perl: 97; csh: 51
file content (15 lines) | stat: -rwxr-xr-x 312 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/csh
# run this in man folder which contains a html folder with copy of man subfolders: man1 man5 etc
# on Debian install:  sudo apt-get install man2html

cd man1
foreach i (*.1 )
man2html -r < $i >! ../html/man1/$i.html
end

cd ../man5
foreach i (*.5 )
man2html -r < $i >! ../html/man5/$i.html
end

cd ..