[BACK]Return to makeManDirs CVS log [TXT][DIR] Up to [Development] / inventor / doc / man / ivman

File: [Development] / inventor / doc / man / ivman / makeManDirs (download)

Revision 1.1.1.1 (vendor branch), Tue Aug 15 12:56:12 2000 UTC (17 years, 2 months ago) by naaman
Branch: sgi, MAIN
CVS Tags: start, release-2_1_5-9, release-2_1_5-8, release-2_1_5-10, HEAD
Changes since 1.1: +0 -0 lines

Initial check-in based on 2.1.5 (SGI IRIX) source tree.

#!/bin/csh -f

#
# Prepares command line info to create a man page for the given class name
#
# Usage: makeManDirs className
#

set nonomatch
set toolDir = ../../ivman
set className = $1
set treeFile = $toolDir/manTree

# Get the list of derived classes
set classes = `grep "^$className " $treeFile`

# For each class, find the directory containing the man page. Build
# a final list from the {className,dir} pairs.
set list = ()
foreach class ($classes)
    if (-e */$class.ivm) then
	set path = `echo */$class.ivm`
	set list = ($list $path)
    endif
end

# Print the result
echo $list