/usr/share/doc/htp/set.html is in htp 1.16-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>htp on-line reference
: SET
</TITLE>
<link rel="stylesheet" type="text/css" href="styles.css">
<meta name="Generator" content="htp 1.16">
</HEAD>
<body bgcolor="#b0b080">
<table border="0" cellspacing="5" cellpadding="15" width="100%">
<tr>
<td colspan="2" bgcolor="white">
<img src="pic/logo.png" alt="HTP" width="171" height="105">
<h1>
htp on-line reference
: SET
</h1>
</td>
</tr>
<tr>
<td width="20%" bgcolor="white" valign="top">
<div style="align:top">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr><td class="toc" colspan="3" width="100%">
<a class="noline" href="index.html">Table of Contents</a></td>
</tr>
<tr><td class=tocf width="12">
</td><td class="toc" colspan="2">
<a class="noline" href="intro.html">Introduction</a></td></tr>
<tr><td class=tocf width="12">
</td><td class="toc" colspan="2">
<a class="noline" href="license.html">License</a></td></tr>
<tr><td class=tocf width="12">
</td><td class="toc" colspan="2">
<a class="noline" href="tutorial.html">Tutorial</a></td></tr>
<tr><td class=tocf width="12">
</td><td class="toc" colspan="2">
<a class="noline" href="usage.html">Usage</a></td></tr>
<tr><td class=tocf width="12">
</td><td class="toc" colspan="2">
HTP Tags</td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="alttext.html">ALTTEXT</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="block.html">BLOCK</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="blockdef.html">BLOCKDEF</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="def.html">DEF</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="file.html">FILE</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="if.html">IF</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="inc.html">INC</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="img.html">IMG</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="imageurl.html">IMAGEURL</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="opt.html">OPT</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="output.html">OUTPUT</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="quote.html">QUOTE</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
<img src="pic/arrow.png" alt=">" width="10" height="10">
</td><td class="toc"><a class="noline" href="set.html">SET</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="undef.html">UNDEF</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="unset.html">UNSET</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="use.html">USE, $</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="while.html">WHILE</a></td></tr>
<tr><td class=tocf width="12"> </td><td class=tocf width="12">
</td><td class="toc"><a class="noline" href="comment.html"><!---</a></td></tr>
<tr><td class=tocf width="12">
</td><td class="toc" colspan="2">
<a class="noline" href="history.html">History</a></td></tr>
<tr><td class=tocf width="12">
</td><td class="toc" colspan="2">
<a class="noline" href="wishlist.html">Wish list</a></td></tr>
<tr><td class=tocf width="12">
</td><td class="toc" colspan="2">
<a class="noline" href="bugs.html">Bugs</a></td></tr>
</table>
</div>
</td>
<td bgcolor="#f0f0d0" rowspan="2" valign="top">
<h2>syntax</h2>
<p><code>
<span class="htp-tag"><<a href="set.html" ><img src="pic/manual.png" border=0 alt="[ref]" width="10" height="10">SET</a> <span class="htp-attrib">macroname1</span>=<span class="htp-string">"macrovalue1"</span> <span class="ebnf">[</span><span class="htp-attrib">macroname2</span>=<span class="htp-string">"macrovalue2"</span> <span class="htp-attrib">...</span><span class="ebnf">]</span> <span class="ebnf">[</span><span class="htp-attrib">GLOBAL</span><span class="ebnf">]</span>></span><br>
<br>
</code></p>
<h2>synopsis</h2>
<STRONG>SET</STRONG> creates a macro definition that can later be expanded
anywhere in the HTML document. To create a macro:
<p><code>
<span class="htp-tag"><<a href="set.html" ><img src="pic/manual.png" border=0 alt="[ref]" width="10" height="10">SET</a> <span class="htp-attrib">emailaddr</span>=<span class="htp-string">"jnelson@crl.com"</span>></span><br>
</code></p>
<P>
The macro "emailaddr" can then be expanded later. The <A HREF="use.html">
USE</A> tag is used to expand the macro outside a tag (i.e., into the regular
text). If the macro needs to be expanded inside a markup tag, use the
<A HREF="use.html">'$'</A> operator.
<P>
Multiple macros can be declared in a single markup tag, as the second
syntax line shows.
<P>
SET should only be used for a single line's worth of text. Multi-line
macros can be defined with the <A HREF="block.html">BLOCK</A> tag. The
<A HREF="block.html">BLOCK</A> tag is also useful if the macro contains
a quotation character and you don't want to fool around with special
escape characters.
<P>
Macros can be redefined by using another SET command with the same macro
name. The prior definition will be destroyed, however. Also, the macro
can be removed (destroyed) with the <A HREF="unset.html">UNSET</A> tag.
<p>
</td>
</tr>
<tr>
<td width="20%" bgcolor="white" valign="bottom">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr><td class="tocf" width=10>
<img src="pic/source.png" alt="" width="13" height="16">
</td><td class="toc">
<a href="http://htp.sourceforge.net/cgi-bin/source.cgi/ref/set.htp">page source</a>
</td></tr>
<tr><td class="tocf" width=10>
<img src="pic/sficon.png" alt="" width="16" height="16">
</td><td class="toc">
<a href="http://sourceforge.net/projects/htp/">htp project</a>
</td></tr>
<tr><td class="tocf">
<img src="pic/htpicon.png" alt="" width="16" height="16">
</td><td class="toc">
<a href="http://htp.sourceforge.net/">htp homepage</a>
</td></tr>
<tr><td colspan="2">
hosted by<br />
<a href="http://sourceforge.net/"><img
src="http://sourceforge.net/sflogo.php?group_id=41382&type=1"
width="88" height="31" border="0" alt="SourceForge.net"></a><br />
HTML coding
<a href="http://htp.sourceforge.net/"><img
src="pic/poweredbyhtp.png" alt="Powered by htp" width="88" height="31"></a>
</td></tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="white">
<div style="font-size:small">
<address>
htp on-line reference / <A HREF="http://htp.sourceforge.net/ref/">http://htp.sourceforge.net/ref/</A><br />
Authors: Jim Nelson, <a href="http://sourceforge.net/users/hoenicke">Jochen Hoenicke</a>, <a href="http://sourceforge.net/users/mcmoe">Michael Möller</a>.<br />
Maintainers:
<a href="http://sourceforge.net/users/hoenicke">Jochen Hoenicke</a>.<br />
</address>
<p>
Copyright © 1995-96 Jim Nelson.<BR>
Copyright © 2001-2003 <a href="http://sourceforge.net/users/hoenicke">Jochen Hoenicke</a>.<BR>
Permission to reproduce and distribute this hypertext document granted
according to terms described in the
<A HREF="license.html">License section</A>.
</p>
<p>
last updated Fri Aug 31, 2007
</p>
</div>
</td>
</tr>
</table>
</body>
</html>
|