File: manscript.csh

package info (click to toggle)
libwn6 6.0-12
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,004 kB
  • ctags: 3,903
  • sloc: ansic: 45,078; makefile: 958; csh: 274; sh: 26
file content (12 lines) | stat: -rwxr-xr-x 229 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/csh -f

set nonomatch

foreach manfile (*/*.man)
  if ( ! -e ../doc/man/`basename $manfile` ) then
    echo "linking $manfile"
    rm -f ../doc/man/`basename $manfile`
    ln -s ../../acc/$manfile ../doc/man/
  endif
end