~ubuntu-branches/ubuntu/quantal/libtemplate-perl/quantal

« back to all changes in this revision

Viewing changes to html/old/tools/tpage.html

  • Committer: Package Import Robot
  • Author(s): Benjamin Mako Hill
  • Date: 2012-04-08 19:06:29 UTC
  • mfrom: (0.7.1) (0.5.2) (5.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20120408190629-wbcbs2ea39mex6lt
Tags: 2.24-1
* New upstream release (Closes: #664561)
* Bump Standards-Version to 3.9.3
* Changed to the short description to mention the term "Template
  Toolkit". (LP: #688836)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
3
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
 
4
<html>
 
5
  <head>
 
6
    <title>Template::Tools::tpage</title>
 
7
    <link rel="stylesheet" type="text/css" href="../css/blue.css" title="Clear Blue">
 
8
    <link rel="alternate stylesheet" type="text/css" href="../css/orange.css" title="Clear Orange">
 
9
    <link rel="alternate stylesheet" type="text/css" href="../css/green.css" title="Clear Green">
 
10
    <link rel="alternate stylesheet" type="text/css" href="../css/purple.css" title="Clear Purple">
 
11
    <link rel="alternate stylesheet" type="text/css" href="../css/grey.css" title="Clear Grey">
 
12
    <!--[if IE 6]>
 
13
    <link rel="stylesheet" type="text/css" href="../css/ie6.css" />
 
14
    <![endif]-->
 
15
    <link rel="stylesheet" type="text/css" href="/css/print.css" media="print">
 
16
    <script type="text/javascript" src="../js/tt2.js"></script>
 
17
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
 
18
    <meta name="author" content="Andy Wardley">
 
19
  </head>
 
20
  <body id="body"> 
 
21
    <div id="layout">
 
22
        <div id="header">
 
23
          <a href="../index.html" id="logo" alt="" title="Click for the Home Page"><span class="alt">TT2 Home Page</span></a>
 
24
          <ul id="trail">
 
25
            <li><a href="../tools/index.html">Tools</a></li>
 
26
            <li class="last"><a href="../tools/tpage.html">tpage</a></li>
 
27
          </ul>
 
28
          <div class="controls">
 
29
            <a href="#" class="menu show" onclick="widescreen_off(); return false" title="Show Menu">
 
30
              <span class="about">Click to view the menu.  It's very nice.</span>
 
31
            </a>
 
32
            <a href="#" class="menu hide" onclick="widescreen_on();  return false" title="Hide Menu">
 
33
              <span class="about">Click to hide the menu and go all widescreen!</span>
 
34
            </a>
 
35
          
 
36
          <div class="pager">
 
37
            <span class="go back">Back<span class="about">No, you can't go back.  You're silly to even think that you could.</span></span>
 
38
            <a href="../tools/index.html" title="Template::Tools" class="go up">Up<span class="about"><h4>Template::Tools</h4>Command Line Tools for the Template Toolkit</span></a>
 
39
            <a href="../tools/ttree.html" title="Template::Tools::ttree" class="go next">Next<span class="about"><h4>Template::Tools::ttree</h4>Process entire directory trees of templates</span></a>
 
40
          </div>
 
41
          </div>
 
42
          <h1 class="headline">Template::Tools::tpage</h1>
 
43
          <h2 class="subhead">Process templates from command line</h1>
 
44
        
 
45
        </div>
 
46
        <div id="page">
 
47
          <div id="sidebar">
 
48
            <a href="../index.html" id="logo"></a>
 
49
            <div id="menu">
 
50
              <ul class="menu">
 
51
                <li class="l0 first"><a href="../manual/index.html">Manual</a></li>
 
52
                <li class="l0"><a href="../modules/index.html">Modules</a></li>
 
53
                <li class="l0"><a href="../tools/index.html" class="warm">Tools</a></li>
 
54
                <li class="l1"><a href="../tools/tpage.html" class="warm">tpage</a></li>
 
55
                <li class="l1"><a href="../tools/ttree.html">ttree</a></li>
 
56
                <li class="l0 last"><a href="../tutorial/index.html">Tutorial</a></li>
 
57
              </ul>
 
58
              <div class="foot"></div>
 
59
            </div>
 
60
          </div>
 
61
          <div id="content">
 
62
          <div class="section">
 
63
            <div class="head">
 
64
              <h1 id="contents" onclick="switch_section(this)" title="Click title to show/hide section content.">Contents</h1>
 
65
              <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
 
66
            </div>
 
67
            <div class="body">
 
68
              <ul class="toc">
 
69
                  <li class=""><a href="#USAGE">USAGE</a></li>
 
70
                  <li class=""><a href="#DESCRIPTION">DESCRIPTION</a></li>
 
71
                  <li class=""><a href="#AUTHOR">AUTHOR</a></li>
 
72
                  <li class=""><a href="#COPYRIGHT">COPYRIGHT</a></li>
 
73
                  <li class=""><a href="#SEE_ALSO">SEE ALSO</a></li>
 
74
              
 
75
              </ul>
 
76
            </div>
 
77
          </div>
 
78
          
 
79
                <div class="pod">
 
80
            <div class="section">
 
81
              <div class="head">
 
82
                <h1 id="USAGE" onclick="switch_section(this)" title="Click title to show/hide section content.">USAGE</h1>
 
83
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
 
84
              </div>
 
85
              <div class="body">
 
86
                <pre>tpage [ --define var=value ] file(s)</pre>
 
87
              </div>
 
88
            </div>
 
89
            <div class="section">
 
90
              <div class="head">
 
91
                <h1 id="DESCRIPTION" onclick="switch_section(this)" title="Click title to show/hide section content.">DESCRIPTION</h1>
 
92
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
 
93
              </div>
 
94
              <div class="body">
 
95
                <p>
 
96
                      The <b>tpage</b> script is a simple wrapper around the Template Toolkit
 
97
                      processor. Files specified by name on the command line are processed in
 
98
                      turn by the template processor and the resulting output is sent to STDOUT
 
99
                      and can be redirected accordingly. e.g.
 
100
                    </p>
 
101
                    <pre>tpage myfile &gt; myfile.out
 
102
tpage header myfile footer &gt; myfile.html</pre>
 
103
                    <p>
 
104
                      If no file names are specified on the command line then <b>tpage</b> will
 
105
                      read STDIN for input.
 
106
                    </p>
 
107
                    <p>
 
108
                      The <code>--define</code> option can be used to set the values of
 
109
                      template variables. e.g.
 
110
                    </p>
 
111
                    <pre>tpage --define author="Andy Wardley" skeleton.pm &gt; MyModule.pm</pre>
 
112
                    <p>
 
113
                      See <a href="../modules/Template.html">Template</a> for general
 
114
                      information about the Perl Template Toolkit and the template language and
 
115
                      features.
 
116
                    </p>
 
117
              </div>
 
118
            </div>
 
119
            <div class="section">
 
120
              <div class="head">
 
121
                <h1 id="AUTHOR" onclick="switch_section(this)" title="Click title to show/hide section content.">AUTHOR</h1>
 
122
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
 
123
              </div>
 
124
              <div class="body">
 
125
                <p>
 
126
                      Andy Wardley &lt;abw@wardley.org&gt;
 
127
                    </p>
 
128
                    <p>
 
129
                      <a href="http://wardley.org/">http://wardley.org/</a>
 
130
                    </p>
 
131
              </div>
 
132
            </div>
 
133
            <div class="section">
 
134
              <div class="head">
 
135
                <h1 id="COPYRIGHT" onclick="switch_section(this)" title="Click title to show/hide section content.">COPYRIGHT</h1>
 
136
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
 
137
              </div>
 
138
              <div class="body">
 
139
                <p>
 
140
                      Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved.
 
141
                    </p>
 
142
                    <p>
 
143
                      This module is free software; you can redistribute it and/or modify it
 
144
                      under the same terms as Perl itself.
 
145
                    </p>
 
146
              </div>
 
147
            </div>
 
148
            <div class="section">
 
149
              <div class="head">
 
150
                <h1 id="SEE_ALSO" onclick="switch_section(this)" title="Click title to show/hide section content.">SEE ALSO</h1>
 
151
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
 
152
              </div>
 
153
              <div class="body">
 
154
                <p>
 
155
                      <a href="#section_ttree">Template::Tools::ttree</a>
 
156
                    </p>
 
157
              </div>
 
158
            </div>
 
159
            
 
160
            </div></div>
 
161
          <br class="clear" />
 
162
          <div class="pageinfo">
 
163
            /tools/tpage.html last modified 10:55:13 31-May-2007
 
164
          </div>
 
165
        </div>
 
166
        
 
167
        <div id="footer">
 
168
          <a href="http://opensource.org/" class="osi"></a>
 
169
          <div class="controls">
 
170
          <div class="pager">
 
171
            <span class="go back">Back<span class="about"></span></span>
 
172
            <a href="../tools/index.html" title="Template::Tools" class="go up">Up<span class="about"><h4>Template::Tools</h4></span></a>
 
173
            <a href="../tools/ttree.html" title="Template::Tools::ttree" class="go next">Next<span class="about"><h4>Template::Tools::ttree</h4></span></a>
 
174
          </div>
 
175
          </div>
 
176
          <div class="copyright">
 
177
            Copyright &copy; 1996-2007 <a href="http://wardley.org/">Andy Wardley</a>.  All Rights Reserved.
 
178
          </div>
 
179
          <div class="licence">
 
180
            The <a href="http://template-toolkit.org/">Template Toolkit</a> is <a href="http://opensource.org/">Open Source</a> software.
 
181
            You can redistribute and/or modify it under the terms of the <a href="http://www.opensource.org/licenses/gpl-license.php">GNU Public Licence</a>
 
182
            or the <a href="http://www.opensource.org/licenses/artistic-license.php">Perl Artistic Licence</a>.
 
183
          </div>
 
184
        </div>
 
185
        <div id="palette">
 
186
          <ul>
 
187
            <li class="first"><a href="#" class="blue" onclick="set_style('Clear Blue')"></a></li>
 
188
            <li><a href="#" class="orange" onclick="set_style('Clear Orange')"></a></li>
 
189
            <li><a href="#" class="green" onclick="set_style('Clear Green')"></a></li>
 
190
            <li><a href="#" class="purple" onclick="set_style('Clear Purple')"></a></li>
 
191
            <li><a href="#" class="grey" onclick="set_style('Clear Grey')"></a></li>
 
192
          </ul>
 
193
        </div>
 
194
    </div>  </body>
 
195
</html>