File: manscript.csh

package info (click to toggle)
libwn6 6.0-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,996 kB
  • ctags: 3,938
  • sloc: ansic: 45,083; makefile: 926; csh: 274; sh: 12
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