File: ctpl.1

package info (click to toggle)
ctpl 0.3.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,500 kB
  • sloc: ansic: 5,892; sh: 5,252; python: 159; makefile: 131; sed: 16
file content (62 lines) | stat: -rw-r--r-- 1,541 bytes parent folder | download | duplicates (7)
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
61
62
.TH CTPL 1 "15 Apr 2010"
.SH NAME
\fBctpl\fP \- CTPL command-line template parsing tool

.SH SYNOPSIS
.B ctpl
[\fIOPTION\fR]... \fIINPUTFILE\fR...
.SH DESCRIPTION
.B ctpl
parses one or more \fIINPUTFILE\fR template against the provided environment and
outputs the result.

.LP
.SH OPTIONS

.TP
\fB\-h\fR, \fB\-\-help\fR
Prints the command line options.

.TP
\fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR
Write output to \fIFILE\fR. If not provided, defaults to stdout.

.TP
\fB\-e\fR, \fB\-\-env\-file\fR=\fIENVFILE\fR
Add environment from \fIENVFILE\fR. This option may appear more than once.

.TP
\fB\-c\fR, \fB\-\-env\-chunk\fR=\fICHUNK\fR
Add environment chunk \fICHUNK\fR. This option may appear more than once.

.TP
\fB\-v\fR, \fB\-\-verbose\fR
Be verbose.

.TP
\fB\-\-version\fR
Print the version information and exit.

.TP
\fB\-\-encoding\fR=\fIENCODING\fR
Specify the encoding of the input and output files. The default encoding is the
system's one.

.SH TEMPLATE AND ENVIRONMENT DESCRIPTION SYNTAX
For the documentation about the syntax of templates and environment
descriptions, see the CTPL library's documentation.

.SH REPORTING BUGS
Report CTPL bugs to ban@herbesfolles.org
.br
CTPL home page: <http://ctpl.tuxfamily.org>

.SH AUTHOR
Colomban Wendling (ban@herbesfolles.org)

.SH COPYRIGHT
Copyright \(co 2010 Colomban Wendling.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.