73.5 KB
/srv/reproducible-results/rbuild-debian/r-b-build.ZowY7p7K/b1/htp_1.19-8_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.ZowY7p7K/b2/htp_1.19-8_amd64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·41252d36d829570b8ef8313e6397f41a·71320·debug·optional·htp-dbgsym_1.19-8_amd64.deb1 ·41252d36d829570b8ef8313e6397f41a·71320·debug·optional·htp-dbgsym_1.19-8_amd64.deb
2 ·aa203b398a16504fb2fa2ac1f914fcfe·116640·web·optional·htp_1.19-8_amd64.deb2 ·e2643b053425801e65d2fd954a768b38·115960·web·optional·htp_1.19-8_amd64.deb
73.1 KB
htp_1.19-8_amd64.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary
2 -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···112832·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···112152·2020-06-14·23:21:19.000000·data.tar.xz
563 B
control.tar.xz
535 B
control.tar
465 B
./control
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 Package:·htp1 Package:·htp
2 Version:·1.19-82 Version:·1.19-8
3 Architecture:·amd643 Architecture:·amd64
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6345 Installed-Size:·611
6 Depends:·libc6·(>=·2.38)6 Depends:·libc6·(>=·2.38)
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
72.2 KB
data.tar.xz
72.1 KB
data.tar
13.3 KB
file list
    
Offset 1, 27 lines modifiedOffset 1, 27 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/
4 -rwxr-xr-x···0·root·········(0)·root·········(0)····72104·2020-06-14·23:21:19.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····72104·2020-06-14·23:21:19.000000·./usr/bin/htp
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/
6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/
8 -rw-r--r--···0·root·········(0)·root·········(0)·····9554·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)·····8180·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html
9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp
10 -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html
11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp
12 -rw-r--r--···0·root·········(0)·root·········(0)·····7941·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····7941·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html
13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp
14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html
15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp
16 -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz16 -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz
17 -rw-r--r--···0·root·········(0)·root·········(0)·····7719·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)·····7719·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html
18 -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp18 -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp
19 -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright19 -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright
20 -rw-r--r--···0·root·········(0)·root·········(0)····14370·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)·····9953·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html
21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp
22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html
23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp
24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.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, 22 lines modifiedOffset 34, 22 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·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.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)·····7909·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)·····7909·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html
40 -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp40 -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp
41 -rw-r--r--···0·root·········(0)·root·········(0)····13762·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····12223·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html
42 -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.htp.gz42 -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.htp.gz
43 -rw-r--r--···0·root·········(0)·root·········(0)····14293·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.html43 -rw-r--r--···0·root·········(0)·root·········(0)····14293·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.html
44 -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.htp.gz44 -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.htp.gz
45 -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2020-06-14·23:21:19.000000·./usr/share/doc/htp/hlhtp.pl45 -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2020-06-14·23:21:19.000000·./usr/share/doc/htp/hlhtp.pl
46 -rw-r--r--···0·root·········(0)·root·········(0)······165·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.def46 -rw-r--r--···0·root·········(0)·root·········(0)······165·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.def
47 -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.htt47 -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.htt
48 -rw-r--r--···0·root·········(0)·root·········(0)·····9511·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)·····7951·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html
49 -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp49 -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp
50 -rw-r--r--···0·root·········(0)·root·········(0)·····8626·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)·····8626·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html
51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp
52 -rw-r--r--···0·root·········(0)·root·········(0)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html
53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp
54 -rw-r--r--···0·root·········(0)·root·········(0)·····8142·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····8142·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html
55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp
Offset 60, 36 lines modifiedOffset 60, 36 lines modified
60 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html60 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html
61 -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp61 -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp
62 -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html62 -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html
63 -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp63 -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp
64 -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def64 -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def
65 -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html65 -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html
66 -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.htp66 -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.htp
67 -rw-r--r--···0·root·········(0)·root·········(0)····13450·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····12226·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html
68 -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz68 -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz
69 -rw-r--r--···0·root·········(0)·root·········(0)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html
70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp
71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html
72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp
73 -rw-r--r--···0·root·········(0)·root·········(0)·····8552·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····7777·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp
75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/
76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png
77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png
78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png
79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png
80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png
81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png
82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png
83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png
84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png
85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····7503·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)·····7503·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html
87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp
88 -rw-r--r--···0·root·········(0)·root·········(0)·····9773·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····8234·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html
89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp
90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css
91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html
92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz
93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def
94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/
95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti
Offset 104, 21 lines modifiedOffset 104, 21 lines modified
104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp
105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt
106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt
107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html
108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp
109 -rw-r--r--···0·root·········(0)·root·········(0)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html
110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp
111 -rw-r--r--···0·root·········(0)·root·········(0)····10732·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····7689·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html
112 -rw-r--r--···0·root·········(0)·root·········(0)······658·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.htp112 -rw-r--r--···0·root·········(0)·root·········(0)······658·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.htp
113 -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.html113 -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.html
114 -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.htp114 -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.htp
115 -rw-r--r--···0·root·········(0)·root·········(0)····13714·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····11930·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html
116 -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp116 -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp
117 -rw-r--r--···0·root·········(0)·root·········(0)····11044·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)·····8001·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html
118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp
119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html
120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp
121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/
122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp
123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/
124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/
4.8 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 24 lines modifiedOffset 114, 14 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">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;h1&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">title</span>&gt;</span><span·class="htp-tag">&lt;/h1&gt;</span><br> 
123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
124 &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>&gt;</span><br> 
125 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br> 
126 &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> 
127 <br> 
128 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br> 
129 &nbsp;·&nbsp;·This·is·a·fancy·section.<br> 
130 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br> 
131 </code></p>121 </code></p>
132 <h2>synopsis</h2>122 <h2>synopsis</h2>
133 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A123 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
134 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.124 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
135 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the125 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
136 filename·is·considered·in·all·comparisons.126 filename·is·considered·in·all·comparisons.
137 <p>127 <p>
2.92 KB
html2text {}
    
Offset 1, 47 lines modifiedOffset 1, 37 lines modified
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·ALTTEXT·******2 ******·htp·on-line·reference·:·ALTTEXT·******
3 Table_of·········*****·syntax·*****3 Table_of·········*****·syntax·*****
4 Contents········· ·<[[ref]]blockdef·name="section"·option="title"> 
5  ·Introduction··· · <h1><[[ref]]use·title></h1> 
6  ·License········ · <p·class="section"> 
7  ·Tutorial······· · · <[[ref]]use·block> 
8  ·Usage·········· · </p> 
9  ·HTP·Tags······· ·<[[ref]]/blockdef> 
10  ·[>]·ALTTEXT 
11  · ···BLOCK······ ·<section·title="My·Section"> 
12  · ···BLOCKDEF··· · ·This·is·a·fancy·section. 
13  · ···DEF········ ·</section> 
14  · ···FILE·······*****·synopsis·*****4 Contents·········*****·synopsis·*****
15  · ···IF·········ALTTEXT·declares·an·ALT·attribute·for·any·IMG·tag·with·a·SRC5  ·Introduction···ALTTEXT·declares·an·ALT·attribute·for·any·IMG·tag·with·a·SRC
16  · ···INC········matching·the·ALTTEXT·NAME.·Since·relative·paths·can·be·used·to6  ·License········matching·the·ALTTEXT·NAME.·Since·relative·paths·can·be·used·to
17  · ···IMG········point·to·the·same·image,·only·the·filename·is·considered·in7  ·Tutorial·······point·to·the·same·image,·only·the·filename·is·considered·in
18  · ···IMAGEURL···all·comparisons.8  ·Usage··········all·comparisons.
19  · ···OPT········When·an·IMG·tag·with·a·matching·source·is·encountered,·htp9  ·HTP·Tags·······When·an·IMG·tag·with·a·matching·source·is·encountered,·htp
20  · ···OUTPUT·····will·add·an·ALT·attribute·only·if·one·is·not·already·present.10  ·[>]·ALTTEXT····will·add·an·ALT·attribute·only·if·one·is·not·already·present.
21  · ···QUOTE······This·allows·for·ALT·text·to·be·overridden·on·specific·images11  · ···BLOCK······This·allows·for·ALT·text·to·be·overridden·on·specific·images
22  · ···SET········and·default·text·on·all·others.12  · ···BLOCKDEF···and·default·text·on·all·others.
23  · ···UNDEF······For·example:13  · ···DEF········For·example:
24  · ···UNSET······An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any14  · ···FILE·······An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any
25  · ···USE,_$·····ALT·mapping·for·this·image.·Successing·IMG·tags·with·a15  · ···IF·········ALT·mapping·for·this·image.·Successing·IMG·tags·with·a
26  · ···WHILE······matching·SRC·name·are·not·changed.16  · ···INC········matching·SRC·name·are·not·changed.
27  · ···<!---······Since·this·is·useful·for·an·image·used·throughout·a·set·of17  · ···IMG········Since·this·is·useful·for·an·image·used·throughout·a·set·of
28  ·History········documents,·ALTTEXT·is·most·appropriate·in·an·include_file·or·a18  · ···IMAGEURL···documents,·ALTTEXT·is·most·appropriate·in·an·include_file·or·a
29  ·Wish_list······default_file.19  · ···OPT········default_file.
30  ·Bugs···········In·addition·to·ALTTEXT,·htp·can·also·automatically·add·WIDTH20  · ···OUTPUT·····In·addition·to·ALTTEXT,·htp·can·also·automatically·add·WIDTH
31 ·················and·HEIGHT·attributes·to·IMG·tags.21  · ···QUOTE······and·HEIGHT·attributes·to·IMG·tags.
  
  
  
  
  
  
  
  
 22  · ···SET
 23  · ···UNDEF
 24  · ···UNSET
 25  · ···USE,_$
 26  · ···WHILE
 27  · ···<!---
 28  ·History
 29  ·Wish_list
 30  ·Bugs
  
  
  
  
  
  
  
11.4 KB
./usr/share/doc/htp/def.html
    
Offset 114, 24 lines modifiedOffset 114, 14 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">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;h1&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">title</span>&gt;</span><span·class="htp-tag">&lt;/h1&gt;</span><br> 
123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
124 &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>&gt;</span><br> 
125 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br> 
126 &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> 
127 <br> 
128 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br> 
129 &nbsp;·&nbsp;·This·is·a·fancy·section.<br> 
130 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br> 
131 </code></p>121 </code></p>
132 <h2>synopsis</h2>122 <h2>synopsis</h2>
133 <p>123 <p>
134 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a124 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
135 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to125 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
136 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>126 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
137 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.127 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
Offset 143, 38 lines modifiedOffset 133, 24 lines modified
143 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to133 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
144 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A134 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
145 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster135 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
146 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing136 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
147 tag·with·a·preceding·slash.·For·example:137 tag·with·a·preceding·slash.·For·example:
148 </P>138 </P>
149 ··<p><code>139 ··<p><code>
150 &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> 
151 &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> 
152 &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> 
153 &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> 
154 &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> 
155 &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> 
156 &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> 
157 </code></p>140 </code></p>
158 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,141 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
159 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>142 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
160 <P>143 <P>
161 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were144 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
162 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with145 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
163 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their146 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
164 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)147 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
165 </P>148 </P>
166 ··<p><code>149 ··<p><code>
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">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br> 
168 &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> 
169 &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> 
170 &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> 
171 &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> 
172 &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> 
173 <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> 
174 </code></p>150 </code></p>
175 <P>151 <P>
176 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is152 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
177 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are153 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
178 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the154 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
179 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a155 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
180 parameter·is·required,·simply·expand·it·without·first·checking.··When156 parameter·is·required,·simply·expand·it·without·first·checking.··When
5.34 KB
html2text {}
    
Offset 1, 61 lines modifiedOffset 1, 37 lines modified
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·DEF,·/DEF·******2 ******·htp·on-line·reference·:·DEF,·/DEF·******
3 Table_of·········*****·syntax·*****3 Table_of·········*****·syntax·*****
4 Contents········· ·<[[ref]]blockdef·name="section"·option="title"> 
5  ·Introduction··· · <h1><[[ref]]use·title></h1> 
6  ·License········ · <p·class="section"> 
7  ·Tutorial······· · · <[[ref]]use·block> 
8  ·Usage·········· · </p> 
9  ·HTP·Tags······· ·<[[ref]]/blockdef> 
10  · ···ALTTEXT 
11  · ···BLOCK······ ·<section·title="My·Section"> 
12  · ···BLOCKDEF··· · ·This·is·a·fancy·section. 
13  ·[>]·DEF········ ·</section> 
14  · ···FILE·······*****·synopsis·*****4 Contents·········*****·synopsis·*****
15  · ···IF·········DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it5  ·Introduction···DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it
16  · ···INC········creates·new·tags.·The·mechanism·is·very·similar·to·BLOCK6  ·License········creates·new·tags.·The·mechanism·is·very·similar·to·BLOCK
17  · ···IMG········macros,·except·that·the·USE·tag·is·not·used·to·expand·them.7  ·Tutorial·······macros,·except·that·the·USE·tag·is·not·used·to·expand·them.
18  · ···IMAGEURL···Instead,·they·are·expanded·by·their·own·name.·For·example:8  ·Usage··········Instead,·they·are·expanded·by·their·own·name.·For·example:
19  · ···OPT········Some·metatags·will·require·an·opening·and·closing·tag9  ·HTP·Tags·······Some·metatags·will·require·an·opening·and·closing·tag
20  · ···OUTPUT·····(comparable·to10  · ···ALTTEXT····(comparable·to
21  · ···QUOTE······and11  · ···BLOCK······and
22  · ···SET········).·In·this·case,·you·should·use·the·BLOCKDEF·macro.·Another12  · ···BLOCKDEF···).·In·this·case,·you·should·use·the·BLOCKDEF·macro.·Another
23  · ···UNDEF······slightly·faster·alternative·is·to·use·two·metatags,·the13  ·[>]·DEF········slightly·faster·alternative·is·to·use·two·metatags,·the
24  · ···UNSET······opening·tag·and·the·closing·tag·with·a·preceding·slash.·For14  · ···FILE·······opening·tag·and·the·closing·tag·with·a·preceding·slash.·For
25  · ···USE,_$·····example:15  · ···IF·········example:
26  · ···WHILE······ ·<[[ref]]set·sect-ctr="0"> 
27  · ···<!---······ ·<[[ref]]blockdef·name="section"> 
28  ·History········ · ·<[[ref]]inc·sect-ctr> 
29  ·Wish_list······ · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> 
30  ·Bugs··········· · · ·<[[ref]]use·block·noexpand> 
31 ················· · ·<[[ref]]/block> 
32 ················· ·<[[ref]]/blockdef> 
33 ·················You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for16  · ···INC········You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for
34 ·················matching·end·tag.·It·is·not·that·slower.17  · ···IMG········matching·end·tag.·It·is·not·that·slower.
35 ·················Options·can·be·passed·to·a·metatag,·which·can·then·expand·as18  · ···IMAGEURL···Options·can·be·passed·to·a·metatag,·which·can·then·expand·as
36 ·················if·it·were·a·SET·macro.·Option·names·are·parameterized·with19  · ···OPT········if·it·were·a·SET·macro.·Option·names·are·parameterized·with
37 ·················the·OPTION·attribute.·Multiple·options·can·be·listed·by20  · ···OUTPUT·····the·OPTION·attribute.·Multiple·options·can·be·listed·by
38 ·················separating·their·name·with·a·space·(which·therefore·requires21  · ···QUOTE······separating·their·name·with·a·space·(which·therefore·requires
39 ·················they·be·surrounded·by·quotes.)22  · ···SET········they·be·surrounded·by·quotes.)
40 ·················<[[ref]]file·include="header.hti"> 
41 ················· ·<[[ref]]set·sect-ctr="1"> 
42 ················· ·<[[ref]]while·sect-${sect-ctr}> 
43 ················· · ·<[[ref]]use·sect-${sect-ctr}> 
44 ················· · ·<[[ref]]inc·sect-ctr> 
45 ················· ·<[[ref]]/while> 
46 ·················<[[ref]]file·include="footer.hti"> 
47 ·················htp·will·do·very·specific·checking·of·parameters·when·a23  · ···UNDEF······htp·will·do·very·specific·checking·of·parameters·when·a
48 ·················metatag·is·invoked.·htp·assumes·that·all·parameter·options·to24  · ···UNSET······metatag·is·invoked.·htp·assumes·that·all·parameter·options·to
49 ·················the·metatag·are·optional.·This·is·why·the·HEADERIMG·definition25  · ···USE,_$·····the·metatag·are·optional.·This·is·why·the·HEADERIMG·definition
50 ·················uses·IF·to·verify·the·SIZE·option·is·defined·before·expanding26  · ···WHILE······uses·IF·to·verify·the·SIZE·option·is·defined·before·expanding
51 ·················it·in·the·block.·If·a·parameter·is·required,·simply·expand·it27  · ···<!---······it·in·the·block.·If·a·parameter·is·required,·simply·expand·it
52 ·················without·first·checking.·When·htp·expands·the·metatag·and·the28  ·History········without·first·checking.·When·htp·expands·the·metatag·and·the
53 ·················macro·is·not·defined,·it·will·halt·processing·and·complain29  ·Wish_list······macro·is·not·defined,·it·will·halt·processing·and·complain
54 ·················with·an·error·message·and·the·required·macro·name.·Normally30  ·Bugs···········with·an·error·message·and·the·required·macro·name.·Normally
55 ·················htp·will·not·allow·parameters·not·listed·in·the·OPTION31 ·················htp·will·not·allow·parameters·not·listed·in·the·OPTION
56 ·················attribute·to·be·added·to·the·tag.·This·is·why·the·third32 ·················attribute·to·be·added·to·the·tag.·This·is·why·the·third
57 ·················invocation·of·HEADERIMG·will·fail.·There·is·no·ALT·parameter33 ·················invocation·of·HEADERIMG·will·fail.·There·is·no·ALT·parameter
58 ·················specified·in·the·OPTION·attribute.·However,·there·is·the34 ·················specified·in·the·OPTION·attribute.·However,·there·is·the
59 ·················special·option·*,·which·matches·every·other·parameter.·It35 ·················special·option·*,·which·matches·every·other·parameter.·It
60 ·················should·be·used·to·pass·all·other·options·to·another·tag.36 ·················should·be·used·to·pass·all·other·options·to·another·tag.
61 ·················Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that·both37 ·················Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that·both
6.0 KB
./usr/share/doc/htp/file.html
    
Offset 132, 25 lines modifiedOffset 132, 14 lines modified
132 <P>132 <P>
133 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>133 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
134 <P>134 <P>
135 To·include·information·about·another·file,·such·as·an·archive·file·or135 To·include·information·about·another·file,·such·as·an·archive·file·or
136 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the136 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
137 type·of·information·to·be·displayed:137 type·of·information·to·be·displayed:
138 ··<p><code>138 ··<p><code>
139 &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">"bigfont"</span>&gt;</span><br> 
140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br> 
141 &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> 
142 <br> 
143 &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">"/bigfont"</span>&gt;</span><br> 
144 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
145 &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> 
146 <br> 
147 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
148 his·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> 
149 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> 
150 </code></p>139 </code></p>
151 <P>140 <P>
152 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the141 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
153 information·is·displayed.··In·anything·other·than·byte·format,·the·information142 information·is·displayed.··In·anything·other·than·byte·format,·the·information
154 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number143 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
155 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional144 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
156 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no145 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
3.77 KB
html2text {}
    
Offset 8, 41 lines modifiedOffset 8, 30 lines modified
8  ·Usage··········date,·or·size·may·be·added·to·the·output·file·as·well.8  ·Usage··········date,·or·size·may·be·added·to·the·output·file·as·well.
9  ·HTP·Tags·······As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own9  ·HTP·Tags·······As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own
10  · ···ALTTEXT····line,·so·the·following·is·perfectly·acceptable:10  · ···ALTTEXT····line,·so·the·following·is·perfectly·acceptable:
11  · ···BLOCK······****·NAME,·TIME,·SIZE·****11  · ···BLOCK······****·NAME,·TIME,·SIZE·****
12  · ···BLOCKDEF···To·include·information·about·another·file,·such·as·an·archive12  · ···BLOCKDEF···To·include·information·about·another·file,·such·as·an·archive
13  · ···DEF········file·or·graphic·image,·specify·its·name·with·the·NAME13  · ···DEF········file·or·graphic·image,·specify·its·name·with·the·NAME
14  ·[>]·FILE·······attribute·followed·by·the·type·of·information·to·be·displayed:14  ·[>]·FILE·······attribute·followed·by·the·type·of·information·to·be·displayed:
15  · ···IF········· ·<[[ref]]def·name="bigfont"> 
16  · ···INC········ · ·<font·size="+4"> 
17  · ···IMG········ ·<[[ref]]/def> 
18  · ···IMAGEURL 
19  · ···OPT········ ·<[[ref]]def·name="/bigfont"> 
20  · ···OUTPUT····· · ·</font> 
21  · ···QUOTE······ ·<[[ref]]/def> 
22  · ···SET 
23  · ···UNDEF······ ·<bigfont>Some·large·text</bigfont> 
24  · ···UNSET······his·fails:·<[[ref]]use·email> 
25  · ···USE,_$·····And·this·fails:·<[[ref]]use·morestuff·email="jnelson@crl.com"> 
26  · ···WHILE······For·file·size·information,·the·value·BYTE,·KBYTE,·etc.15  · ···IF·········For·file·size·information,·the·value·BYTE,·KBYTE,·etc.
27  · ···<!---······dictates·how·the·information·is·displayed.·In·anything·other16  · ···INC········dictates·how·the·information·is·displayed.·In·anything·other
28  ·History········than·byte·format,·the·information·is·displayed·in·floating-17  · ···IMG········than·byte·format,·the·information·is·displayed·in·floating-
29  ·Wish_list······point·notation.·The·amount·of·precision·(the·number·of·digits18  · ···IMAGEURL···point·notation.·The·amount·of·precision·(the·number·of·digits
30  ·Bugs···········to·the·right·of·the·decimal·point)·can·be·set·with·the19  · ···OPT········to·the·right·of·the·decimal·point)·can·be·set·with·the
31 ·················optional·PRECISION·attribute.·The·default·precision·is·zero20  · ···OUTPUT·····optional·PRECISION·attribute.·The·default·precision·is·zero
32 ·················(0),·which·means·no·fractional·portion·is·displayed.21  · ···QUOTE······(0),·which·means·no·fractional·portion·is·displayed.
33 ·················At·the·request·of·many·people,·the·TIME·and·DATE·attributes22  · ···SET········At·the·request·of·many·people,·the·TIME·and·DATE·attributes
34 ·················will·now·accept·formatting·characters·that·are·passed·directly23  · ···UNDEF······will·now·accept·formatting·characters·that·are·passed·directly
35 ·················into·the·ANSI·C·library·function.·This·allows·for·the·time·and24  · ···UNSET······into·the·ANSI·C·library·function.·This·allows·for·the·time·and
36 ·················date·to·be·displayed·in·virtually·any·format.·Users·not25  · ···USE,_$·····date·to·be·displayed·in·virtually·any·format.·Users·not
37 ·················wishing·to·mess·around·with·this·should·stick·to·the·default26  · ···WHILE······wishing·to·mess·around·with·this·should·stick·to·the·default
38 ·················format,·which·is·used·if·no·formatting·value·is·specified27  · ···<!---······format,·which·is·used·if·no·formatting·value·is·specified
39 ·················(i.e.,·just·using·05:04:11·PM).28  ·History········(i.e.,·just·using·05:04:11·PM).
40 ·················Consult·any·C·programmer's·guide·discussing·the·standard·C29  ·Wish_list······Consult·any·C·programmer's·guide·discussing·the·standard·C
41 ·················library·function·strftime()·for·information·on·how·to·build·a30  ·Bugs···········library·function·strftime()·for·information·on·how·to·build·a
42 ·················format·string.·If·unsure,·ask·an·experienced·C·programmer·for31 ·················format·string.·If·unsure,·ask·an·experienced·C·programmer·for
43 ·················help,·or·consider·just·sticking·to·the·default·formatting.32 ·················help,·or·consider·just·sticking·to·the·default·formatting.
44 ·················****·INCLUDE·****33 ·················****·INCLUDE·****
45 ·················INCLUDE·files·are·pre-processed·as·any·other·file.·The34 ·················INCLUDE·files·are·pre-processed·as·any·other·file.·The
46 ·················resulting·text·is·incorporated·into·the·HTML·output·as·if·the35 ·················resulting·text·is·incorporated·into·the·HTML·output·as·if·the
47 ·················file·had·been·copied·into·the·source·at·the·same·location·as36 ·················file·had·been·copied·into·the·source·at·the·same·location·as
48 ·················the·FILE·markup·tag.37 ·················the·FILE·markup·tag.
3.97 KB
./usr/share/doc/htp/if.html
    
Offset 127, 21 lines modifiedOffset 127, 14 lines modified
127 string:127 string:
128 ··<p><code>128 ··<p><code>
129 </code></p>129 </code></p>
130 <P>130 <P>
131 and·a·defined·operator·is·a·test·of·a·macro's·existance:131 and·a·defined·operator·is·a·test·of·a·macro's·existance:
132 <P>132 <P>
133 ··<p><code>133 ··<p><code>
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">"0"</span>&gt;</span><br> 
135 &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> 
136 &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="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> 
138 &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> 
139 &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> 
140 &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> 
141 </code></p>134 </code></p>
142 <P>135 <P>
143 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the136 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
144 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that137 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
145 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the138 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
146 ELSE·block·is·taken·if·it·is·present.··A·conditional·block139 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.140 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
1.92 KB
html2text {}
    
Offset 4, 47 lines modifiedOffset 4, 40 lines modified
4 Contents·········*****·synopsis·*****4 Contents·········*****·synopsis·*****
5  ·Introduction···IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for5  ·Introduction···IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for
6  ·License········conditional·processing.·The·basic·form·is·shown·above.6  ·License········conditional·processing.·The·basic·form·is·shown·above.
7  ·Tutorial·······"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.7  ·Tutorial·······"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
8  ·Usage··········A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a8  ·Usage··········A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a
9  ·HTP·Tags·······literal·string:9  ·HTP·Tags·······literal·string:
10  · ···ALTTEXT····and·a·defined·operator·is·a·test·of·a·macro's·existance:10  · ···ALTTEXT····and·a·defined·operator·is·a·test·of·a·macro's·existance:
11  · ···BLOCK······ ·<[[ref]]set·sect-ctr="0"> 
12  · ···BLOCKDEF··· ·<[[ref]]blockdef·name="section"> 
13  · ···DEF········ · ·<[[ref]]inc·sect-ctr> 
14  · ···FILE······· · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> 
15  ·[>]·IF········· · · ·<[[ref]]use·block·noexpand> 
16  · ···INC········ · ·<[[ref]]/block> 
17  · ···IMG········ ·<[[ref]]/blockdef> 
18  · ···IMAGEURL···If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of11  · ···BLOCK······If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of
19  · ···OPT········the·conditional·is·reversed.·The·first·IF·or·ELSEIF·condition12  · ···BLOCKDEF···the·conditional·is·reversed.·The·first·IF·or·ELSEIF·condition
20  · ···OUTPUT·····that·evaluates·to·true·is·chosen.·If·none·of·the·conditions·is13  · ···DEF········that·evaluates·to·true·is·chosen.·If·none·of·the·conditions·is
21  · ···QUOTE······true·the·ELSE·block·is·taken·if·it·is·present.·A·conditional14  · ···FILE·······true·the·ELSE·block·is·taken·if·it·is·present.·A·conditional
22  · ···SET········block·must·be·closed·with·the·/IF·tag.·IF·tags·can·be·nested.15  ·[>]·IF·········block·must·be·closed·with·the·/IF·tag.·IF·tags·can·be·nested.
 16  · ···INC
 17  · ···IMG
 18  · ···IMAGEURL
 19  · ···OPT
 20  · ···OUTPUT
 21  · ···QUOTE
 22  · ···SET
23  · ···UNDEF23  · ···UNDEF
24  · ···UNSET24  · ···UNSET
25  · ···USE,_$25  · ···USE,_$
26  · ···WHILE26  · ···WHILE
27  · ···<!---27  · ···<!---
28  ·History28  ·History
29  ·Wish_list29  ·Wish_list
30  ·Bugs30  ·Bugs
  
  
  
  
  
  
  
  
  
  
  
  
  
31  ··page_source31  ··page_source
32  ··htp_project32  ··htp_project
33  ··htp_homepage33  ··htp_homepage
34 hosted·by34 hosted·by
35 Sourceforge35 Sourceforge
36 HTML·coding36 HTML·coding
37 [Powered_by_htp]37 [Powered_by_htp]
4.33 KB
./usr/share/doc/htp/metatag.html
    
Offset 112, 27 lines modifiedOffset 112, 23 lines modified
112 </code></p>112 </code></p>
113 <h2>Using·parameters</h2>113 <h2>Using·parameters</h2>
114 <p>·More·sophisticated·tags·accept·parameters.··The114 <p>·More·sophisticated·tags·accept·parameters.··The
115 <code>option</code>·parameter·lets·multiple·metatag·parameters·be115 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
116 named·and·expanded·inside·the·<code>def</code>·or116 named·and·expanded·inside·the·<code>def</code>·or
117 <code>blockdef</code>·block:·</p>117 <code>blockdef</code>·block:·</p>
118 ··<p><code>118 ··<p><code>
119 <font·size="-2">&nbsp;1.·</font>&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> 
120 <font·size="-2">&nbsp;2.·</font>&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> 
121 </code></p>119 </code></p>
122 <h2>Saving·blocks·for·later</h2>120 <h2>Saving·blocks·for·later</h2>
123 <p>When·you·are·using·templates,·the·html·should·only·be·written·by121 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
124 the·template·file.··The·normal·htp·files·should·just·define·macros122 the·template·file.··The·normal·htp·files·should·just·define·macros
125 that·are·used·later·in·the·template.··So·you·may·want·to·write·block123 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
126 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this124 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
127 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to125 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
128 do·this:</p>126 do·this:</p>
129 ··<p><code>127 ··<p><code>
130 <font·size="-2">&nbsp;1.·</font><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> 
131 <font·size="-2">&nbsp;2.·</font><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> 
132 </code></p>128 </code></p>
133 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a129 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
134 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is130 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
135 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is131 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
136 build·from·this·counter.··So·the·first·section·is·stored·in·block132 build·from·this·counter.··So·the·first·section·is·stored·in·block
137 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>·flag133 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
138 in·line·4·tells·htp·that·these·macros·should·be·defined·globally134 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
1.86 KB
html2text {}
    
Offset 25, 27 lines modifiedOffset 25, 21 lines modified
25 ·················automatically·search·for·the·matching·closing·tag·and·put25 ·················automatically·search·for·the·matching·closing·tag·and·put
26 ·················everything·between·these·tags·in·a·block·macro·named·block.26 ·················everything·between·these·tags·in·a·block·macro·named·block.
27 ·················Here·is·an·example·for·this.27 ·················Here·is·an·example·for·this.
28 ·················*****·Using·parameters·*****28 ·················*****·Using·parameters·*****
29 ·················More·sophisticated·tags·accept·parameters.·The·option29 ·················More·sophisticated·tags·accept·parameters.·The·option
30 ·················parameter·lets·multiple·metatag·parameters·be·named·and30 ·················parameter·lets·multiple·metatag·parameters·be·named·and
31 ·················expanded·inside·the·def·or·blockdef·block:31 ·················expanded·inside·the·def·or·blockdef·block:
32 ················· 1.· · ·<[[ref]]FILE·INCLUDE="include.hti"·name="Jim·Nelson" 
33 ·················email="jnelson@crl.com"> 
34 ················· 2.· · ·This·tag·will·fail:·<[[ref]]USE·name> 
35 ·················*****·Saving·blocks·for·later·*****32 ·················*****·Saving·blocks·for·later·*****
36 ·················When·you·are·using·templates,·the·html·should·only·be·written33 ·················When·you·are·using·templates,·the·html·should·only·be·written
37 ·················by·the·template·file.·The·normal·htp·files·should·just·define34 ·················by·the·template·file.·The·normal·htp·files·should·just·define
38 ·················macros·that·are·used·later·in·the·template.·So·you·may·want·to35 ·················macros·that·are·used·later·in·the·template.·So·you·may·want·to
39 ·················write·block·tags·that·just·save·the·block·in·a·macro·for·later36 ·················write·block·tags·that·just·save·the·block·in·a·macro·for·later
40 ·················use.·Although·this·is·possible·with·htp·it·is·quite·tricky,·so37 ·················use.·Although·this·is·possible·with·htp·it·is·quite·tricky,·so
41 ·················here·we·present·the·way·to·do·this:38 ·················here·we·present·the·way·to·do·this:
42 ················· 1.·<a·href="mailto:$email">mailto·hyperlink</a> 
43 ················· 2.·<a·href="http://$domain/~${username}/">another·hyperlink</ 
44 ·················a> 
45 ·················This·defines·a·block·macro·named·section.·This·macro·uses·a39 ·················This·defines·a·block·macro·named·section.·This·macro·uses·a
46 ·················counter·sect-ctr·that·enumerates·the·sections.·It·is·increased40 ·················counter·sect-ctr·that·enumerates·the·sections.·It·is·increased
47 ·················for·every·section·(line·3)·and·then·the·block·macro·name·is41 ·················for·every·section·(line·3)·and·then·the·block·macro·name·is
48 ·················build·from·this·counter.·So·the·first·section·is·stored·in42 ·················build·from·this·counter.·So·the·first·section·is·stored·in
49 ·················block·sect-1,·the·second·in·sect-2·and·so·on.·The·[43 ·················block·sect-1,·the·second·in·sect-2·and·so·on.·The·[
50 ·················[ref]]global·flag·in·line·4·tells·htp·that·these·macros·should44 ·················[ref]]global·flag·in·line·4·tells·htp·that·these·macros·should
51 ·················be·defined·globally·for·the·remaining·run.·Otherwise·they45 ·················be·defined·globally·for·the·remaining·run.·Otherwise·they
3.69 KB
./usr/share/doc/htp/output.html
    
Offset 114, 21 lines modifiedOffset 114, 14 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;·a·is·expanded·at·time·1.<br> 
122 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br> 
123 &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> 
124 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br> 
125 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br> 
126 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br> 
127 &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> 
128 </code></p>121 </code></p>
129 <h2>synopsis</h2>122 <h2>synopsis</h2>
130 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary123 <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·the124 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>125 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
133 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you126 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
134 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text127 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text
2.32 KB
html2text {}
    
Offset 1, 49 lines modifiedOffset 1, 41 lines modified
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·OUTPUT·******2 ******·htp·on-line·reference·:·OUTPUT·******
3 Table_of·········*****·syntax·*****3 Table_of·········*****·syntax·*****
 4 Contents·········*****·synopsis·*****
4 Contents········· · ·a·is·expanded·at·time·1. 
5  ·Introduction··· · ·b·is·expanded·at·time·0. 
6  ·License········ ·contents·of·a:· ·a·is·expanded·at·time·<[[ref]]use·time>. 
7  ·Tutorial······· ·contents·of·b:· ·b·is·expanded·at·time·0. 
8  ·Usage·········· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1. 
9  ·HTP·Tags······· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2. 
10  · ···ALTTEXT···· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·< 
11  · ···BLOCK······[[ref]]use·time>. 
12  · ···BLOCKDEF···*****·synopsis·***** 
13  · ···DEF········The·OUTPUT·tag·can·be·used·to·create·auxillary·files·besides5  ·Introduction···The·OUTPUT·tag·can·be·used·to·create·auxillary·files·besides
14  · ···FILE·······the·main·HTML·file.·The·text·between·this·tag·and·the6  ·License········the·main·HTML·file.·The·text·between·this·tag·and·the
15  · ···IF·········corresponding·</OUTPUT>·tag·is·written·to·output·file.7  ·Tutorial·······corresponding·</OUTPUT>·tag·is·written·to·output·file.
16  · ···INC········Normally·the·outputfile·is·cleared·before·writing·to·it,·but8  ·Usage··········Normally·the·outputfile·is·cleared·before·writing·to·it,·but
17  · ···IMG········you·can·use·the·APPEND·attribute·to·extend·an·existing·file.9  ·HTP·Tags·······you·can·use·the·APPEND·attribute·to·extend·an·existing·file.
18  · ···IMAGEURL···The·text·written·to·the·file·is·normally·not·expanded,·i.e.10  · ···ALTTEXT····The·text·written·to·the·file·is·normally·not·expanded,·i.e.
19  · ···OPT········all·tags·inside·this·block·are·not·executed·but·written11  · ···BLOCK······all·tags·inside·this·block·are·not·executed·but·written
20  ·[>]·OUTPUT·····unmodified·to·the·file.·However,·you·can·use·the·EXPAND12  · ···BLOCKDEF···unmodified·to·the·file.·However,·you·can·use·the·EXPAND
21  · ···QUOTE······attribute·to·override·this·behaviour.13  · ···DEF········attribute·to·override·this·behaviour.
 14  · ···FILE
 15  · ···IF
 16  · ···INC
 17  · ···IMG
 18  · ···IMAGEURL
 19  · ···OPT
 20  ·[>]·OUTPUT
 21  · ···QUOTE
22  · ···SET22  · ···SET
23  · ···UNDEF23  · ···UNDEF
24  · ···UNSET24  · ···UNSET
25  · ···USE,_$25  · ···USE,_$
26  · ···WHILE26  · ···WHILE
27  · ···<!---27  · ···<!---
28  ·History28  ·History
29  ·Wish_list29  ·Wish_list
30  ·Bugs30  ·Bugs
  
  
  
  
  
  
  
  
  
  
  
  
31  ··page_source31  ··page_source
32  ··htp_project32  ··htp_project
33  ··htp_homepage33  ··htp_homepage
34 hosted·by34 hosted·by
35 Sourceforge35 Sourceforge
36 HTML·coding36 HTML·coding
37 [Powered_by_htp]37 [Powered_by_htp]
4.92 KB
./usr/share/doc/htp/set.html
    
Offset 119, 25 lines modifiedOffset 119, 14 lines modified
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 </code></p>121 </code></p>
122 <h2>synopsis</h2>122 <h2>synopsis</h2>
123 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded123 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
124 anywhere·in·the·HTML·document.··To·create·a·macro:124 anywhere·in·the·HTML·document.··To·create·a·macro:
125 ··<p><code>125 ··<p><code>
126 &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">"bigfont"</span>&gt;</span><br> 
127 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br> 
128 &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> 
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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>&gt;</span><br> 
131 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
132 &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> 
133 <br> 
134 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
135 his·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> 
136 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> 
137 </code></p>126 </code></p>
138 <P>127 <P>
139 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">128 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">
140 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular129 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular
141 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the130 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
142 <A·HREF="use.html">'$'</A>·operator.131 <A·HREF="use.html">'$'</A>·operator.
143 <P>132 <P>
2.86 KB
html2text {}
    
Offset 1, 48 lines modifiedOffset 1, 37 lines modified
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·SET·******2 ******·htp·on-line·reference·:·SET·******
3 Table_of·········*****·syntax·*****3 Table_of·········*****·syntax·*****
4 Contents·········*****·synopsis·*****4 Contents·········*****·synopsis·*****
5  ·Introduction···SET·creates·a·macro·definition·that·can·later·be·expanded5  ·Introduction···SET·creates·a·macro·definition·that·can·later·be·expanded
6  ·License········anywhere·in·the·HTML·document.·To·create·a·macro:6  ·License········anywhere·in·the·HTML·document.·To·create·a·macro:
7  ·Tutorial······· ·<[[ref]]def·name="bigfont"> 
8  ·Usage·········· · ·<font·size="+4"> 
9  ·HTP·Tags······· ·<[[ref]]/def> 
10  · ···ALTTEXT 
11  · ···BLOCK······ ·<[[ref]]def·name="/bigfont"> 
12  · ···BLOCKDEF··· · ·</font> 
13  · ···DEF········ ·<[[ref]]/def> 
14  · ···FILE 
15  · ···IF········· ·<bigfont>Some·large·text</bigfont> 
16  · ···INC········his·fails:·<[[ref]]use·email> 
17  · ···IMG········And·this·fails:·<[[ref]]use·morestuff·email="jnelson@crl.com"> 
18  · ···IMAGEURL···The·macro·"emailaddr"·can·then·be·expanded·later.·The·USE·tag7  ·Tutorial·······The·macro·"emailaddr"·can·then·be·expanded·later.·The·USE·tag
19  · ···OPT········is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the8  ·Usage··········is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the
20  · ···OUTPUT·····regular·text).·If·the·macro·needs·to·be·expanded·inside·a9  ·HTP·Tags·······regular·text).·If·the·macro·needs·to·be·expanded·inside·a
21  · ···QUOTE······markup·tag,·use·the·'$'·operator.10  · ···ALTTEXT····markup·tag,·use·the·'$'·operator.
22  ·[>]·SET········Multiple·macros·can·be·declared·in·a·single·markup·tag,·as·the11  · ···BLOCK······Multiple·macros·can·be·declared·in·a·single·markup·tag,·as·the
23  · ···UNDEF······second·syntax·line·shows.12  · ···BLOCKDEF···second·syntax·line·shows.
24  · ···UNSET······SET·should·only·be·used·for·a·single·line's·worth·of·text.13  · ···DEF········SET·should·only·be·used·for·a·single·line's·worth·of·text.
25  · ···USE,_$·····Multi-line·macros·can·be·defined·with·the·BLOCK·tag.·The·BLOCK14  · ···FILE·······Multi-line·macros·can·be·defined·with·the·BLOCK·tag.·The·BLOCK
26  · ···WHILE······tag·is·also·useful·if·the·macro·contains·a·quotation·character15  · ···IF·········tag·is·also·useful·if·the·macro·contains·a·quotation·character
27  · ···<!---······and·you·don't·want·to·fool·around·with·special·escape16  · ···INC········and·you·don't·want·to·fool·around·with·special·escape
28  ·History········characters.17  · ···IMG········characters.
29  ·Wish_list······Macros·can·be·redefined·by·using·another·SET·command·with·the18  · ···IMAGEURL···Macros·can·be·redefined·by·using·another·SET·command·with·the
30  ·Bugs···········same·macro·name.·The·prior·definition·will·be·destroyed,19  · ···OPT········same·macro·name.·The·prior·definition·will·be·destroyed,
31 ·················however.·Also,·the·macro·can·be·removed·(destroyed)·with·the20  · ···OUTPUT·····however.·Also,·the·macro·can·be·removed·(destroyed)·with·the
32 ·················UNSET·tag. 
  
  
  
  
  
  
  
  
 21  · ···QUOTE······UNSET·tag.
 22  ·[>]·SET
 23  · ···UNDEF
 24  · ···UNSET
 25  · ···USE,_$
 26  · ···WHILE
 27  · ···<!---
 28  ·History
 29  ·Wish_list
 30  ·Bugs
  
  
  
  
  
  
  
790 B
./usr/share/doc/htp/tut/jh.html
    
Offset 16, 10 lines modifiedOffset 16, 10 lines modified
16 <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr>16 <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr>
17 <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr>17 <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr>
18 </table>18 </table>
19 ···</td></tr>19 ···</td></tr>
20 ··</table>20 ··</table>
21 ··<hr>21 ··<hr>
22 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>22 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>
23 ··last·updated·Sat·Oct·18,·202523 ··last·updated·Fri·Nov·20,·2026
24 ·</body>24 ·</body>
25 </html>25 </html>
393 B
html2text {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 ···············******·Jochen·Hoenicke·******1 ···············******·Jochen·Hoenicke·******
2 Navigation·bar·[Photo]2 Navigation·bar·[Photo]
3 Main···········Room:··Bld.52·00-0203 Main···········Room:··Bld.52·00-020
4 Example········Phone:·+49·761·203-82434 Example········Phone:·+49·761·203-8243
5 ···············Fax:···+49·761·203-82425 ···············Fax:···+49·761·203-8242
6 ===============================================================================6 ===============================================================================
7 Copyright·by·Joe_Doe.7 Copyright·by·Joe_Doe.
8 last·updated·Sat·Oct·18,·20258 last·updated·Fri·Nov·20,·2026
643 B
./usr/share/doc/htp/tut/tut1.html
    
Offset 5, 9 lines modifiedOffset 5, 9 lines modified
5 <meta·name="Generator"·content="htp·1.19">5 <meta·name="Generator"·content="htp·1.19">
6 </head>6 </head>
7 <body>7 <body>
8 This·page·was·produced·by·htp.8 This·page·was·produced·by·htp.
9 <hr>9 <hr>
10 Copyright·by·Joe·Doe,10 Copyright·by·Joe·Doe,
11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,
12 last·updated·Sat·Oct·18,·202512 last·updated·Fri·Nov·20,·2026
13 </body>13 </body>
303 B
html2text {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 This·page·was·produced·by·htp.1 This·page·was·produced·by·htp.
2 ===============================================================================2 ===============================================================================
3 Copyright·by·Joe·Doe,·webmaster@domain.com,·last·updated·Sat·Oct·18,·20253 Copyright·by·Joe·Doe,·webmaster@domain.com,·last·updated·Fri·Nov·20,·2026
686 B
./usr/share/doc/htp/tut/tut2.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 <p>13 <p>
14 As·you·can·see·the·file·contains·almost·only·the·contents.14 As·you·can·see·the·file·contains·almost·only·the·contents.
15 </p>15 </p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Sat·Oct·18,·202520 ··last·updated·Fri·Nov·20,·2026
21 ·</body>21 ·</body>
22 </html>22 </html>
338 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*****·Here·is·the·content·*****1 Navigation·bar·*****·Here·is·the·content·*****
2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 Example3 Example
4 ===============================================================================4 ===============================================================================
5 Copyright·by·Joe_Doe.5 Copyright·by·Joe_Doe.
6 last·updated·Sat·Oct·18,·20256 last·updated·Fri·Nov·20,·2026
684 B
./usr/share/doc/htp/tut/tut3.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 ·<p>13 ·<p>
14 ·As·you·can·see·the·file·contains·almost·only·the·contents.14 ·As·you·can·see·the·file·contains·almost·only·the·contents.
15 ·</p>15 ·</p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Sat·Oct·18,·202520 ··last·updated·Fri·Nov·20,·2026
21 ·</body>21 ·</body>
22 </html>22 </html>
340 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*****·Here·are·the·contents·*****1 Navigation·bar·*****·Here·are·the·contents·*****
2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 Example3 Example
4 ===============================================================================4 ===============================================================================
5 Copyright·by·Joe_Doe.5 Copyright·by·Joe_Doe.
6 last·updated·Sat·Oct·18,·20256 last·updated·Fri·Nov·20,·2026
5.24 KB
./usr/share/doc/htp/unset.html
    
Offset 124, 32 lines modifiedOffset 124, 18 lines modified
124 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.124 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
125 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or125 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
126 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The126 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
127 old·macro·definition·will·be·removed·automatically.)127 old·macro·definition·will·be·removed·automatically.)
128 <P>128 <P>
129 For·example:129 For·example:
130 ··<p><code>130 ··<p><code>
131 &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> 
132 &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> 
133 &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> 
134 &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> 
135 &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> 
136 &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> 
137 &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> 
138 </code></p>131 </code></p>
139 <P>132 <P>
140 More·than·one·macro·may·be·removed·in·the·same·tag:133 More·than·one·macro·may·be·removed·in·the·same·tag:
141 ··<p><code>134 ··<p><code>
142 <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> 
143 &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> 
144 &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> 
145 &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> 
146 &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> 
147 &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> 
148 <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> 
149 </code></p>135 </code></p>
150 <p>136 <p>
151 </td>137 </td>
152 </tr>138 </tr>
153 <tr>139 <tr>
154 <td·width="20%"·bgcolor="white"·valign="bottom">140 <td·width="20%"·bgcolor="white"·valign="bottom">
155 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">141 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
1.62 KB
html2text {}
    
Offset 5, 50 lines modifiedOffset 5, 36 lines modified
5  ·Introduction···UNSET·removes·(or·deletes)·a·macro·and·it's·definition.·The5  ·Introduction···UNSET·removes·(or·deletes)·a·macro·and·it's·definition.·The
6  ·License········macro·is·subsequently·not·available·for·use·in·the·pre-6  ·License········macro·is·subsequently·not·available·for·use·in·the·pre-
7  ·Tutorial·······processed·files.·(Note·that·simply·redefining·the·macro·with7  ·Tutorial·······processed·files.·(Note·that·simply·redefining·the·macro·with
8  ·Usage··········another·SET·or·BLOCK·definition·with·the·same·name·is8  ·Usage··········another·SET·or·BLOCK·definition·with·the·same·name·is
9  ·HTP·Tags·······acceptable.·The·old·macro·definition·will·be·removed9  ·HTP·Tags·······acceptable.·The·old·macro·definition·will·be·removed
10  · ···ALTTEXT····automatically.)10  · ···ALTTEXT····automatically.)
11  · ···BLOCK······For·example:11  · ···BLOCK······For·example:
12  · ···BLOCKDEF··· ·<[[ref]]set·sect-ctr="0"> 
13  · ···DEF········ ·<[[ref]]blockdef·name="section"> 
14  · ···FILE······· · ·<[[ref]]inc·sect-ctr> 
15  · ···IF········· · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> 
16  · ···INC········ · · ·<[[ref]]use·block·noexpand> 
17  · ···IMG········ · ·<[[ref]]/block> 
18  · ···IMAGEURL··· ·<[[ref]]/blockdef> 
19  · ···OPT········More·than·one·macro·may·be·removed·in·the·same·tag:12  · ···BLOCKDEF···More·than·one·macro·may·be·removed·in·the·same·tag:
20  · ···OUTPUT·····<[[ref]]file·include="header.hti"> 
21  · ···QUOTE······ ·<[[ref]]set·sect-ctr="1"> 
22  · ···SET········ ·<[[ref]]while·sect-${sect-ctr}> 
23  · ···UNDEF······ · ·<[[ref]]use·sect-${sect-ctr}> 
24  ·[>]·UNSET······ · ·<[[ref]]inc·sect-ctr> 
25  · ···USE,_$····· ·<[[ref]]/while> 
26  · ···WHILE······<[[ref]]file·include="footer.hti">13  · ···DEF
 14  · ···FILE
 15  · ···IF
 16  · ···INC
 17  · ···IMG
 18  · ···IMAGEURL
 19  · ···OPT
 20  · ···OUTPUT
 21  · ···QUOTE
 22  · ···SET
 23  · ···UNDEF
 24  ·[>]·UNSET
 25  · ···USE,_$
 26  · ···WHILE
27  · ···<!---27  · ···<!---
28  ·History28  ·History
29  ·Wish_list29  ·Wish_list
30  ·Bugs30  ·Bugs
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
31  ··page_source31  ··page_source
32  ··htp_project32  ··htp_project
33  ··htp_homepage33  ··htp_homepage
34 hosted·by34 hosted·by
35 Sourceforge35 Sourceforge
36 HTML·coding36 HTML·coding
37 [Powered_by_htp]37 [Powered_by_htp]
5.71 KB
./usr/share/doc/htp/use.html
    
Offset 131, 21 lines modifiedOffset 131, 14 lines modified
131 attribute·to·prevent·further·expansion.··</p>131 attribute·to·prevent·further·expansion.··</p>
132 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros132 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
133 for·the·expanded·macro.··This·is·only·valid·for·<A133 for·the·expanded·macro.··This·is·only·valid·for·<A
134 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A134 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
135 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For135 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
136 example:</p>136 example:</p>
137 ··<p><code>137 ··<p><code>
138 <font·size="-2">&nbsp;1.·</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">"0"</span>&gt;</span><br> 
139 <font·size="-2">&nbsp;2.·</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">"section"</span>&gt;</span><br> 
140 <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">sect-ctr</span>&gt;</span><br> 
141 <font·size="-2">&nbsp;4.·</font>&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> 
142 <font·size="-2">&nbsp;5.·</font>&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> 
143 <font·size="-2">&nbsp;6.·</font>&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> 
144 <font·size="-2">&nbsp;7.·</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> 
145 </code></p>138 </code></p>
146 <P>139 <P>
147 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on140 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
148 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and141 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
149 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8142 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8
150 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is143 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
151 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.144 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
3.23 KB
html2text {}
    
Offset 10, 35 lines modifiedOffset 10, 28 lines modified
10  · ···ALTTEXT····want,·for·example,·if·the·use·is·inside·a·block·which·expands10  · ···ALTTEXT····want,·for·example,·if·the·use·is·inside·a·block·which·expands
11  · ···BLOCK······itself.·You·can·use·the·noexpand·attribute·to·prevent·further11  · ···BLOCK······itself.·You·can·use·the·noexpand·attribute·to·prevent·further
12  · ···BLOCKDEF···expansion.12  · ···BLOCKDEF···expansion.
13  · ···DEF········USE·will·accept·additional·parameters,·which·are·"local"13  · ···DEF········USE·will·accept·additional·parameters,·which·are·"local"
14  · ···FILE·······macros·for·the·expanded·macro.·This·is·only·valid·for·BLOCK14  · ···FILE·······macros·for·the·expanded·macro.·This·is·only·valid·for·BLOCK
15  · ···IF·········macros.·Macros·created·using·SET·cannot·have·parameters15  · ···IF·········macros.·Macros·created·using·SET·cannot·have·parameters
16  · ···INC········passed.·For·example:16  · ···INC········passed.·For·example:
17  · ···IMG········ 1.· ·<[[ref]]set·sect-ctr="0"> 
18  · ···IMAGEURL··· 2.· ·<[[ref]]blockdef·name="section"> 
19  · ···OPT········ 3.· · ·<[[ref]]inc·sect-ctr> 
20  · ···OUTPUT····· 4.· · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> 
21  · ···QUOTE······ 5.· · · ·<[[ref]]use·block·noexpand> 
22  · ···SET········ 6.· · ·<[[ref]]/block> 
23  · ···UNDEF······ 7.· ·<[[ref]]/blockdef> 
24  · ···UNSET······(See·below·for·a·description·of·the·'$'·operator.)·The·example17  · ···IMG········(See·below·for·a·description·of·the·'$'·operator.)·The·example
25  ·[>]·USE,_$·····on·line·7·works·because·"stuff"·has·been·declared·as·a·block18  · ···IMAGEURL···on·line·7·works·because·"stuff"·has·been·declared·as·a·block
26  · ···WHILE······macro,·and·the·tag·is·passing·the·"email"·macro·to·the·"stuff"19  · ···OPT········macro,·and·the·tag·is·passing·the·"email"·macro·to·the·"stuff"
27  · ···<!---······macro.·Line·8·fails·because·the·"email"·macro·is·unavailable20  · ···OUTPUT·····macro.·Line·8·fails·because·the·"email"·macro·is·unavailable
28  ·History········once·the·block·macro·is·completely·expanded,·and·cannot·be21  · ···QUOTE······once·the·block·macro·is·completely·expanded,·and·cannot·be
29  ·Wish_list······passed·to·a·SET·macro.22  · ···SET········passed·to·a·SET·macro.
30  ·Bugs···········Note·that·the·"email"·macro·is·available·to·other·macros·or23  · ···UNDEF······Note·that·the·"email"·macro·is·available·to·other·macros·or
31 ·················included·files·called·within·the·"stuff"·block.24  · ···UNSET······included·files·called·within·the·"stuff"·block.
32 ·················Inside·a·markup·tag,·like·IMG,·A·(anchor),·or·any·other25  ·[>]·USE,_$·····Inside·a·markup·tag,·like·IMG,·A·(anchor),·or·any·other
33 ·················standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.·The26  · ···WHILE······standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.·The
34 ·················'$'·should·be·immediately·followed·by·the·macro·name,·which27  · ···<!---······'$'·should·be·immediately·followed·by·the·macro·name,·which
35 ·················may·or·may·not·be·surrounded·by·curly·braces.·When·htp28  ·History········may·or·may·not·be·surrounded·by·curly·braces.·When·htp
36 ·················encounters·this·it·replaces·the·macro·name·by·the·contents·of29  ·Wish_list······encounters·this·it·replaces·the·macro·name·by·the·contents·of
37 ·················the·macro·without·further·processing·the·contents.30  ·Bugs···········the·macro·without·further·processing·the·contents.
38 ················· 1.·<[[ref]]file·include="header.hti">31 ················· 1.·<[[ref]]file·include="header.hti">
39 ················· 2.· ·<[[ref]]set·sect-ctr="1">32 ················· 2.· ·<[[ref]]set·sect-ctr="1">
40 ················· 3.· ·<[[ref]]while·sect-${sect-ctr}>33 ················· 3.· ·<[[ref]]while·sect-${sect-ctr}>
41 ················· 4.· · ·<[[ref]]use·sect-${sect-ctr}>34 ················· 4.· · ·<[[ref]]use·sect-${sect-ctr}>
42 ················· 5.· · ·<[[ref]]inc·sect-ctr>35 ················· 5.· · ·<[[ref]]inc·sect-ctr>
43 ················· 6.· ·<[[ref]]/while>36 ················· 6.· ·<[[ref]]/while>
44 ················· 7.·<[[ref]]file·include="footer.hti">37 ················· 7.·<[[ref]]file·include="footer.hti">
5.99 KB
./usr/share/doc/htp/while.html
    
Offset 124, 33 lines modifiedOffset 124, 19 lines modified
124 The·basic·form·is·shown·above.124 The·basic·form·is·shown·above.
125 <P>125 <P>
126 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.126 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
127 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.127 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.
128 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the128 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
129 conditional·is·reversed:129 conditional·is·reversed:
130 ··<p><code>130 ··<p><code>
131 &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> 
132 &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> 
133 &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> 
134 &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> 
135 &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> 
136 &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> 
137 &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> 
138 </code></p>131 </code></p>
139 <P>132 <P>
140 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·a133 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
141 macro's·existance:134 macro's·existance:
142 ··<p><code>135 ··<p><code>
143 <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> 
144 &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> 
145 &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> 
146 &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> 
147 &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> 
148 &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> 
149 <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> 
150 </code></p>136 </code></p>
151 <P>137 <P>
152 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the138 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
153 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the139 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
154 WHILE·tag·it·is·also·reevaluated·on·each·iteration.140 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
155 <P>141 <P>
156 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.142 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.
2.2 KB
html2text {}
    
Offset 4, 48 lines modifiedOffset 4, 34 lines modified
4 Contents·········*****·synopsis·*****4 Contents·········*****·synopsis·*****
5  ·Introduction···WHILE·is·the·building·block·for·repeated·processing.·The·basic5  ·Introduction···WHILE·is·the·building·block·for·repeated·processing.·The·basic
6  ·License········form·is·shown·above.6  ·License········form·is·shown·above.
7  ·Tutorial·······"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.7  ·Tutorial·······"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
8  ·Usage··········A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a8  ·Usage··········A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a
9  ·HTP·Tags·······literal·string.·If·the·NOT·tag·is·present·in·the·WHILE·markup,9  ·HTP·Tags·······literal·string.·If·the·NOT·tag·is·present·in·the·WHILE·markup,
10  · ···ALTTEXT····the·evaluation·of·the·conditional·is·reversed:10  · ···ALTTEXT····the·evaluation·of·the·conditional·is·reversed:
11  · ···BLOCK······ ·<[[ref]]set·sect-ctr="0"> 
12  · ···BLOCKDEF··· ·<[[ref]]blockdef·name="section"> 
13  · ···DEF········ · ·<[[ref]]inc·sect-ctr> 
14  · ···FILE······· · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> 
15  · ···IF········· · · ·<[[ref]]use·block·noexpand> 
16  · ···INC········ · ·<[[ref]]/block> 
17  · ···IMG········ ·<[[ref]]/blockdef> 
18  · ···IMAGEURL···Just·as·with·[[ref]]IF·you·can·also·check·for·a·macro's11  · ···BLOCK······Just·as·with·[[ref]]IF·you·can·also·check·for·a·macro's
 12  · ···BLOCKDEF···existance:
19  · ···OPT········existance: 
20  · ···OUTPUT·····<[[ref]]file·include="header.hti"> 
21  · ···QUOTE······ ·<[[ref]]set·sect-ctr="1"> 
22  · ···SET········ ·<[[ref]]while·sect-${sect-ctr}> 
23  · ···UNDEF······ · ·<[[ref]]use·sect-${sect-ctr}> 
24  · ···UNSET······ · ·<[[ref]]inc·sect-ctr> 
25  · ···USE,_$····· ·<[[ref]]/while> 
26  ·[>]·WHILE······<[[ref]]file·include="footer.hti"> 
27  · ···<!---······If·the·condition·is·true,·the·block·is·evaluated·and13  · ···DEF········If·the·condition·is·true,·the·block·is·evaluated·and
28  ·History········afterwards·the·WHILE·tag·is·evaluated·again.·If·the·'$'-14  · ···FILE·······afterwards·the·WHILE·tag·is·evaluated·again.·If·the·'$'-
29  ·Wish_list······operator·is·used·in·the·WHILE·tag·it·is·also·reevaluated·on15  · ···IF·········operator·is·used·in·the·WHILE·tag·it·is·also·reevaluated·on
30  ·Bugs···········each·iteration.16  · ···INC········each·iteration.
31 ·················A·loop·block·must·be·closed·with·the·/WHILE·tag.17  · ···IMG········A·loop·block·must·be·closed·with·the·/WHILE·tag.
  
  
  
  
  
  
  
  
  
  
  
  
 18  · ···IMAGEURL
 19  · ···OPT
 20  · ···OUTPUT
 21  · ···QUOTE
 22  · ···SET
 23  · ···UNDEF
 24  · ···UNSET
 25  · ···USE,_$
 26  ·[>]·WHILE
 27  · ···<!---
 28  ·History
 29  ·Wish_list
 30  ·Bugs