blob: 285024a94e6d83dcd28add481987ca480050c905 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
#!/bin/csh -f
#
# MKTEMP -- Utility script to make a template man page.
#
# Usage: % mktemp <taskname>
#
# Mike Fitzpatrick, NOAO, Nov 2011
set tlc = $1
set Tlc = `echo $1 | tr a-z A-Z`
cat << EOF_TEMPLATE > /tmp/t$$
.\" @(#)task.1 1.0 Feb-2013 MJF
.TH TASK 1 "Feb 2013" "VOClient Package"
.SH NAME
task \- short description
.SH SYNOPSIS
\fBtask\fP [\-\fopts\fP] file
.SH OPTIONS
The \fItask\fP application accepts the following options:
.TP 8
.B \-h, --help
Print a help summary to the terminal and exit. No processing is done
following this flag.
.SH DESCRIPTION
The \fItask\fP application ......
.PP
More descriptions .....
.SH SUB-DESCRIPTION
More useful stuff .......
.SH RETURN STATUS
On exit the \fBtask\fP task will return a zero indicating success, or a
one indicating an error.
.SH EXAMPLES
.TP 4
1) Queury for ....
.nf
% task .....
.fi
.SH BUGS
No known bugs with this release.
.SH Revision History
Feb 2013 - First public release
.SH Author
Michael Fitzpatrick (fitz@noao.edu), Feb 2013
.SH "SEE ALSO"
voregistry, votinfo, votpos, votsort, votstat
EOF_TEMPLATE
cat /tmp/t$$ | sed -e "s/task/${tlc}/g" -e "s/TASK/${Tlc}/g" > $1.man
/bin/rm -rf /tmp/t$$
|