Subversion Repositories lagranto.um

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 michaesp 1
#!/bin/csh
2
 
3
set dir = ${LAGRANTO}/docu/
4
set viewer = xpdf
5
 
6
if ( (${#argv} == 0) ) then
7
    nroff -man ${dir}/man/lagrantohelp.0 | less
8
    exit 0
9
endif
10
 
11
set mode = $1
12
 
13
if ( "$mode" == "future" ) then
14
    nroff -man ${dir}/man/futureplans.0 | less
15
    exit 0
16
endif
17
 
18
if ( "$mode" == "tutorial" ) then
19
    ${viewer} ${dir}/tutorial/tutorial.pdf 
20
    exit 0
21
endif
22
 
23
if ( "$mode" == "reference" ) then
24
    ${viewer} ${dir}/reference/reference.pdf
25
    exit 0
26
endif
27
echo ${mode}
28
 
29
if ( "$mode" == "presentation" ) then
30
    ${viewer} ${dir}/presentation/presentation.pdf
31
    exit 0
32
endif
33
echo ${mode}
34
 
35
nroff -man ${dir}/man/${mode}.0 | less
36
exit 0