108 KB
/srv/reproducible-results/rbuild-debian/tmp.kwYldwClEQ/b1/htp_1.19-7_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/tmp.kwYldwClEQ/b2/htp_1.19-7_armhf.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·ee8ebcf951d1fdaf555a4c8a9d325cd2·79784·debug·optional·htp-dbgsym_1.19-7_armhf.deb1 ·ee8ebcf951d1fdaf555a4c8a9d325cd2·79784·debug·optional·htp-dbgsym_1.19-7_armhf.deb
2 ·c51851c4cb9f10c447752b2ae0640f79·114096·web·optional·htp_1.19-7_armhf.deb2 ·e01983ef4b17380586c94a7cd0e2520f·113504·web·optional·htp_1.19-7_armhf.deb
107 KB
htp_1.19-7_armhf.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2018-12-02·23:47:57.000000·debian-binary1 -rw-r--r--···0········0········0········4·2018-12-02·23:47:57.000000·debian-binary
2 -rw-r--r--···0········0········0·····3324·2018-12-02·23:47:57.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3324·2018-12-02·23:47:57.000000·control.tar.xz
3 -rw-r--r--···0········0········0···110580·2018-12-02·23:47:57.000000·data.tar.xz3 -rw-r--r--···0········0········0···109988·2018-12-02·23:47:57.000000·data.tar.xz
558 B
control.tar.xz
530 B
control.tar
460 B
./control
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 Package:·htp1 Package:·htp
2 Version:·1.19-72 Version:·1.19-7
3 Architecture:·armhf3 Architecture:·armhf
4 Maintainer:·Debian·QA·Group·<packages@qa.debian.org>4 Maintainer:·Debian·QA·Group·<packages@qa.debian.org>
5 Installed-Size:·6275 Installed-Size:·628
6 Depends:·libc6·(>=·2.4)6 Depends:·libc6·(>=·2.4)
7 Section:·web7 Section:·web
8 Priority:·optional8 Priority:·optional
9 Homepage:·http://htp.sourceforge.net9 Homepage:·http://htp.sourceforge.net
10 Description:·nice·HTML·pre-processor10 Description:·nice·HTML·pre-processor
11 ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool11 ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool
12 ·that·can·easily·be·integrated·into·the·HTML·design·process.12 ·that·can·easily·be·integrated·into·the·HTML·design·process.
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
106 KB
data.tar.xz
106 KB
data.tar
15.0 KB
file list
    
Offset 1, 27 lines modifiedOffset 1, 27 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/bin/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/bin/
4 -rwxr-xr-x···0·root·········(0)·root·········(0)····38464·2018-12-02·23:47:57.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····38464·2018-12-02·23:47:57.000000·./usr/bin/htp
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/
6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/
8 -rw-r--r--···0·root·········(0)·root·········(0)·····9342·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)·····9211·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.html
9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.htp9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.htp
10 -rw-r--r--···0·root·········(0)·root·········(0)·····8252·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····8850·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.html
11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.htp11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.htp
12 -rw-r--r--···0·root·········(0)·root·········(0)·····8909·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····9617·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.html
13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.htp13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.htp
14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.html14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.html
15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.htp15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.htp
16 -rw-r--r--···0·root·········(0)·root·········(0)·····3091·2018-12-02·23:47:57.000000·./usr/share/doc/htp/changelog.Debian.gz16 -rw-r--r--···0·root·········(0)·root·········(0)·····3091·2018-12-02·23:47:57.000000·./usr/share/doc/htp/changelog.Debian.gz
17 -rw-r--r--···0·root·········(0)·root·········(0)····15492·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)····14125·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.html
18 -rw-r--r--···0·root·········(0)·root·········(0)······676·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.htp18 -rw-r--r--···0·root·········(0)·root·········(0)······676·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.htp
19 -rw-r--r--···0·root·········(0)·root·········(0)····12975·2018-12-02·23:47:57.000000·./usr/share/doc/htp/copyright19 -rw-r--r--···0·root·········(0)·root·········(0)····12975·2018-12-02·23:47:57.000000·./usr/share/doc/htp/copyright
20 -rw-r--r--···0·root·········(0)·root·········(0)····13883·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····20065·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.html
21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.htp21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.htp
22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.html22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.html
23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.htp23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.htp
24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/
25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub
26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti
27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt
Offset 34, 62 lines modifiedOffset 34, 62 lines modified
34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp
35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def
36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/section.html36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/section.html
37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp
38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt
39 -rw-r--r--···0·root·········(0)·root·········(0)····13032·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)····13032·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.html
40 -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.htp40 -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.htp
41 -rw-r--r--···0·root·········(0)·root·········(0)····16801·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····16972·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.html
42 -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.htp.gz42 -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.htp.gz
43 -rw-r--r--···0·root·········(0)·root·········(0)····14293·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.html43 -rw-r--r--···0·root·········(0)·root·········(0)····14293·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.html
44 -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.htp.gz44 -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.htp.gz
45 -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2018-12-02·23:47:57.000000·./usr/share/doc/htp/hlhtp.pl45 -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2018-12-02·23:47:57.000000·./usr/share/doc/htp/hlhtp.pl
46 -rw-r--r--···0·root·········(0)·root·········(0)······165·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.def46 -rw-r--r--···0·root·········(0)·root·········(0)······165·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.def
47 -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.htt47 -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.htt
48 -rw-r--r--···0·root·········(0)·root·········(0)·····9778·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)····10021·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.html
49 -rw-r--r--···0·root·········(0)·root·········(0)······932·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.htp49 -rw-r--r--···0·root·········(0)·root·········(0)······932·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.htp
50 -rw-r--r--···0·root·········(0)·root·········(0)·····9424·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)·····9382·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.html
51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.htp51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.htp
52 -rw-r--r--···0·root·········(0)·root·········(0)·····8639·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8662·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.html
53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.htp53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.htp
54 -rw-r--r--···0·root·········(0)·root·········(0)····11607·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····8940·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.html
55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.htp55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.htp
56 -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.html56 -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.html
57 -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.htp57 -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.htp
58 -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.html58 -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.html
59 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.htp59 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.htp
60 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.html60 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.html
61 -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.htp61 -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.htp
62 -rw-r--r--···0·root·········(0)·root·········(0)····10774·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.html62 -rw-r--r--···0·root·········(0)·root·········(0)····10774·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.html
63 -rw-r--r--···0·root·········(0)·root·········(0)······454·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.htp63 -rw-r--r--···0·root·········(0)·root·········(0)······454·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.htp
64 -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.def64 -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.def
65 -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.html65 -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.html
66 -rw-r--r--···0·root·········(0)·root·········(0)······388·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.htp66 -rw-r--r--···0·root·········(0)·root·········(0)······388·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.htp
67 -rw-r--r--···0·root·········(0)·root·········(0)····13551·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····14978·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.html
68 -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.htp.gz68 -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.htp.gz
69 -rw-r--r--···0·root·········(0)·root·········(0)·····9540·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····8141·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.html
70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.htp70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.htp
71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.html71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.html
72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.htp72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.htp
73 -rw-r--r--···0·root·········(0)·root·········(0)·····8690·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····8360·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.htp
75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/
76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/arrow.png76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/arrow.png
77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/download.png77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/download.png
78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/htpicon.png78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/htpicon.png
79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/logo.png79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/logo.png
80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manbig.png80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manbig.png
81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manual.png81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manual.png
82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/poweredbyhtp.png82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/poweredbyhtp.png
83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/sficon.png83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/sficon.png
84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/source.png84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/source.png
85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pphtp.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····8416·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)·····8577·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.html
87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.htp87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.htp
88 -rw-r--r--···0·root·········(0)·root·········(0)····11277·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)····10797·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.html
89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.htp89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.htp
90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2018-12-02·23:47:57.000000·./usr/share/doc/htp/styles.css90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2018-12-02·23:47:57.000000·./usr/share/doc/htp/styles.css
91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.html91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.html
92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.htp.gz92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.htp.gz
93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2018-12-02·23:47:57.000000·./usr/share/doc/htp/toc.def93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2018-12-02·23:47:57.000000·./usr/share/doc/htp/toc.def
94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/
95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/footer.hti95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/footer.hti
Offset 102, 23 lines modifiedOffset 102, 23 lines modified
102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut2.htp102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut2.htp
103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.html103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.html
104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htp104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htp
105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htt105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htt
106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut4.htt106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut4.htt
107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.html107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.html
108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.htp108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.htp
109 -rw-r--r--···0·root·········(0)·root·········(0)·····8009·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····9042·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.html
110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.htp110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.htp
111 -rw-r--r--···0·root·········(0)·root·········(0)·····9165·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····9613·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.html
112 -rw-r--r--···0·root·········(0)·root·········(0)······658·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.htp112 -rw-r--r--···0·root·········(0)·root·········(0)······658·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.htp
113 -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.html113 -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.html
114 -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.htp114 -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.htp
115 -rw-r--r--···0·root·········(0)·root·········(0)····12554·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····11698·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.html
116 -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.htp116 -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.htp
117 -rw-r--r--···0·root·········(0)·root·········(0)·····9304·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)····10282·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.html
118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.htp118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.htp
119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.html119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.html
120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.htp120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.htp
121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc-base/121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc-base/
122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2018-12-02·23:47:57.000000·./usr/share/doc-base/htp122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2018-12-02·23:47:57.000000·./usr/share/doc-base/htp
123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/
124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/overrides/124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/overrides/
3.08 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 32 lines modifiedOffset 114, 32 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imagename"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"imagetext"</span>·<span·class="ebnf">]</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br>
 122 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br>
 123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
122 <br>124 <br>
123 </code></p>125 </code></p>
124 <h2>synopsis</h2>126 <h2>synopsis</h2>
125 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A127 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
126 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.128 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
127 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the129 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
128 filename·is·considered·in·all·comparisons.130 filename·is·considered·in·all·comparisons.
129 <p>131 <p>
130 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT132 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT
131 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to133 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to
132 be·overridden·on·specific·images·and·default·text·on·all·others.134 be·overridden·on·specific·images·and·default·text·on·all·others.
133 <p>135 <p>
134 For·example:136 For·example:
135 ··<p><code>137 ··<p><code>
136 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="htp-attrib">[option</span>=<span·class="htp-string">"option1·[option2·...]"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[global]</span>·<span·class="htp-attrib">[expand]</span>&gt;</span><br>138 <span·class="comment">&lt;!---·comment·---&gt;</span><br>
137 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br> 
138 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
139 <br>139 <br>
140 </code></p>140 </code></p>
141 <p>141 <p>
142 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT142 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT
143 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not143 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not
144 changed.144 changed.
145 <p>145 <p>
1.75 KB
./usr/share/doc/htp/block.html
    
Offset 114, 15 lines modifiedOffset 114, 17 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imagename"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"imagetext"</span>·<span·class="ebnf">]</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br>
 122 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br>
 123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
122 <br>124 <br>
123 </code></p>125 </code></p>
124 <h2>synopsis</h2>126 <h2>synopsis</h2>
125 <P>127 <P>
126 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which128 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
127 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be129 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
128 multi-line·definitions.130 multi-line·definitions.
3.46 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 28 lines modifiedOffset 114, 35 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br>121 &nbsp;·<span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
122 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br> 
123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
124 <br>122 <br>
 123 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 124 &nbsp;·becomes·this·after·processing:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
 125 <br>
 126 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>&gt;</span><br>
 127 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br>
 128 <br>
 129 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>&gt;</span><br>
 130 &nbsp;·remains·unchanged.<br>
125 </code></p>131 </code></p>
126 <h2>synopsis</h2>132 <h2>synopsis</h2>
127 <strong>BLOCKDEF</strong>·creates·block·<A133 <strong>BLOCKDEF</strong>·creates·block·<A
128 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it134 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
129 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block135 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
130 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and136 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
131 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored137 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
132 in·the·block·macro·named·BLOCK.138 in·the·block·macro·named·BLOCK.
133 <P>·For·example:</P>139 <P>·For·example:</P>
134 ··<p><code>140 ··<p><code>
 141 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
135 </code></p>142 </code></p>
136 <p>143 <p>
137 All·block·metatags·have·the·implicit·option·<a144 All·block·metatags·have·the·implicit·option·<a
138 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents145 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
139 of·the·block·before·the·definition·is·expanded.146 of·the·block·before·the·definition·is·expanded.
140 </p>147 </p>
141 <p>148 <p>
5.24 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 25 lines modifiedOffset 114, 32 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br>121 <span·class="comment">&lt;!---·comment·---&gt;</span><br>
122 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
123 <br>122 <br>
124 </code></p>123 </code></p>
125 <h2>synopsis</h2>124 <h2>synopsis</h2>
126 <p>125 <p>
127 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful126 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
128 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.127 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
129 Example:128 Example:
130 </p>129 </p>
131 ··<p><code>130 ··<p><code>
 131 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
 132 </code></p>
 133 <p>
 134 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
 135 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
 136 like·this:
 137 </p>
 138 ··<p><code>
132 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>&gt;</span><br>139 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
133 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>140 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
134 &nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>141 &nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
135 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>142 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
136 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>143 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
137 &nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>144 &nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>145 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
Offset 154, 28 lines modifiedOffset 161, 14 lines modified
154 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>161 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
155 &nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>162 &nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
156 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>163 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
157 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>&gt;</span><br>164 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>&gt;</span><br>
158 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>&gt;</span><br>165 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>&gt;</span><br>
159 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>&gt;</span><br>166 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>&gt;</span><br>
160 </code></p>167 </code></p>
161 <p> 
162 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you 
163 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something 
164 like·this: 
165 </p> 
166 ··<p><code> 
167 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br> 
168 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br> 
169 &nbsp;·contents·of·a:·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br> 
170 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br> 
171 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br> 
172 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br> 
173 &nbsp;·&nbsp;·e·is·expanded·at·time·2;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br> 
174 </code></p> 
175 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the168 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
176 reason·why·you·don't·want·to·include·this·block</p>169 reason·why·you·don't·want·to·include·this·block</p>
177 <p>170 <p>
178 </td>171 </td>
179 </tr>172 </tr>
180 <tr>173 <tr>
181 <td·width="20%"·bgcolor="white"·valign="bottom">174 <td·width="20%"·bgcolor="white"·valign="bottom">
15.2 KB
./usr/share/doc/htp/def.html
    
Offset 125, 52 lines modifiedOffset 125, 85 lines modified
125 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a125 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
126 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to126 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
127 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>127 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
128 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.128 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
129 For·example:129 For·example:
130 </p>130 </p>
131 ··<p><code>131 ··<p><code>
132 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br>132 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
133 &nbsp;·...<br>133 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
134 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>&gt;</span><br>134 &nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 135 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 136 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 137 &nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 138 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 139 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 140 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 141 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>&gt;</span><br>
 142 &nbsp;·contents·of·a:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 143 &nbsp;·contents·of·b:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 144 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 145 &nbsp;·&nbsp;·c·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 146 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 147 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 148 &nbsp;·&nbsp;·d·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 149 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 150 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>&gt;</span><br>
 151 &nbsp;·&nbsp;·e·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 152 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 153 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>&gt;</span><br>
 154 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
 155 &nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 156 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 157 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>&gt;</span><br>
 158 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>&gt;</span><br>
 159 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>&gt;</span><br>
135 </code></p>160 </code></p>
136 <P>161 <P>
137 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to162 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
138 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A163 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
139 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster164 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
140 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing165 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
141 tag·with·a·preceding·slash.·For·example:166 tag·with·a·preceding·slash.·For·example:
142 </P>167 </P>
143 ··<p><code>168 ··<p><code>
144 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br> 
145 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br> 
146 &nbsp;·contents·of·a:·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br> 
147 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br> 
148 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br> 
149 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br> 
150 &nbsp;·&nbsp;·e·is·expanded·at·time·2;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br> 
151 </code></p>169 </code></p>
152 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,170 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
153 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>171 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
154 <P>172 <P>
155 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were173 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
156 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with174 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
157 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their175 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
158 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)176 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
159 </P>177 </P>
160 ··<p><code>178 ··<p><code>
161 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="htp-attrib">(output</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">|</span>·<span·class="htp-attrib">redirect)</span>·<span·class="htp-attrib">[noerror]</span>&gt;</span><br>179 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br>
162 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>&gt;</span><br>180 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
163 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>&gt;</span><br>181 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br>
164 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">size[</span>·=<span·class="htp-value"></span>·<span·class="htp-attrib">(byte|kbyte|mbyte|gbyte)</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[precision</span>=<span·class="htp-value">n]</span>&gt;</span><br>182 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
165 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">time[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>183 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br>
166 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>184 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br>
167 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>&gt;</span><br>185 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
168 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>&gt;</span><br>186 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 187 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 188 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
169 <br>189 <br>
 190 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br>
 191 <br>
 192 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br>
 193 <br>
 194 &nbsp;·This·will·fail:<br>
 195 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br>
 196 <br>
 197 &nbsp;·Instead,·use·*·like·this:<br>
 198 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br>
 199 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br>
 200 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 201 &nbsp;·&nbsp;·<br>
 202 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br>
170 </code></p>203 </code></p>
171 <P>204 <P>
172 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is205 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
173 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are206 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
174 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the207 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
175 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a208 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
176 parameter·is·required,·simply·expand·it·without·first·checking.··When209 parameter·is·required,·simply·expand·it·without·first·checking.··When
11.0 KB
./usr/share/doc/htp/file.html
    
Offset 114, 55 lines modifiedOffset 114, 58 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="ebnf">(</span><span·class="htp-attrib">output</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">|</span>·<span·class="htp-attrib">redirect</span><span·class="ebnf">)</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noerror</span><span·class="ebnf">]</span>&gt;</span><br>121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br>
122 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>&gt;</span><br>122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
123 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>&gt;</span><br>123 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br>
124 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">size</span><span·class="ebnf">[</span>·=<span·class="htp-value"></span>·<span·class="ebnf">(</span><span·class="htp-attrib">byte</span><span·class="ebnf">|</span><span·class="htp-attrib">kbyte</span><span·class="ebnf">|</span><span·class="htp-attrib">mbyte</span><span·class="ebnf">|</span><span·class="htp-attrib">gbyte</span><span·class="ebnf">)</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">precision</span>=<span·class="htp-value">n<span·class="ebnf">]</span></span>&gt;</span><br>124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
125 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">time</span><span·class="ebnf">[</span>·=<span·class="htp-string">"format"</span>·<span·class="ebnf">]</span>&gt;</span><br>125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br>
126 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">date</span><span·class="ebnf">[</span>·=<span·class="htp-string">"format"</span>·<span·class="ebnf">]</span>&gt;</span><br>126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br>
127 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>&gt;</span><br>127 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
128 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>&gt;</span><br>128 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 129 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 130 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
129 <br>131 <br>
 132 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br>
 133 <br>
 134 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br>
 135 <br>
 136 &nbsp;·This·will·fail:<br>
 137 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br>
 138 <br>
 139 &nbsp;·Instead,·use·*·like·this:<br>
 140 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br>
 141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br>
 142 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 143 &nbsp;·&nbsp;·<br>
 144 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br>
130 </code></p>145 </code></p>
131 <h2>synopsis</h2>146 <h2>synopsis</h2>
132 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.147 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
133 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of148 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
134 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be149 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
135 added·to·the·output·file·as·well.150 added·to·the·output·file·as·well.
136 <P>151 <P>
137 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the152 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
138 following·is·perfectly·acceptable:153 following·is·perfectly·acceptable:
139 ··<p><code>154 ··<p><code>
140 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>155 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
141 &nbsp;·&nbsp;·block·#1<br> 
142 [<br> 
143 <span·class="htp-tag">&lt;ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
144 &nbsp;·&nbsp;·block·#2<br> 
145 ...<br> 
146 ]<br> 
147 [<br> 
148 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
149 &nbsp;·&nbsp;·block·#3<br> 
150 ]<br> 
151 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
152 <br> 
153 </code></p>156 </code></p>
154 <P>157 <P>
155 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>158 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
156 <P>159 <P>
157 To·include·information·about·another·file,·such·as·an·archive·file·or160 To·include·information·about·another·file,·such·as·an·archive·file·or
158 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the161 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
159 type·of·information·to·be·displayed:162 type·of·information·to·be·displayed:
160 ··<p><code>163 ··<p><code>
161 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>164 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
162 </code></p>165 </code></p>
163 <P>166 <P>
164 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the167 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
165 information·is·displayed.··In·anything·other·than·byte·format,·the·information168 information·is·displayed.··In·anything·other·than·byte·format,·the·information
166 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number169 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
167 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional170 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
168 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no171 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 191, 16 lines modifiedOffset 194, 15 lines modified
191 <P>194 <P>
192 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are195 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
193 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros196 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
194 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it197 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
195 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer198 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
196 available.··So:199 available.··So:
197 ··<p><code>200 ··<p><code>
198 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>201 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>&gt;</span><br>
199 <br> 
200 </code></p>202 </code></p>
201 <P>203 <P>
202 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included204 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
203 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the205 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
204 second·statement·will·fail.)206 second·statement·will·fail.)
205 <P>207 <P>
206 <h3><a·name="template">TEMPLATE</a></h3>208 <h3><a·name="template">TEMPLATE</a></h3>
4.81 KB
./usr/share/doc/htp/if.html
    
Offset 114, 34 lines modifiedOffset 114, 44 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·block·#1<br>
 123 [<br>
 124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 125 &nbsp;·&nbsp;·block·#2<br>
 126 ...<br>
 127 ]<br>
 128 [<br>
 129 <span·class="htp-tag">&lt;ELSE&gt;</span><br>
 130 &nbsp;·&nbsp;·block·#3<br>
 131 ]<br>
 132 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
122 <br>133 <br>
123 AME="image.gif"·SIZE=KBYTE>·kilobytes<br> 
124 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br> 
125 </code></p>134 </code></p>
126 <h2>synopsis</h2>135 <h2>synopsis</h2>
127 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building136 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
128 blocks·for·conditional·processing.··The·basic·form·is·shown·above.137 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
129 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A138 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
130 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal139 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
131 string:140 string:
132 ··<p><code>141 ··<p><code>
133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>142 &nbsp;·&nbsp;·File·image.gif·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br>
 143 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
134 </code></p>144 </code></p>
135 <P>145 <P>
136 and·a·defined·operator·is·a·test·of·a·macro's·existance:146 and·a·defined·operator·is·a·test·of·a·macro's·existance:
137 <P>147 <P>
138 ··<p><code>148 ··<p><code>
139 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>149 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[GLOBAL]</span>&gt;</span><br>
140 &nbsp;·&nbsp;·This·tag·will·fail:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">name</span>&gt;</span><br>150 <br>
141 </code></p>151 </code></p>
142 <P>152 <P>
143 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the153 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
144 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that154 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
145 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the155 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
146 ELSE·block·is·taken·if·it·is·present.··A·conditional·block156 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
147 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.157 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
2.63 KB
./usr/share/doc/htp/imageurl.html
    
Offset 114, 16 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br>121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
122 <br> 
123 </code></p>122 </code></p>
124 <h2>synopsis</h2>123 <h2>synopsis</h2>
125 <P>124 <P>
126 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local125 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local
127 file·system.··declares·an·URL·replacement·that·is·used·for126 file·system.··declares·an·URL·replacement·that·is·used·for
128 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions127 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions
129 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is128 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is
Offset 137, 15 lines modifiedOffset 136, 16 lines modified
137 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC136 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC
138 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.137 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.
139 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and138 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
140 looked·up·in·the·current·directory.</P>139 looked·up·in·the·current·directory.</P>
141 <P>140 <P>
142 For·example:</P>141 For·example:</P>
143 ··<p><code>142 ··<p><code>
144 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>&gt;</span><br>143 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[GLOBAL]</span>&gt;</span><br>
 144 <br>
145 </code></p>145 </code></p>
146 <P>146 <P>
147 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as147 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
148 an·undefine,·and·is·removed.</P>148 an·undefine,·and·is·removed.</P>
149 <P>149 <P>
150 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout150 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
151 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an151 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
1.34 KB
./usr/share/doc/htp/img.html
    
Offset 114, 15 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="ebnf">]</span>&gt;</span><br>
 122 <br>
122 </code></p>123 </code></p>
123 <h2>synopsis</h2>124 <h2>synopsis</h2>
124 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified125 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified
125 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage126 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage
126 of·not·having·to·determine·each·image's·size·manually,·which·is·especially127 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
127 useful·if·the·image·may·change·frequently.·</P>128 useful·if·the·image·may·change·frequently.·</P>
128 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup129 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup
4.15 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 36 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br>
122 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br> 
123 <br>122 <br>
124 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br> 
125 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
126 &nbsp;·(no·URL·replacement).<br> 
127 <br> 
128 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br> 
129 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
130 <br> 
131 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br> 
132 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
133 &nbsp;·will·not·be·added.<br> 
134 <br> 
135 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
136 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br> 
137 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br> 
138 <br> 
139 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br> 
140 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
141 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
142 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
143 </code></p>123 </code></p>
144 <h2>synopsis</h2>124 <h2>synopsis</h2>
145 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a125 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
146 variable·or·for·variable·addition.··The·basic·form·is·shown·above.126 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
147 <P>127 <P>
148 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a128 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
149 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The129 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
8.69 KB
./usr/share/doc/htp/metatag.html
    
Offset 109, 40 lines modifiedOffset 109, 40 lines modified
109 file</a>.··</p>109 file</a>.··</p>
110 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing110 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing
111 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp111 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp
112 encounters·a·blockdef·tag·it·will·automatically·search·for·the112 encounters·a·blockdef·tag·it·will·automatically·search·for·the
113 matching·closing·tag·and·put·everything·between·these·tags·in·a·block113 matching·closing·tag·and·put·everything·between·these·tags·in·a·block
114 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>114 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>
115 ··<p><code>115 ··<p><code>
116 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br>116 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...]</span>&gt;</span><br>
117 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br>117 <font·size="-2">&nbsp;2.·</font><br>
118 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
119 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br> 
120 <font·size="-2">&nbsp;5.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
121 <font·size="-2">&nbsp;6.·</font><br> 
122 <font·size="-2">&nbsp;7.·</font>&nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br> 
123 </code></p>118 </code></p>
124 <h2>Using·parameters</h2>119 <h2>Using·parameters</h2>
125 <p>·More·sophisticated·tags·accept·parameters.··The120 <p>·More·sophisticated·tags·accept·parameters.··The
126 <code>option</code>·parameter·lets·multiple·metatag·parameters·be121 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
127 named·and·expanded·inside·the·<code>def</code>·or122 named·and·expanded·inside·the·<code>def</code>·or
128 <code>blockdef</code>·block:·</p>123 <code>blockdef</code>·block:·</p>
129 ··<p><code>124 ··<p><code>
130 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<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="htp-attrib">[macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[GLOBAL]</span>&gt;</span><br>125 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br>
131 <font·size="-2">&nbsp;2.·</font><br>126 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br>
 127 <font·size="-2">&nbsp;3.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 128 <font·size="-2">&nbsp;4.·</font><br>
 129 <font·size="-2">&nbsp;5.·</font>&nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br>
132 </code></p>130 </code></p>
133 <h2>Saving·blocks·for·later</h2>131 <h2>Saving·blocks·for·later</h2>
134 <p>When·you·are·using·templates,·the·html·should·only·be·written·by132 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
135 the·template·file.··The·normal·htp·files·should·just·define·macros133 the·template·file.··The·normal·htp·files·should·just·define·macros
136 that·are·used·later·in·the·template.··So·you·may·want·to·write·block134 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
137 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this135 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
138 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to136 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
139 do·this:</p>137 do·this:</p>
140 ··<p><code>138 ··<p><code>
141 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>139 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br>
 140 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
 141 <font·size="-2">&nbsp;3.·</font><br>
142 </code></p>142 </code></p>
143 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a143 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
144 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is144 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
145 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is145 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
146 build·from·this·counter.··So·the·first·section·is·stored·in·block146 build·from·this·counter.··So·the·first·section·is·stored·in·block
147 sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag147 sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag
148 in·line·4·tells·htp·that·these·macros·should·be·defined·globally148 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
Offset 161, 17 lines modifiedOffset 161, 21 lines modified
161 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be161 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be
162 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the162 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the
163 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you163 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
164 use·expand·in·a·block·around·it.</p>164 use·expand·in·a·block·around·it.</p>
165 <p>To·close·this·example·we·show·how·to·expand·the165 <p>To·close·this·example·we·show·how·to·expand·the
166 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>166 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>
167 ··<p><code>167 ··<p><code>
168 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br>168 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br>
169 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>169 <font·size="-2">&nbsp;2.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
170 <font·size="-2">&nbsp;3.·</font><br>170 <font·size="-2">&nbsp;3.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 171 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 172 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
 173 <font·size="-2">&nbsp;6.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>
 174 <font·size="-2">&nbsp;7.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>
171 </code></p>175 </code></p>
172 <p>176 <p>
173 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether177 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether
174 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is178 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is
175 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards179 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards
176 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This180 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This
177 repeats·until·sect-${sect-ctr}·is·not·defined.181 repeats·until·sect-${sect-ctr}·is·not·defined.
3.05 KB
./usr/share/doc/htp/opt.html
    
Offset 114, 27 lines modifiedOffset 114, 18 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">APPEND</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>&gt;</span><br>
122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>&gt;</span><br>122 text·block<br>
123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>123 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br>
124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br> 
125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br> 
126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br> 
127 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br> 
128 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br> 
129 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
130 <br>124 <br>
131 &nbsp;paragraph<br> 
132 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br> 
133 &nbsp;paragraph<br> 
134 </code></p>125 </code></p>
135 <h2>synopsis</h2>126 <h2>synopsis</h2>
136 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing127 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing
137 options·inside·the·actual·document·being·processed.··The·options·are128 options·inside·the·actual·document·being·processed.··The·options·are
138 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not129 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not
139 preceded·by·a·&lsquo;-&rsquo;·character.130 preceded·by·a·&lsquo;-&rsquo;·character.
140 <P>131 <P>
2.08 KB
./usr/share/doc/htp/output.html
    
Offset 114, 21 lines modifiedOffset 114, 18 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">APPEND</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>&gt;</span><br>
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br>122 text·block<br>
123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br>123 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br>
124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br> 
125 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
126 <br>124 <br>
127 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br> 
128 </code></p>125 </code></p>
129 <h2>synopsis</h2>126 <h2>synopsis</h2>
130 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary127 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary
131 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the128 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the
132 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>129 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
133 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you130 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
134 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text131 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text
2.52 KB
./usr/share/doc/htp/quote.html
    
Offset 114, 21 lines modifiedOffset 114, 19 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br>121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br>
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br>122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br>
123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br>123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br> 
125 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
126 <br>124 <br>
127 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br>125 &nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br>
128 </code></p>126 </code></p>
129 <h2>synopsis</h2>127 <h2>synopsis</h2>
130 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise128 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise
131 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a129 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a
132 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early130 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early
133 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still131 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still
134 done·inside·a·quote·block.132 done·inside·a·quote·block.
4.92 KB
./usr/share/doc/htp/set.html
    
Offset 114, 28 lines modifiedOffset 114, 28 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>&gt;</span><br>121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br>
122 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br>122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br>
123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br>124 <br>
125 &nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>125 &nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br>
126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
127 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
128 </code></p>126 </code></p>
129 <h2>synopsis</h2>127 <h2>synopsis</h2>
130 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded128 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
131 anywhere·in·the·HTML·document.··To·create·a·macro:129 anywhere·in·the·HTML·document.··To·create·a·macro:
132 ··<p><code>130 ··<p><code>
133 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br>131 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br>
134 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br>132 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
 133 <br>
 134 <br>
135 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>135 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>138 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>
139 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>139 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>
140 </code></p>140 </code></p>
141 <P>141 <P>
2.45 KB
./usr/share/doc/htp/undef.html
    
Offset 114, 17 lines modifiedOffset 114, 21 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br>
122 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>122 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
123 <br>123 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
 126 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>
 127 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>
124 </code></p>128 </code></p>
125 <h2>synopsis</h2>129 <h2>synopsis</h2>
126 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags130 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags
127 created·by·<A·HREF="def.html">DEF</A>·and·<A131 created·by·<A·HREF="def.html">DEF</A>·and·<A
128 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF132 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF
129 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by133 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by
130 htp·until·it·is·reassigned.··</P>134 htp·until·it·is·reassigned.··</P>
4.24 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 39 lines modifiedOffset 114, 40 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noexpand</span><span·class="ebnf">]</span>&gt;</span><br>
122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>122 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 123 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
123 <br>124 <br>
124 </code></p>125 </code></p>
125 <h2>synopsis</h2>126 <h2>synopsis</h2>
126 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.127 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.
127 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.128 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
128 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or129 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
129 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The130 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
130 old·macro·definition·will·be·removed·automatically.)131 old·macro·definition·will·be·removed·automatically.)
131 <P>132 <P>
132 For·example:133 For·example:
133 ··<p><code>134 ··<p><code>
134 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[noexpand]</span>&gt;</span><br>135 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>
135 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>136 &nbsp;·&nbsp;·...<br>
136 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
137 <br>138 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
138 </code></p>139 </code></p>
139 <P>140 <P>
140 More·than·one·macro·may·be·removed·in·the·same·tag:141 More·than·one·macro·may·be·removed·in·the·same·tag:
141 ··<p><code>142 ··<p><code>
142 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>143 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>
143 &nbsp;·&nbsp;·block<br>144 &nbsp;·&nbsp;·...<br>
144 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>145 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
145 <br>146 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
146 </code></p>147 </code></p>
147 <p>148 <p>
148 </td>149 </td>
149 </tr>150 </tr>
150 <tr>151 <tr>
151 <td·width="20%"·bgcolor="white"·valign="bottom">152 <td·width="20%"·bgcolor="white"·valign="bottom">
152 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">153 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
6.03 KB
./usr/share/doc/htp/use.html
    
Offset 114, 17 lines modifiedOffset 114, 17 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noexpand</span><span·class="ebnf">]</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
122 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>122 &nbsp;·&nbsp;·block<br>
123 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>123 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
124 <br>124 <br>
125 </code></p>125 </code></p>
126 <h2>synopsis</h2>126 <h2>synopsis</h2>
127 <strong>USE</strong>·will·expand·macros·that·have·been·previously127 <strong>USE</strong>·will·expand·macros·that·have·been·previously
128 declared·with·either·<A·HREF="set.html">SET</A>·or·<A128 declared·with·either·<A·HREF="set.html">SET</A>·or·<A
129 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other129 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other
130 markup·tags.130 markup·tags.
Offset 135, 18 lines modifiedOffset 135, 15 lines modified
135 attribute·to·prevent·further·expansion.··</p>135 attribute·to·prevent·further·expansion.··</p>
136 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros136 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
137 for·the·expanded·macro.··This·is·only·valid·for·<A137 for·the·expanded·macro.··This·is·only·valid·for·<A
138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
139 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For139 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
140 example:</p>140 example:</p>
141 ··<p><code>141 ··<p><code>
142 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>142 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>&gt;</span><br>
143 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·block<br> 
144 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
145 <font·size="-2">&nbsp;4.·</font><br> 
146 </code></p>143 </code></p>
147 <P>144 <P>
148 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on145 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
149 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and146 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
150 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8147 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8
151 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is148 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
152 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.149 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
Offset 157, 15 lines modifiedOffset 154, 15 lines modified
157 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or154 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or
158 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.155 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.
159 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or156 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or
160 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it157 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it
161 replaces·the·macro·name·by·the·contents·of·the·macro·without·further158 replaces·the·macro·name·by·the·contents·of·the·macro·without·further
162 processing·the·contents.159 processing·the·contents.
163 ··<p><code>160 ··<p><code>
164 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>161 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>
165 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>162 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
166 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>163 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
167 <font·size="-2">&nbsp;4.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>164 <font·size="-2">&nbsp;4.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
168 </code></p>165 </code></p>
169 <P>166 <P>
170 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and167 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
171 should·never·cause·confusion·with·surrounding·text.··If·no·curly168 should·never·cause·confusion·with·surrounding·text.··If·no·curly
Offset 182, 18 lines modifiedOffset 179, 15 lines modified
182 delimiting·the·text·as·if·it·were·additional·markup·attributes.179 delimiting·the·text·as·if·it·were·additional·markup·attributes.
183 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),180 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),
184 quotation·marks·are·not·automatically·supplied.181 quotation·marks·are·not·automatically·supplied.
185 <P>182 <P>
186 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can183 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can
187 be·nested.··This·is·valid:184 be·nested.··This·is·valid:
188 ··<p><code>185 ··<p><code>
189 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>186 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>
190 &nbsp;·&nbsp;·...<br> 
191 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
192 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
193 </code></p>187 </code></p>
194 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined188 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined
195 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX189 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX
196 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand190 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand
197 value1.191 value1.
198 <p>192 <p>
199 </td>193 </td>
4.59 KB
./usr/share/doc/htp/while.html
    
Offset 114, 36 lines modifiedOffset 114, 41 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br>
122 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>122 &nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br>
 123 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 124 <br>
 125 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br>
 126 <br>
 127 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
 128 But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br>
 129 And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
123 </code></p>130 </code></p>
124 <h2>synopsis</h2>131 <h2>synopsis</h2>
125 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.132 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.
126 The·basic·form·is·shown·above.133 The·basic·form·is·shown·above.
127 <P>134 <P>
128 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.135 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
129 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.136 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.
130 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the137 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
131 conditional·is·reversed:138 conditional·is·reversed:
132 ··<p><code>139 ··<p><code>
133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>140 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
 141 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
134 </code></p>142 </code></p>
135 <P>143 <P>
136 Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a144 Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a
137 macro's·existance:145 macro's·existance:
138 ··<p><code>146 ··<p><code>
139 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>147 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>
140 &nbsp;·&nbsp;·...<br> 
141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
142 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
143 </code></p>148 </code></p>
144 <P>149 <P>
145 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the150 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
146 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the151 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
147 WHILE·tag·it·is·also·reevaluated·on·each·iteration.152 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
148 <P>153 <P>
149 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.154 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.