156 KB
/srv/reproducible-results/rbuild-debian/r-b-build.UQXMzRjv/b1/htp_1.19-8_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.UQXMzRjv/b2/htp_1.19-8_amd64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·4682c39bd695e83baa9df0c2a8cf2e48·71088·debug·optional·htp-dbgsym_1.19-8_amd64.deb1 ·4682c39bd695e83baa9df0c2a8cf2e48·71088·debug·optional·htp-dbgsym_1.19-8_amd64.deb
2 ·d71f795fafb1036bf3c5a4c51c41ab84·116836·web·optional·htp_1.19-8_amd64.deb2 ·0e27fa898d8673e9b6a119148b427870·116184·web·optional·htp_1.19-8_amd64.deb
155 KB
htp_1.19-8_amd64.deb
452 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·····3608·2020-06-14·23:21:19.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3612·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···113036·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···112380·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:·6525 Installed-Size:·629
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
154 KB
data.tar.xz
154 KB
data.tar
13.5 KB
file list
    
Offset 5, 23 lines modifiedOffset 5, 23 lines modified
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)·····8180·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)·····9547·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)····12286·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)·····9953·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····13119·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 32, 45 lines modifiedOffset 32, 45 lines modified
32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp
33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html
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)·····8370·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)····10084·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)····20342·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····13983·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)····12014·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)·····8304·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)·····8495·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
56 -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html56 -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html
57 -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp57 -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp
58 -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html58 -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html
59 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp59 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp
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)····18442·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····14375·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)·····7911·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)·····7777·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
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
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)····12297·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)····11752·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····9249·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)····16000·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····13374·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)····13251·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.84 KB
./usr/share/doc/htp/blockdef.html
    
Offset 124, 14 lines modifiedOffset 124, 26 lines modified
124 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it124 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
125 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block125 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
126 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and126 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
127 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored127 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
128 in·the·block·macro·named·BLOCK.128 in·the·block·macro·named·BLOCK.
129 <P>·For·example:</P>129 <P>·For·example:</P>
130 ··<p><code>130 ··<p><code>
 131 &nbsp;·<span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
 132 <br>
 133 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 134 &nbsp;·becomes·this·after·processing:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
 135 <br>
 136 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>&gt;</span><br>
 137 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br>
 138 <br>
 139 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>&gt;</span><br>
 140 &nbsp;·remains·unchanged.<br>
 141 mplatefilename"><br>
 142 <br>
131 </code></p>143 </code></p>
132 <p>144 <p>
133 All·block·metatags·have·the·implicit·option·<a145 All·block·metatags·have·the·implicit·option·<a
134 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents146 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
135 of·the·block·before·the·definition·is·expanded.147 of·the·block·before·the·definition·is·expanded.
136 </p>148 </p>
137 <p>149 <p>
2.63 KB
html2text {}
    
Offset 6, 31 lines modifiedOffset 6, 46 lines modified
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················way·of·saying·it·creates·new·block·tags.·A·block6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················way·of·saying·it·creates·new·block·tags.·A·block
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················tag·is·a·tag·that·takes·a·whole·block·as·additional7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················tag·is·a·tag·that·takes·a·whole·block·as·additional
8  ·HTP·Tags··················parameter.·This·block·is·surrounded·by·<tagname>8  ·HTP·Tags··················parameter.·This·block·is·surrounded·by·<tagname>
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············and·</tagname>.·The·contents·of·this·block·are9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············and·</tagname>.·The·contents·of·this·block·are
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················automatically·stored·in·the·block·macro·named10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················automatically·stored·in·the·block·macro·named
11  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············BLOCK.11  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············BLOCK.
12  · ···_\x8D_\x8E_\x8F···················For·example:12  · ···_\x8D_\x8E_\x8F···················For·example:
 13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_\x8l_\x8t_\x8t_\x8e_\x8x_\x8t·name="logo.gif"·text="Company
 14  · ···_\x8I_\x8F····················logo">
13  · ···_\x8F_\x8I_\x8L_\x8E··················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, 
14  · ···_\x8I_\x8F····················which·tells·htp·to·expand·the·contents·of·the·block 
15  · ···_\x8I_\x8N_\x8C···················before·the·definition·is·expanded. 
16  · ···_\x8I_\x8M_\x8G···················A·more·thorough·discussion·and·more·elaborate 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. 
18  · ···_\x8O_.P_.T15  · ···_\x8I_.N_.C
 16  · ···_\x8I_\x8M_\x8G··················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 18  · ···_\x8O_\x8P_\x8T···················src="logo.gif"·alt="Company·logo">
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E 
21  · ···_\x8S_.E_.T20  · ···_\x8Q_.U_.O_.T_.E················· ·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="../image/logo.gif">
 21  · ···_\x8S_\x8E_\x8T··················· ·will·also·have·an·ALT·attribute·appended·to·it
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E 
26  · ···_\x8<_.!_.-_.-_.-23  · ···_\x8U_.N_.S_.E_.T················· ·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="logo.gif"·alt="Click
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················here·for·more·information!">
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·remains·unchanged.
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················mplatefilename">
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_\x8B_.u_.g_.s28  ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················All·block·metatags·have·the·implicit·option·_.E_.X_.P_.A_.N_.D,
 29  ·_\x8B_\x8u_\x8g_\x8s······················which·tells·htp·to·expand·the·contents·of·the·block
 30 ····························before·the·definition·is·expanded.
 31 ····························A·more·thorough·discussion·and·more·elaborate
 32 ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
9.75 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 16 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 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <br> 
123 </code></p>121 </code></p>
124 <h2>synopsis</h2>122 <h2>synopsis</h2>
125 <p>123 <p>
126 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful124 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
127 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.125 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
128 Example:126 Example:
129 </p>127 </p>
Offset 131, 41 lines modifiedOffset 129, 14 lines modified
131 </code></p>129 </code></p>
132 <p>130 <p>
133 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you131 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
134 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something132 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
135 like·this:133 like·this:
136 </p>134 </p>
137 ··<p><code>135 ··<p><code>
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
139 &nbsp;·&nbsp;·...<br> 
140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
141 &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> 
142 &nbsp;<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
143 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br> 
144 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
145 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br> 
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">title</span>&gt;</span><br> 
147 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
148 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
149 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
150 &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> 
151 <br> 
152 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br> 
153 <br> 
154 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br> 
155 <br> 
156 &nbsp;·This·will·fail:<br> 
157 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br> 
158 <br> 
159 &nbsp;·Instead,·use·*·like·this:<br> 
160 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br> 
161 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br> 
162 &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> 
163 &nbsp;·&nbsp;·<br> 
164 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br> 
165 </code></p>136 </code></p>
166 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the137 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
167 reason·why·you·don't·want·to·include·this·block</p>138 reason·why·you·don't·want·to·include·this·block</p>
168 <p>139 <p>
169 </td>140 </td>
170 </tr>141 </tr>
171 <tr>142 <tr>
4.44 KB
html2text {}
    
Offset 1, 69 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1" 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················This·is·a·simple·comment·that·is·not·included·in5  ·_.L_.i_.c_.e_.n_.s_.e···················This·is·a·simple·comment·that·is·not·included·in
9  · ···_.A_.L_.T_.T_.E_.X_.T···············the·output.·This·is·useful·when·commenting6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················the·output.·This·is·useful·when·commenting
10  · ···_.B_.L_.O_.C_.K·················metatags,·since·the·metatags·do·not·appear·the7  ·_.U_.s_.a_.g_.e·····················metatags,·since·the·metatags·do·not·appear·the
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············output·either.·Example:8  ·HTP·Tags··················output·either.·Example:
12  · ···_\x8D_.E_.F···················Note·that·these·comments·should·not·include·<·or·>,9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············Note·that·these·comments·should·not·include·<·or·>,
13  · ···_\x8F_.I_.L_.E··················that·is·you·should·not·use·it·to·comment·out·htp10  · ···_\x8B_.L_.O_.C_.K·················that·is·you·should·not·use·it·to·comment·out·htp
14  · ···_\x8I_.F····················code.·For·that·purpose·use·something·like·this:11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············code.·For·that·purpose·use·something·like·this:
15  · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> 
16  · ···_\x8I_\x8M_\x8G··················· · ·... 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
18  · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · · · ·<FONT·SIZE=${size}> 
21  · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · · · ·</FONT> 
26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
27  ·_.H_.i_.s_.t_.o_.r_.y··················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.D_.E_.F>12  · ···_.D_.E_.F···················Make·sure·that·the·variable·is·never·defined·and
 13  · ···_\x8F_\x8I_\x8L_\x8E··················xyz·should·be·the·reason·why·you·don't·want·to
 14  · ···_\x8I_\x8F····················include·this·block
 15  · ···_\x8I_\x8N_\x8C
 16  · ···_\x8I_\x8M_\x8G
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
 18  · ···_\x8O_\x8P_\x8T
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
 21  · ···_\x8S_\x8E_\x8T
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
 26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A 
30 ····························title"> 
  
31 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized 
32 ····························title"> 
  
33 ···························· ·This·will·fail: 
34 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" 
35 ····························TITLE="Another·title"> 
  
36 ···························· ·Instead,·use·*·like·this: 
37 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> 
38 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> 
39 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
40 ···························· ·  
41 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
42 ····························Make·sure·that·the·variable·is·never·defined·and 
43 ····························xyz·should·be·the·reason·why·you·don't·want·to 
44 ····························include·this·block 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
45  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
46  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
11.1 KB
./usr/share/doc/htp/def.html
    
Offset 114, 14 lines modifiedOffset 114, 26 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="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
 122 <br>
 123 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 124 &nbsp;·becomes·this·after·processing:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
 125 <br>
 126 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>&gt;</span><br>
 127 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br>
 128 <br>
 129 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>&gt;</span><br>
 130 &nbsp;·remains·unchanged.<br>
 131 mplatefilename"><br>
 132 <br>
121 </code></p>133 </code></p>
122 <h2>synopsis</h2>134 <h2>synopsis</h2>
123 <p>135 <p>
124 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a136 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
125 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to137 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
126 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>138 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
127 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.139 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
Offset 143, 14 lines modifiedOffset 155, 21 lines modified
143 <P>155 <P>
144 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were156 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
145 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with157 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
146 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their158 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
147 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)159 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
148 </P>160 </P>
149 ··<p><code>161 ··<p><code>
 162 &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>
 163 &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>
 164 &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>
 165 &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>
 166 &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>
 167 &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>
 168 &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>
150 </code></p>169 </code></p>
151 <P>170 <P>
152 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is171 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
153 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are172 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
154 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the173 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
155 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a174 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
156 parameter·is·required,·simply·expand·it·without·first·checking.··When175 parameter·is·required,·simply·expand·it·without·first·checking.··When
6.72 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 59 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_\x8l_\x8t_\x8t_\x8e_\x8x_\x8t·name="logo.gif"·text="Company
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················logo">
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
 8  ·HTP·Tags·················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo">
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif">
 12  ·[>]·_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it
 13  · ···_\x8F_\x8I_\x8L_\x8E
 14  · ···_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click
 15  · ···_\x8I_\x8N_\x8C···················here·for·more·information!">
 16  · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged.
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············mplatefilename">
 18  · ···_\x8O_\x8P_\x8T
4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*19  · ···_.O_.U_.T_.P_.U_.T················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_.L_.i_.c_.e_.n_.s_.e···················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of20  · ···_.Q_.U_.O_.T_.E·················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················saying·it·creates·new·tags.·The·mechanism·is·very21  · ···_.S_.E_.T···················saying·it·creates·new·tags.·The·mechanism·is·very
7  ·_.U_.s_.a_.g_.e·····················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is22  · ···_.U_.N_.D_.E_.F·················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is
8  ·HTP·Tags··················not·used·to·expand·them.·Instead,·they·are·expanded23  · ···_.U_.N_.S_.E_.T·················not·used·to·expand·them.·Instead,·they·are·expanded
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············by·their·own·name.·For·example:24  · ···_\x8U_.S_.E_.,_.·_.$················by·their·own·name.·For·example:
10  · ···_\x8B_.L_.O_.C_.K·················Some·metatags·will·require·an·opening·and·closing25  · ···_\x8W_.H_.I_.L_.E·················Some·metatags·will·require·an·opening·and·closing
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············tag·(comparable·to26  · ···_\x8<_.!_.-_.-_.-·················tag·(comparable·to
12  ·[>]·_.D_.E_.F···················and27  ·_.H_.i_.s_.t_.o_.r_.y···················and
13  · ···_.F_.I_.L_.E··················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.
14  · ···_.I_.F····················Another·slightly·faster·alternative·is·to·use·two29  ·_.B_.u_.g_.s······················Another·slightly·faster·alternative·is·to·use·two
15  · ···_.I_.N_.C···················metatags,·the·opening·tag·and·the·closing·tag·with30 ····························metatags,·the·opening·tag·and·the·closing·tag·with
16  · ···_.I_.M_.G···················a·preceding·slash.·For·example:31 ····························a·preceding·slash.·For·example:
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will32 ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will
18  · ···_.O_.P_.T···················check·for·matching·end·tag.·It·is·not·that·slower.33 ····························check·for·matching·end·tag.·It·is·not·that·slower.
19  · ···_.O_.U_.T_.P_.U_.T················Options·can·be·passed·to·a·metatag,·which·can·then34 ····························Options·can·be·passed·to·a·metatag,·which·can·then
20  · ···_.Q_.U_.O_.T_.E·················expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are35 ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are
21  · ···_.S_.E_.T···················parameterized·with·the·OPTION·attribute.·Multiple36 ····························parameterized·with·the·OPTION·attribute.·Multiple
22  · ···_.U_.N_.D_.E_.F·················options·can·be·listed·by·separating·their·name·with37 ····························options·can·be·listed·by·separating·their·name·with
23  · ···_.U_.N_.S_.E_.T·················a·space·(which·therefore·requires·they·be38 ····························a·space·(which·therefore·requires·they·be
24  · ···_.U_.S_.E_.,_.·_.$················surrounded·by·quotes.)39 ····························surrounded·by·quotes.)
 40 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0">
 41 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section">
 42 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
 43 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand
 44 ····························global>
 45 ···························· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
 46 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 47 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
25  · ···_.W_.H_.I_.L_.E·················htp·will·do·very·specific·checking·of·parameters48 ····························htp·will·do·very·specific·checking·of·parameters
26  · ···_.<_.!_.-_.-_.-·················when·a·metatag·is·invoked.·htp·assumes·that·all49 ····························when·a·metatag·is·invoked.·htp·assumes·that·all
27  ·_.H_.i_.s_.t_.o_.r_.y···················parameter·options·to·the·metatag·are·optional.·This50 ····························parameter·options·to·the·metatag·are·optional.·This
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················is·why·the·HEADERIMG·definition·uses·IF·to·verify51 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify
29  ·_.B_.u_.g_.s······················the·SIZE·option·is·defined·before·expanding·it·in52 ····························the·SIZE·option·is·defined·before·expanding·it·in
30 ····························the·block.·If·a·parameter·is·required,·simply53 ····························the·block.·If·a·parameter·is·required,·simply
31 ····························expand·it·without·first·checking.·When·htp·expands54 ····························expand·it·without·first·checking.·When·htp·expands
32 ····························the·metatag·and·the·macro·is·not·defined,·it·will55 ····························the·metatag·and·the·macro·is·not·defined,·it·will
33 ····························halt·processing·and·complain·with·an·error·message56 ····························halt·processing·and·complain·with·an·error·message
34 ····························and·the·required·macro·name.·Normally·htp·will·not57 ····························and·the·required·macro·name.·Normally·htp·will·not
35 ····························allow·parameters·not·listed·in·the·OPTION·attribute58 ····························allow·parameters·not·listed·in·the·OPTION·attribute
36 ····························to·be·added·to·the·tag.·This·is·why·the·third59 ····························to·be·added·to·the·tag.·This·is·why·the·third
5.77 KB
./usr/share/doc/htp/expand.html
    
Offset 98, 19 lines modifiedOffset 98, 30 lines modified
98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>
99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to
100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of
101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value
102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when
103 the·htp·tags·are·expanded:·</P>103 the·htp·tags·are·expanded:·</P>
104 ··<p><code>104 ··<p><code>
105 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="htp-attrib">[</span>·<span·cla[·...·truncated·by·diffoscope;·len:·113,·SHA:·2b0cbcace7e121b70e0d0fd885d64360a056137b5ec7cac94cd7521c0544fbda·...·]</span>&gt;</span><br>105 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=[·...·truncated·by·diffoscope;·len:·39,·SHA:·138ba34b5292b3e7451f200f072f3b0027941410b118e78a3f2cd3ad3de9d343·...·]</span>&gt;</span><br>
106 <font·size="-2">&nbsp;2.·</font><br>106 <font·size="-2">&nbsp;2.·</font><br>
 107 <font·size="-2">&nbsp;3.·</font>&nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 108 <font·size="-2">&nbsp;4.·</font>&nbsp;·becomes·this·after·processing:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
 109 <font·size="-2">&nbsp;5.·</font><br>
 110 <font·size="-2">&nbsp;6.·</font>&nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>&gt;</span><br>
 111 <font·size="-2">&nbsp;7.·</font>&nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br>
 112 <font·size="-2">&nbsp;8.·</font><br>
 113 <font·size="-2">&nbsp;9.·</font>&nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>&gt;</span><br>
 114 <font·size="-2">10.·</font>&nbsp;·remains·unchanged.<br>
 115 <font·size="-2">11.·</font>mplatefilename"><br>
 116 <font·size="-2">12.·</font><br>
107 </code></p>117 </code></p>
108 This·produces·the·following:118 This·produces·the·following:
109 ··<p><code>119 ··<p><code>
 120 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>
110 </code></p>121 </code></p>
111 <P>122 <P>
112 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a123 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
113 are·taken·literally,·however,·the·contents·for·b·are·already·expanded124 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
114 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it125 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
115 is·used,·while·the·contents·of·b·are·already·expanded.126 is·used,·while·the·contents·of·b·are·already·expanded.
116 </P>127 </P>
2.41 KB
html2text {}
    
Offset 24, 18 lines modifiedOffset 24, 33 lines modified
24 ····························However,·if·the·block·tag·is·marked·with·the·expand24 ····························However,·if·the·block·tag·is·marked·with·the·expand
25 ····························modifier·it·is·expanded·immediately.·This·is·useful25 ····························modifier·it·is·expanded·immediately.·This·is·useful
26 ····························if·you·want·to·store·something·in·a·block·macro,26 ····························if·you·want·to·store·something·in·a·block·macro,
27 ····························that·depends·on·the·current·value·of·another·macro.27 ····························that·depends·on·the·current·value·of·another·macro.
28 ····························This·other·macro·may·no·longer·have·the·correct28 ····························This·other·macro·may·no·longer·have·the·correct
29 ····························value·when·the·macro·is·expanded.·Here·is·some·code29 ····························value·when·the·macro·is·expanded.·Here·is·some·code
30 ····························that·demonstrate·when·the·htp·tags·are·expanded:30 ····························that·demonstrate·when·the·htp·tags·are·expanded:
31 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="imageurl"·[·path="path/31 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.a_.l_.t_.t_.e_.x_.t·name="logo.gif"·text="Company
32 ····························in/local/filesystem"·]>32 ····························logo">
33 ···························· 2.33 ···························· 2.
 34 ···························· 3.· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
 35 ···························· 4.· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 36 ····························src="logo.gif"·alt="Company·logo">
 37 ···························· 5.
 38 ···························· 6.· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/
 39 ····························logo.gif">
 40 ···························· 7.· ·will·also·have·an·ALT·attribute·appended·to
 41 ····························it
 42 ···························· 8.
 43 ···························· 9.· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"
 44 ····························alt="Click·here·for·more·information!">
 45 ····························10.· ·remains·unchanged.
 46 ····························11.·mplatefilename">
 47 ····························12.
34 ····························This·produces·the·following:48 ····························This·produces·the·following:
 49 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr>
35 ····························When·block·a·and·block·b·are·defined·in·lines·2-50 ····························When·block·a·and·block·b·are·defined·in·lines·2-
36 ····························7·the·contents·of·a·are·taken·literally,·however,51 ····························7·the·contents·of·a·are·taken·literally,·however,
37 ····························the·contents·for·b·are·already·expanded·so·the52 ····························the·contents·for·b·are·already·expanded·so·the
38 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it53 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it
39 ····························is·used,·while·the·contents·of·b·are·already54 ····························is·used,·while·the·contents·of·b·are·already
40 ····························expanded.55 ····························expanded.
41 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with56 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with
20.2 KB
./usr/share/doc/htp/file.html
    
Offset 114, 75 lines modifiedOffset 114, 33 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">IMGXY</span><span·class="ebnf">|</span><span·class="htp-attrib">NOIMGXY</span><span·class="ebnf">)</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">QUIET</span><span·class="ebnf">|</span><span·class="htp-attrib">VERBOSE</span><span·class="ebnf">)</span>&gt;</span><br> 
123 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">DEPEND</span><span·class="ebnf">|</span><span·class="htp-attrib">NODEPEND</span><span·class="ebnf">)</span>&gt;</span><br> 
124 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">PRECIOUS</span><span·class="ebnf">|</span><span·class="htp-attrib">NOPRECIOUS</span><span·class="ebnf">)</span>&gt;</span><br> 
125 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>&gt;</span><br> 
126 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>&gt;</span><br> 
127 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>&gt;</span><br> 
128 <br> 
129 width=10><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br> 
130 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br> 
131 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&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;paragraph<br> 
135 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br> 
136 &nbsp;paragraph<br> 
137 </code></p>121 </code></p>
138 <h2>synopsis</h2>122 <h2>synopsis</h2>
139 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.123 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
140 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of124 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
141 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be125 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
142 added·to·the·output·file·as·well.126 added·to·the·output·file·as·well.
143 <P>127 <P>
144 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the128 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
145 following·is·perfectly·acceptable:129 following·is·perfectly·acceptable:
146 ··<p><code>130 ··<p><code>
 131 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>
147 </code></p>132 </code></p>
148 <P>133 <P>
149 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>134 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
150 <P>135 <P>
151 To·include·information·about·another·file,·such·as·an·archive·file·or136 To·include·information·about·another·file,·such·as·an·archive·file·or
152 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the137 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
153 type·of·information·to·be·displayed:138 type·of·information·to·be·displayed:
154 ··<p><code>139 ··<p><code>
155 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
156 &nbsp;·&nbsp;·...<br> 
157 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
158 &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> 
159 &nbsp;<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
160 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br> 
161 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
162 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br> 
163 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br> 
164 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
165 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
166 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
167 &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> 
168 <br> 
169 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br> 
170 <br> 
171 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br> 
172 <br> 
173 &nbsp;·This·will·fail:<br> 
174 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br> 
175 <br> 
176 &nbsp;·Instead,·use·*·like·this:<br> 
177 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br> 
178 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br> 
179 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
180 &nbsp;·&nbsp;·<br> 
181 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br> 
182 </code></p>140 </code></p>
183 <P>141 <P>
184 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the142 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
185 information·is·displayed.··In·anything·other·than·byte·format,·the·information143 information·is·displayed.··In·anything·other·than·byte·format,·the·information
186 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number144 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
187 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional145 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
188 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no146 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 211, 17 lines modifiedOffset 169, 18 lines modified
211 <P>169 <P>
212 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are170 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
213 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros171 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
214 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it172 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
215 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer173 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
216 available.··So:174 available.··So:
217 ··<p><code>175 ··<p><code>
218 &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>=[·...·truncated·by·diffoscope;·len:·124,·SHA:·1b7b0007001e0d79d3bf9c1293c09c184402728be52135b366d1108d39c53aaf·...·]"</span>&gt;</span><br>176 &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>
 177 &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>
219 &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>178 &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>
220 global><br>179 &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>"</s[·...·truncated·by·diffoscope;·len:·92,·SHA:·866decde6885a674d7fc0c96caffa84a66cec0081dee627cc60759f2f647dba1·...·]><br>
221 &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>180 &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>
222 &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>181 &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>
223 &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>182 &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>
224 </code></p>183 </code></p>
225 <P>184 <P>
226 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included185 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
227 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the186 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
9.27 KB
html2text {}
    
Offset 1, 81 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(IMGXY|NOIMGXY)> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(QUIET|VERBOSE)> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)> 
8  ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F 
12  · ···_\x8D_\x8E_\x8F···················width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></td> 
13  ·[>]·_\x8F_\x8I_\x8L_\x8E·················· · </tr> 
14  · ···_\x8I_\x8F···················· · </table> 
15  · ···_\x8I_\x8N_\x8C··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
16  · ···_\x8I_\x8M_\x8G 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· paragraph 
18  · ···_\x8O_\x8P_\x8T··················· <imghr> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ paragraph 
20  · ···_.Q_.U_.O_.T_.E·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
21  · ···_.S_.E_.T···················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing5  ·_.L_.i_.c_.e_.n_.s_.e···················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing
22  · ···_.U_.N_.D_.E_.F·················purpose.·The·output·file's·name,·the·current·date6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················purpose.·The·output·file's·name,·the·current·date
23  · ···_.U_.N_.S_.E_.T·················and·time,·and·the·contents·of·another·file·may·be7  ·_.U_.s_.a_.g_.e·····················and·time,·and·the·contents·of·another·file·may·be
24  · ···_.U_.S_.E_.,_.·_.$················included.·Another·file's·time,·date,·or·size·may·be8  ·HTP·Tags··················included.·Another·file's·time,·date,·or·size·may·be
25  · ···_\x8W_.H_.I_.L_.E·················added·to·the·output·file·as·well.9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············added·to·the·output·file·as·well.
26  · ···_\x8<_.!_.-_.-_.-·················As·with·all·HTML,·these·tags·do·not·have·to·be·on10  · ···_\x8B_.L_.O_.C_.K·················As·with·all·HTML,·these·tags·do·not·have·to·be·on
27  ·_.H_.i_.s_.t_.o_.r_.y···················their·own·line,·so·the·following·is·perfectly11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············their·own·line,·so·the·following·is·perfectly
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················acceptable:12  · ···_.D_.E_.F···················acceptable:
 13  ·[>]·_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr>
29  ·_.B_.u_.g_.s······················*\x8**\x8**\x8**\x8*·N\x8NA\x8AM\x8ME\x8E,\x8,·T\x8TI\x8IM\x8ME\x8E,\x8,·S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8*14  · ···_.I_.F····················*\x8**\x8**\x8**\x8*·N\x8NA\x8AM\x8ME\x8E,\x8,·T\x8TI\x8IM\x8ME\x8E,\x8,·S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8*
30 ····························To·include·information·about·another·file,·such·as15  · ···_.I_.N_.C···················To·include·information·about·another·file,·such·as
31 ····························an·archive·file·or·graphic·image,·specify·its·name16  · ···_.I_.M_.G···················an·archive·file·or·graphic·image,·specify·its·name
32 ····························with·the·NAME·attribute·followed·by·the·type·of17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············with·the·NAME·attribute·followed·by·the·type·of
33 ····························information·to·be·displayed:18  · ···_.O_.P_.T···················information·to·be·displayed:
34 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> 
35 ···························· · ·... 
36 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
37 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
38 ···························· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
39 ···························· · · · ·<FONT·SIZE=${size}> 
40 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
41 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> 
42 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> 
43 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
44 ···························· · · · ·</FONT> 
45 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
46 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
  
47 ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A 
48 ····························title"> 
  
49 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized 
50 ····························title"> 
  
51 ···························· ·This·will·fail: 
52 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" 
53 ····························TITLE="Another·title"> 
  
54 ···························· ·Instead,·use·*·like·this: 
55 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> 
56 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> 
57 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
58 ···························· ·  
59 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
60 ····························For·file·size·information,·the·value·BYTE,·KBYTE,19  · ···_.O_.U_.T_.P_.U_.T················For·file·size·information,·the·value·BYTE,·KBYTE,
61 ····························etc.·dictates·how·the·information·is·displayed.·In20  · ···_.Q_.U_.O_.T_.E·················etc.·dictates·how·the·information·is·displayed.·In
62 ····························anything·other·than·byte·format,·the·information·is21  · ···_.S_.E_.T···················anything·other·than·byte·format,·the·information·is
63 ····························displayed·in·floating-point·notation.·The·amount·of22  · ···_.U_.N_.D_.E_.F·················displayed·in·floating-point·notation.·The·amount·of
64 ····························precision·(the·number·of·digits·to·the·right·of·the23  · ···_.U_.N_.S_.E_.T·················precision·(the·number·of·digits·to·the·right·of·the
65 ····························decimal·point)·can·be·set·with·the·optional24  · ···_.U_.S_.E_.,_.·_.$················decimal·point)·can·be·set·with·the·optional
66 ····························PRECISION·attribute.·The·default·precision·is·zero25  · ···_.W_.H_.I_.L_.E·················PRECISION·attribute.·The·default·precision·is·zero
67 ····························(0),·which·means·no·fractional·portion·is26  · ···_.<_.!_.-_.-_.-·················(0),·which·means·no·fractional·portion·is
68 ····························displayed.27  ·_.H_.i_.s_.t_.o_.r_.y···················displayed.
69 ····························At·the·request·of·many·people,·the·TIME·and·DATE28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················At·the·request·of·many·people,·the·TIME·and·DATE
70 ····························attributes·will·now·accept·formatting·characters29  ·_.B_.u_.g_.s······················attributes·will·now·accept·formatting·characters
71 ····························that·are·passed·directly·into·the·ANSI·C·library30 ····························that·are·passed·directly·into·the·ANSI·C·library
72 ····························function.·This·allows·for·the·time·and·date·to·be31 ····························function.·This·allows·for·the·time·and·date·to·be
73 ····························displayed·in·virtually·any·format.·Users·not32 ····························displayed·in·virtually·any·format.·Users·not
74 ····························wishing·to·mess·around·with·this·should·stick·to33 ····························wishing·to·mess·around·with·this·should·stick·to
75 ····························the·default·format,·which·is·used·if·no·formatting34 ····························the·default·format,·which·is·used·if·no·formatting
76 ····························value·is·specified·(i.e.,·just·using·05:04:11·PM).35 ····························value·is·specified·(i.e.,·just·using·05:04:11·PM).
77 ····························Consult·any·C·programmer's·guide·discussing·the36 ····························Consult·any·C·programmer's·guide·discussing·the
Offset 95, 17 lines modifiedOffset 50, 18 lines modified
95 ····························Additional·parameters·can·be·set·in·the·FILE50 ····························Additional·parameters·can·be·set·in·the·FILE
96 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that51 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that
97 ····························are·"passed"·to·the·included·file.·The·macros·are52 ····························are·"passed"·to·the·included·file.·The·macros·are
98 ····························available·only·to·the·include·file·(and·any·macros53 ····························available·only·to·the·include·file·(and·any·macros
99 ····························or·included·files·it·holds).·After·the·file·is54 ····························or·included·files·it·holds).·After·the·file·is
100 ····························completely·included,·the·macros·are·no·longer55 ····························completely·included,·the·macros·are·no·longer
101 ····························available.·So:56 ····························available.·So:
102 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim 
103 ····························Nelson"·email="jnelson@crl.com">57 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0">
 58 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section">
104 ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>59 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.n_.c·sect-ctr>
 60 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand
105 ····························global>61 ····························global>
106 ···························· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>62 ···························· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
107 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>63 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
108 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>64 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
109 ····························Macros·named·"name"·and·"email"·are·set,·and65 ····························Macros·named·"name"·and·"email"·are·set,·and
110 ····························available·inside·the·included·file.·They·are·not66 ····························available·inside·the·included·file.·They·are·not
111 ····························available,·however,·past·the·tag·(which·is·why·the67 ····························available,·however,·past·the·tag·(which·is·why·the
10.4 KB
./usr/share/doc/htp/if.html
    
Offset 114, 54 lines modifiedOffset 114, 29 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>&gt;</span><br>
 122 <br>
121 </code></p>123 </code></p>
122 <h2>synopsis</h2>124 <h2>synopsis</h2>
123 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building125 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
124 blocks·for·conditional·processing.··The·basic·form·is·shown·above.126 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
125 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A127 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
126 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal128 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
127 string:129 string:
128 ··<p><code>130 ··<p><code>
129 </code></p>131 </code></p>
130 <P>132 <P>
131 and·a·defined·operator·is·a·test·of·a·macro's·existance:133 and·a·defined·operator·is·a·test·of·a·macro's·existance:
132 <P>134 <P>
133 ··<p><code>135 ··<p><code>
134 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
135 &nbsp;·&nbsp;·...<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">i</span>&gt;</span><br> 
137 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
138 &nbsp;<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
139 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br> 
140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br> 
142 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br> 
143 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
144 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
145 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
146 &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> 
147 <br> 
148 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br> 
149 <br> 
150 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br> 
151 <br> 
152 &nbsp;·This·will·fail:<br> 
153 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br> 
154 <br> 
155 &nbsp;·Instead,·use·*·like·this:<br> 
156 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br> 
157 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br> 
158 &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> 
159 &nbsp;·&nbsp;·<br> 
160 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br> 
161 </code></p>136 </code></p>
162 <P>137 <P>
163 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the138 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
164 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that139 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
165 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the140 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
166 ELSE·block·is·taken·if·it·is·present.··A·conditional·block141 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
167 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.142 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
5.03 KB
html2text {}
    
Offset 1, 64 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_\x8L_.i_.c_.e_.n_.s_.e···················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building7  ·_\x8U_.s_.a_.g_.e·····················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················blocks·for·conditional·processing.·The·basic·form8  ·HTP·Tags··················blocks·for·conditional·processing.·The·basic·form
7  ·_.U_.s_.a_.g_.e·····················is·shown·above.9  · ···_.A_.L_.T_.T_.E_.X_.T···············is·shown·above.
8  ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined"10  · ···_.B_.L_.O_.C_.K·················"Conditional"·is·either·a·"compare"·or·"is·defined"
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············operation.·A·compare·operator·is·a·test·of·the11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············operation.·A·compare·operator·is·a·test·of·the
10  · ···_\x8B_.L_.O_.C_.K·················value·of·a·macro·against·a·literal·string:12  · ···_\x8D_.E_.F···················value·of·a·macro·against·a·literal·string:
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············and·a·defined·operator·is·a·test·of·a·macro's13  · ···_\x8F_.I_.L_.E··················and·a·defined·operator·is·a·test·of·a·macro's
12  · ···_.D_.E_.F···················existance:14  ·[>]·_.I_.F····················existance:
 15  · ···_\x8I_\x8N_\x8C···················If·the·NOT·tag·is·present·in·the·IF·markup,·the
 16  · ···_\x8I_\x8M_\x8G···················evaluation·of·the·conditional·is·reversed.·The
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············first·IF·or·ELSEIF·condition·that·evaluates·to·true
 18  · ···_\x8O_\x8P_\x8T···················is·chosen.·If·none·of·the·conditions·is·true·the
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ELSE·block·is·taken·if·it·is·present.·A·conditional
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can
 21  · ···_\x8S_\x8E_\x8T···················be·nested.
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> 
14  ·[>]·_\x8I_\x8F···················· · ·... 
15  · ···_\x8I_\x8N_\x8C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
16  · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
18  · ···_\x8O_\x8P_\x8T··················· · · · ·<FONT·SIZE=${size}> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> 
21  · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · · · ·</FONT> 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A 
28  ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················title">27  ·_\x8H_.i_.s_.t_.o_.r_.y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
30 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized 
31 ····························title"> 
  
32 ···························· ·This·will·fail: 
33 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" 
34 ····························TITLE="Another·title"> 
  
35 ···························· ·Instead,·use·*·like·this: 
36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> 
37 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> 
38 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
39 ···························· ·  
40 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
41 ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the 
42 ····························evaluation·of·the·conditional·is·reversed.·The 
43 ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true 
44 ····························is·chosen.·If·none·of·the·conditions·is·true·the 
45 ····························ELSE·block·is·taken·if·it·is·present.·A·conditional 
46 ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can 
47 ····························be·nested. 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
4.94 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 14 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>&gt;</span><br>
 122 <br>
121 </code></p>123 </code></p>
122 <h2>synopsis</h2>124 <h2>synopsis</h2>
123 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a125 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
124 variable·or·for·variable·addition.··The·basic·form·is·shown·above.126 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
125 <P>127 <P>
126 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a128 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
127 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The129 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
4.05 KB
html2text {}
    
Offset 1, 43 lines modifiedOffset 1, 45 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_\x8L_.i_.c_.e_.n_.s_.e···················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a7  ·_\x8U_.s_.a_.g_.e·····················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················variable·or·for·variable·addition.·The·basic·form8  ·HTP·Tags··················variable·or·for·variable·addition.·The·basic·form
7  ·_.U_.s_.a_.g_.e·····················is·shown·above.9  · ···_.A_.L_.T_.T_.E_.X_.T···············is·shown·above.
8  ·HTP·Tags··················The·"increment"·is·anything·that·evaluates·to·a10  · ···_.B_.L_.O_.C_.K·················The·"increment"·is·anything·that·evaluates·to·a
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············integer.·It·can·be·a·literal·string·or·a·macro11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············integer.·It·can·be·a·literal·string·or·a·macro
10  · ···_\x8B_.L_.O_.C_.K·················preceeded·by·the·'$'-operator.·The·macroname·must12  · ···_\x8D_.E_.F···················preceeded·by·the·'$'-operator.·The·macroname·must
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············be·the·name·of·a·defined·macro·that·contains·an13  · ···_\x8F_.I_.L_.E··················be·the·name·of·a·defined·macro·that·contains·an
12  · ···_\x8D_.E_.F···················integer.·If·the·increment·is·ommitted·it·defaults14  · ···_\x8I_.F····················integer.·If·the·increment·is·ommitted·it·defaults
13  · ···_.F_.I_.L_.E··················to·1.·The·effect·of·this·operation·is·that·the15  ·[>]·_.I_.N_.C···················to·1.·The·effect·of·this·operation·is·that·the
14  · ···_\x8I_\x8F····················macro·is·redefined·to·contain·the·sum·of·its16  · ···_\x8I_\x8M_.G···················macro·is·redefined·to·contain·the·sum·of·its
15  ·[>]·_.I_.N_.C···················previous·value·and·its·increment.17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············previous·value·and·its·increment.
16  · ···_\x8I_.M_.G···················To·increment·or·decrement·a·variable·you·can·use18  · ···_\x8O_.P_.T···················To·increment·or·decrement·a·variable·you·can·use
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············this·form:19  · ···_\x8O_.U_.T_.P_.U_.T················this·form:
18  · ···_\x8O_.P_.T···················Note·that·INC·doesn't·check·if·the·strings·really20  · ···_\x8Q_.U_.O_.T_.E·················Note·that·INC·doesn't·check·if·the·strings·really
19  · ···_\x8O_.U_.T_.P_.U_.T················denote·integers.·It·may·give·weired·results·when21  · ···_\x8S_.E_.T···················denote·integers.·It·may·give·weired·results·when
20  · ···_\x8Q_.U_.O_.T_.E·················used·on·arbitrary·strings.·The·integer·values·are22  · ···_\x8U_.N_.D_.E_.F·················used·on·arbitrary·strings.·The·integer·values·are
21  · ···_\x8S_.E_.T···················limited·to·the·range·-2^31..2^31.23  · ···_\x8U_.N_.S_.E_.T·················limited·to·the·range·-2^31..2^31.
22  · ···_\x8U_\x8N_.D_.E_.F·················Note·further·that·htp·wasn't·designed·to·do24  · ···_\x8U_\x8S_.E_.,_.·_.$················Note·further·that·htp·wasn't·designed·to·do
23  · ···_\x8U_.N_.S_.E_.T·················extensive·calculations.·The·INC·tag·is·useful·in25  · ···_\x8W_.H_.I_.L_.E·················extensive·calculations.·The·INC·tag·is·useful·in
24  · ···_\x8U_.S_.E_.,_.·_.$················conjunction·with·WHILE·to·iterate·over·the·defined26  · ···_\x8<_.!_.-_.-_.-·················conjunction·with·WHILE·to·iterate·over·the·defined
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················blocks.
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················blocks. 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8- 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
16.7 KB
./usr/share/doc/htp/metatag.html
    
Offset 88, 14 lines modifiedOffset 88, 16 lines modified
88 <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and88 <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and
89 undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P>89 undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P>
90 <P>90 <P>
91 As·an·example·we·show·how·to·define·a·tag·that·builds·a91 As·an·example·we·show·how·to·define·a·tag·that·builds·a
92 fancy·horizontal·rule·out·of·several·images.92 fancy·horizontal·rule·out·of·several·images.
93 </P>93 </P>
94 ··<p><code>94 ··<p><code>
 95 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...]</span>&gt;</span><br>
 96 <font·size="-2">&nbsp;2.·</font><br>
95 </code></p>97 </code></p>
96 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.98 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.
97 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.99 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.
98 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and100 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and
99 <code>/def</code></a>·tags.··You·don't·have·to·understand·this101 <code>/def</code></a>·tags.··You·don't·have·to·understand·this
100 html·code,·but·you·should·understand·that·this·is·just·pure·html·to102 html·code,·but·you·should·understand·that·this·is·just·pure·html·to
101 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>103 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>
Offset 112, 56 lines modifiedOffset 114, 30 lines modified
112 </code></p>114 </code></p>
113 <h2>Using·parameters</h2>115 <h2>Using·parameters</h2>
114 <p>·More·sophisticated·tags·accept·parameters.··The116 <p>·More·sophisticated·tags·accept·parameters.··The
115 <code>option</code>·parameter·lets·multiple·metatag·parameters·be117 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
116 named·and·expanded·inside·the·<code>def</code>·or118 named·and·expanded·inside·the·<code>def</code>·or
117 <code>blockdef</code>·block:·</p>119 <code>blockdef</code>·block:·</p>
118 ··<p><code>120 ··<p><code>
119 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
120 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br> 
121 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
122 <font·size="-2">&nbsp;4.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
123 <font·size="-2">&nbsp;5.·</font>&nbsp;<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
124 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br> 
125 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
126 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br> 
127 <font·size="-2">&nbsp;9.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br> 
128 <font·size="-2">10.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
129 <font·size="-2">11.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
130 <font·size="-2">12.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
131 <font·size="-2">13.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
132 <font·size="-2">14.·</font><br> 
133 <font·size="-2">15.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br> 
134 <font·size="-2">16.·</font><br> 
135 <font·size="-2">17.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br> 
136 <font·size="-2">18.·</font><br> 
137 <font·size="-2">19.·</font>&nbsp;·This·will·fail:<br> 
138 <font·size="-2">20.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br> 
139 <font·size="-2">21.·</font><br> 
140 <font·size="-2">22.·</font>&nbsp;·Instead,·use·*·like·this:<br> 
141 <font·size="-2">23.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br> 
142 <font·size="-2">24.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br> 
143 <font·size="-2">25.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
144 <font·size="-2">26.·</font>&nbsp;·&nbsp;·<br> 
145 <font·size="-2">27.·</font>&nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br> 
146 </code></p>121 </code></p>
147 <h2>Saving·blocks·for·later</h2>122 <h2>Saving·blocks·for·later</h2>
148 <p>When·you·are·using·templates,·the·html·should·only·be·written·by123 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
149 the·template·file.··The·normal·htp·files·should·just·define·macros124 the·template·file.··The·normal·htp·files·should·just·define·macros
150 that·are·used·later·in·the·template.··So·you·may·want·to·write·block125 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
151 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this126 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
152 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to127 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
153 do·this:</p>128 do·this:</p>
154 ··<p><code>129 ··<p><code>
155 <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> 
156 <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> 
157 <font·size="-2">&nbsp;3.·</font>global><br>130 <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>
 131 <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>
 132 <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>
 133 <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>
158 <font·size="-2">&nbsp;4.·</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>134 <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>
159 <font·size="-2">&nbsp;5.·</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>135 <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>
160 <font·size="-2">&nbsp;6.·</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>136 <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>
161 </code></p>137 </code></p>
162 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a138 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
163 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is139 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
164 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is140 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
165 build·from·this·counter.··So·the·first·section·is·stored·in·block141 build·from·this·counter.··So·the·first·section·is·stored·in·block
166 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>·flag142 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
167 in·line·4·tells·htp·that·these·macros·should·be·defined·globally143 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
6.23 KB
html2text {}
    
Offset 9, 15 lines modifiedOffset 9, 17 lines modified
9  · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality.9  · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality.
10  · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[10  · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[
11  ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[11  ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[
12  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag.12  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag.
13  ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that13  ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that
14  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several14  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several
15  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images.15  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images.
 16  ·_\x8B_\x8u_\x8g_\x8s······················ 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]>
 17 ···························· 2.
16  ·_.B_.u_.g_.s······················In·line·1·of·the·above·example·a·new·tag·named18 ····························In·line·1·of·the·above·example·a·new·tag·named
17 ····························imghr·is·defined.·The·html·code·which·implements19 ····························imghr·is·defined.·The·html·code·which·implements
18 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[20 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[
19 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to21 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to
20 ····························understand·this·html·code,·but·you·should22 ····························understand·this·html·code,·but·you·should
21 ····························understand·that·this·is·just·pure·html·to·draw·the23 ····························understand·that·this·is·just·pure·html·to·draw·the
22 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line24 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line
23 ····························12·htp·will·replace·this·tag·with·the·corresponding25 ····························12·htp·will·replace·this·tag·with·the·corresponding
Offset 32, 59 lines modifiedOffset 34, 30 lines modified
32 ····························these·tags·in·a·block·macro·named·block.·Here·is·an34 ····························these·tags·in·a·block·macro·named·block.·Here·is·an
33 ····························example·for·this.35 ····························example·for·this.
34 ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8*36 ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8*
35 ····························More·sophisticated·tags·accept·parameters.·The37 ····························More·sophisticated·tags·accept·parameters.·The
36 ····························option·parameter·lets·multiple·metatag·parameters38 ····························option·parameter·lets·multiple·metatag·parameters
37 ····························be·named·and·expanded·inside·the·def·or·blockdef39 ····························be·named·and·expanded·inside·the·def·or·blockdef
38 ····························block:40 ····························block:
39 ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> 
40 ···························· 2.· · ·... 
41 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
42 ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
43 ···························· 5.· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
44 ···························· 6.· · · · ·<FONT·SIZE=${size}> 
45 ···························· 7.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
46 ···························· 8.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> 
47 ···························· 9.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> 
48 ····························10.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
49 ····························11.· · · · ·</FONT> 
50 ····························12.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
51 ····························13.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
52 ····························14. 
53 ····························15.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A 
54 ····························title"> 
55 ····························16. 
56 ····························17.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized 
57 ····························title"> 
58 ····························18. 
59 ····························19.· ·This·will·fail: 
60 ····························20.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" 
61 ····························TITLE="Another·title"> 
62 ····························21. 
63 ····························22.· ·Instead,·use·*·like·this: 
64 ····························23.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> 
65 ····························24.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> 
66 ····························25.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
67 ····························26.· ·  
68 ····························27.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
69 ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8*41 ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8*
70 ····························When·you·are·using·templates,·the·html·should·only42 ····························When·you·are·using·templates,·the·html·should·only
71 ····························be·written·by·the·template·file.·The·normal·htp43 ····························be·written·by·the·template·file.·The·normal·htp
72 ····························files·should·just·define·macros·that·are·used·later44 ····························files·should·just·define·macros·that·are·used·later
73 ····························in·the·template.·So·you·may·want·to·write·block45 ····························in·the·template.·So·you·may·want·to·write·block
74 ····························tags·that·just·save·the·block·in·a·macro·for·later46 ····························tags·that·just·save·the·block·in·a·macro·for·later
75 ····························use.·Although·this·is·possible·with·htp·it·is·quite47 ····························use.·Although·this·is·possible·with·htp·it·is·quite
76 ····························tricky,·so·here·we·present·the·way·to·do·this:48 ····························tricky,·so·here·we·present·the·way·to·do·this:
 49 ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0">
 50 ···························· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section">
77 ···························· 1.· · ·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·INCLUDE="include.hti"51 ···························· 3.· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.n_.c·sect-ctr>
 52 ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"
78 ····························name="Jim·Nelson"·email="jnelson@crl.com"> 
79 ···························· 2.· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> 
80 ···························· 3.·global>53 ····························expand·global>
81 ···························· 4.· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>54 ···························· 5.· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
82 ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>55 ···························· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
83 ···························· 6.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>56 ···························· 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
84 ····························This·defines·a·block·macro·named·section.·This57 ····························This·defines·a·block·macro·named·section.·This
85 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the58 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the
86 ····························sections.·It·is·increased·for·every·section·(line59 ····························sections.·It·is·increased·for·every·section·(line
87 ····························3)·and·then·the·block·macro·name·is·build·from·this60 ····························3)·and·then·the·block·macro·name·is·build·from·this
88 ····························counter.·So·the·first·section·is·stored·in·block61 ····························counter.·So·the·first·section·is·stored·in·block
89 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[62 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[
90 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these63 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these
3.38 KB
./usr/share/doc/htp/opt.html
    
Offset 114, 14 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>&gt;</span><br>
 122 <br>
121 </code></p>123 </code></p>
122 <h2>synopsis</h2>124 <h2>synopsis</h2>
123 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing125 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing
124 options·inside·the·actual·document·being·processed.··The·options·are126 options·inside·the·actual·document·being·processed.··The·options·are
125 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not127 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not
126 preceded·by·a·&lsquo;-&rsquo;·character.128 preceded·by·a·&lsquo;-&rsquo;·character.
127 <P>129 <P>
2.5 KB
html2text {}
    
Offset 1, 20 lines modifiedOffset 1, 20 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_\x8L_.i_.c_.e_.n_.s_.e···················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify7  ·_\x8U_.s_.a_.g_.e·····················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················processing·options·inside·the·actual·document·being8  ·HTP·Tags··················processing·options·inside·the·actual·document·being
7  ·_.U_.s_.a_.g_.e·····················processed.·The·options·are·used·exactly·as·they9  · ···_.A_.L_.T_.T_.E_.X_.T···············processed.·The·options·are·used·exactly·as·they
8  ·HTP·Tags··················would·be·on·the·command-line,·although·they·are·not10  · ···_.B_.L_.O_.C_.K·················would·be·on·the·command-line,·although·they·are·not
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············preceded·by·a·‘-’·character.11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············preceded·by·a·‘-’·character.
10  · ···_\x8B_.L_.O_.C_.K·················Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g12  · ···_\x8D_.E_.F···················Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p.13  · ···_\x8F_.I_.L_.E··················_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p.
12  · ···_\x8D_\x8E_\x8F 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_\x8I_\x8F14  · ···_\x8I_\x8F
15  · ···_\x8I_\x8N_\x8C15  · ···_\x8I_\x8N_\x8C
16  · ···_\x8I_\x8M_\x8G16  · ···_\x8I_\x8M_\x8G
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
18  ·[>]·_\x8O_\x8P_\x8T18  ·[>]·_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
Offset 25, 14 lines modifiedOffset 25, 16 lines modified
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
9.78 KB
./usr/share/doc/htp/set.html
    
Offset 119, 41 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="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
127 &nbsp;·&nbsp;·...<br> 
128 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
129 &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> 
130 &nbsp;<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
131 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br> 
132 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br> 
134 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br> 
135 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
136 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
138 &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> 
139 <br> 
140 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br> 
141 <br> 
142 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br> 
143 <br> 
144 &nbsp;·This·will·fail:<br> 
145 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br> 
146 <br> 
147 &nbsp;·Instead,·use·*·like·this:<br> 
148 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br> 
149 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br> 
150 &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> 
151 &nbsp;·&nbsp;·<br> 
152 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br> 
153 </code></p>126 </code></p>
154 <P>127 <P>
155 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">
156 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
157 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
158 <A·HREF="use.html">'$'</A>·operator.131 <A·HREF="use.html">'$'</A>·operator.
159 <P>132 <P>
5.23 KB
html2text {}
    
Offset 1, 66 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················expanded·anywhere·in·the·HTML·document.·To·create·a6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················expanded·anywhere·in·the·HTML·document.·To·create·a
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················macro:7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················macro:
8  ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·... 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
12  · ···_\x8D_\x8E_\x8F··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · · · ·<FONT·SIZE=${size}> 
14  · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
15  · ···_\x8I_\x8N_\x8C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> 
16  · ···_\x8I_\x8M_\x8G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
18  · ···_\x8O_\x8P_\x8T··················· · · · ·</FONT> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
21  ·[>]·_\x8S_\x8E_\x8T 
22  · ···_.U_.N_.D_.E_.F················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A8  ·HTP·Tags··················The·macro·"emailaddr"·can·then·be·expanded·later.
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················tag·(i.e.,·into·the·regular·text).·If·the·macro
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············needs·to·be·expanded·inside·a·markup·tag,·use·the
 12  · ···_\x8D_\x8E_\x8F···················_\x8'_\x8$_\x8'·operator.
 13  · ···_\x8F_\x8I_\x8L_\x8E··················Multiple·macros·can·be·declared·in·a·single·markup
 14  · ···_\x8I_\x8F····················tag,·as·the·second·syntax·line·shows.
 15  · ···_\x8I_\x8N_\x8C···················SET·should·only·be·used·for·a·single·line's·worth
 16  · ···_\x8I_\x8M_\x8G···················of·text.·Multi-line·macros·can·be·defined·with·the
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the
 18  · ···_\x8O_\x8P_\x8T···················macro·contains·a·quotation·character·and·you·don't
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················want·to·fool·around·with·special·escape·characters.
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················Macros·can·be·redefined·by·using·another·SET
 21  ·[>]·_\x8S_\x8E_\x8T···················command·with·the·same·macro·name.·The·prior
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················definition·will·be·destroyed,·however.·Also,·the
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T
23  · ···_\x8U_\x8N_.S_.E_.T·················title">24  · ···_\x8U_\x8S_.E_.,_.·_.$················tag.
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················title"> 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·This·will·fail: 
29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" 
30 ····························TITLE="Another·title"> 
  
31 ···························· ·Instead,·use·*·like·this: 
32 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> 
33 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> 
34 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
35 ···························· ·  
36 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
37 ····························The·macro·"emailaddr"·can·then·be·expanded·later. 
38 ····························The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a 
39 ····························tag·(i.e.,·into·the·regular·text).·If·the·macro 
40 ····························needs·to·be·expanded·inside·a·markup·tag,·use·the 
41 ····························_\x8'_\x8$_\x8'·operator. 
42 ····························Multiple·macros·can·be·declared·in·a·single·markup 
43 ····························tag,·as·the·second·syntax·line·shows. 
44 ····························SET·should·only·be·used·for·a·single·line's·worth 
45 ····························of·text.·Multi-line·macros·can·be·defined·with·the 
46 ····························_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the 
47 ····························macro·contains·a·quotation·character·and·you·don't 
48 ····························want·to·fool·around·with·special·escape·characters. 
49 ····························Macros·can·be·redefined·by·using·another·SET 
50 ····························command·with·the·same·macro·name.·The·prior 
51 ····························definition·will·be·destroyed,·however.·Also,·the 
52 ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T 
53 ····························tag. 
  
  
  
  
  
  
  
  
  
  
  
  
908 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·Wed·Jul·08,·202623 ··last·updated·Thu·Jun·05,·2025
24 ·</body>24 ·</body>
25 </html>25 </html>
511 B
html2text {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*1 ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
2 Navigation·bar·[Photo]2 Navigation·bar·[Photo]
3 _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-0203 _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020
4 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-82434 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243
5 ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-82425 ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242
6 ===============================================================================6 ===============================================================================
7 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.7 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
8 last·updated·Wed·Jul·08,·20268 last·updated·Thu·Jun·05,·2025
723 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·Wed·Jul·08,·202612 last·updated·Thu·Jun·05,·2025
13 </body>13 </body>
383 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,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Wed·Jul·08,·20263 Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Thu·Jun·05,·2025
774 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·Wed·Jul·08,·202620 ··last·updated·Thu·Jun·05,·2025
21 ·</body>21 ·</body>
22 </html>22 </html>
426 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*
2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e
4 ===============================================================================4 ===============================================================================
5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
6 last·updated·Wed·Jul·08,·20266 last·updated·Thu·Jun·05,·2025
776 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·Wed·Jul·08,·202620 ··last·updated·Thu·Jun·05,·2025
21 ·</body>21 ·</body>
22 </html>22 </html>
432 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8*1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8*
2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e
4 ===============================================================================4 ===============================================================================
5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
6 last·updated·Wed·Jul·08,·20266 last·updated·Thu·Jun·05,·2025
9.09 KB
./usr/share/doc/htp/unset.html
    
Offset 128, 41 lines modifiedOffset 128, 21 lines modified
128 <P>128 <P>
129 For·example:129 For·example:
130 ··<p><code>130 ··<p><code>
131 </code></p>131 </code></p>
132 <P>132 <P>
133 More·than·one·macro·may·be·removed·in·the·same·tag:133 More·than·one·macro·may·be·removed·in·the·same·tag:
134 ··<p><code>134 ··<p><code>
 135 &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="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>136 &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;·...<br> 
137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
 138 &nbsp;·&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>
 139 &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>
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
139 &nbsp;<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
140 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br> 
141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>140 &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>
142 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br> 
143 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br> 
144 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
145 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
146 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
147 &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>141 &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>
148 <br> 
149 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br> 
150 <br> 
151 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br> 
152 <br> 
153 &nbsp;·This·will·fail:<br> 
154 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br> 
155 <br> 
156 &nbsp;·Instead,·use·*·like·this:<br> 
157 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br> 
158 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br> 
159 &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> 
160 &nbsp;·&nbsp;·<br> 
161 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br> 
162 </code></p>142 </code></p>
163 <p>143 <p>
164 </td>144 </td>
165 </tr>145 </tr>
166 <tr>146 <tr>
167 <td·width="20%"·bgcolor="white"·valign="bottom">147 <td·width="20%"·bgcolor="white"·valign="bottom">
168 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">148 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
3.23 KB
html2text {}
    
Offset 7, 52 lines modifiedOffset 7, 30 lines modified
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················for·use·in·the·pre-processed·files.·(Note·that7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················for·use·in·the·pre-processed·files.·(Note·that
8  ·HTP·Tags··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or8  ·HTP·Tags··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················The·old·macro·definition·will·be·removed10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················The·old·macro·definition·will·be·removed
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············automatically.)11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············automatically.)
12  · ···_\x8D_\x8E_\x8F···················For·example:12  · ···_\x8D_\x8E_\x8F···················For·example:
13  · ···_\x8F_\x8I_\x8L_\x8E··················More·than·one·macro·may·be·removed·in·the·same·tag:13  · ···_\x8F_\x8I_\x8L_\x8E··················More·than·one·macro·may·be·removed·in·the·same·tag:
14  · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_.H_.I_.L_.E·NOT·i="10">14  · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_.e_.t·sect-ctr="0">
15  · ···_\x8I_\x8N_\x8C··················· · ·...15  · ···_\x8I_\x8N_\x8C··················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section">
16  · ···_\x8I_\x8M_\x8G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.N_.C·i>16  · ···_\x8I_\x8M_\x8G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.n_.c·sect-ctr>
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name="sect-${sect-ctr}"·expand
 18  · ···_\x8O_\x8P_\x8T···················global>
18  · ···_\x8O_\x8P_.T··················· <_.[_.[_.r_.e_.f_.]_.]_.I_.F·size>19  · ···_\x8O_\x8U_.T_.P_.U_.T················ · · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·block·noexpand>
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · · · ·<FONT·SIZE=${size}> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_.F>20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_.l_.o_.c_.k>
21  · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> 
23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · · · ·</FONT> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
26  · ···_\x8<_.!_.-_.-_.-················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.D_.E_.F>21  · ···_\x8S_.E_.T··················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k_.d_.e_.f>
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
 23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A 
29  ·_\x8B_\x8u_\x8g_\x8s······················title"> 
  
30 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized 
31 ····························title"> 
  
32 ···························· ·This·will·fail: 
33 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" 
34 ····························TITLE="Another·title"> 
  
35 ···························· ·Instead,·use·*·like·this: 
36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> 
37 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> 
38 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
39 ···························· ·  
40 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
21.2 KB
./usr/share/doc/htp/use.html
    
Offset 114, 14 lines modifiedOffset 114, 26 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="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
 122 <br>
 123 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 124 &nbsp;·becomes·this·after·processing:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
 125 <br>
 126 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>&gt;</span><br>
 127 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br>
 128 <br>
 129 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>&gt;</span><br>
 130 &nbsp;·remains·unchanged.<br>
 131 mplatefilename"><br>
 132 <br>
121 </code></p>133 </code></p>
122 <h2>synopsis</h2>134 <h2>synopsis</h2>
123 <strong>USE</strong>·will·expand·macros·that·have·been·previously135 <strong>USE</strong>·will·expand·macros·that·have·been·previously
124 declared·with·either·<A·HREF="set.html">SET</A>·or·<A136 declared·with·either·<A·HREF="set.html">SET</A>·or·<A
125 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other137 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other
126 markup·tags.138 markup·tags.
127 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will139 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will
Offset 131, 14 lines modifiedOffset 143, 15 lines modified
131 attribute·to·prevent·further·expansion.··</p>143 attribute·to·prevent·further·expansion.··</p>
132 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros144 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
133 for·the·expanded·macro.··This·is·only·valid·for·<A145 for·the·expanded·macro.··This·is·only·valid·for·<A
134 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A146 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
135 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For147 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
136 example:</p>148 example:</p>
137 ··<p><code>149 ··<p><code>
 150 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>
138 </code></p>151 </code></p>
139 <P>152 <P>
140 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on153 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
141 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and154 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
142 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8155 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8
143 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is156 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
144 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.157 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
Offset 149, 41 lines modifiedOffset 162, 14 lines modified
149 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or162 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or
150 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.163 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.
151 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or164 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or
152 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it165 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it
153 replaces·the·macro·name·by·the·contents·of·the·macro·without·further166 replaces·the·macro·name·by·the·contents·of·the·macro·without·further
154 processing·the·contents.167 processing·the·contents.
155 ··<p><code>168 ··<p><code>
156 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
157 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br> 
158 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
159 <font·size="-2">&nbsp;4.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
160 <font·size="-2">&nbsp;5.·</font>&nbsp;<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
161 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br> 
162 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
163 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br> 
164 <font·size="-2">&nbsp;9.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br> 
165 <font·size="-2">10.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
166 <font·size="-2">11.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
167 <font·size="-2">12.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
168 <font·size="-2">13.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
169 <font·size="-2">14.·</font><br> 
170 <font·size="-2">15.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br> 
171 <font·size="-2">16.·</font><br> 
172 <font·size="-2">17.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br> 
173 <font·size="-2">18.·</font><br> 
174 <font·size="-2">19.·</font>&nbsp;·This·will·fail:<br> 
175 <font·size="-2">20.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br> 
176 <font·size="-2">21.·</font><br> 
177 <font·size="-2">22.·</font>&nbsp;·Instead,·use·*·like·this:<br> 
178 <font·size="-2">23.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br> 
179 <font·size="-2">24.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br> 
180 <font·size="-2">25.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
181 <font·size="-2">26.·</font>&nbsp;·&nbsp;·<br> 
182 <font·size="-2">27.·</font>&nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br> 
183 </code></p>169 </code></p>
184 <P>170 <P>
185 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and171 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
186 should·never·cause·confusion·with·surrounding·text.··If·no·curly172 should·never·cause·confusion·with·surrounding·text.··If·no·curly
187 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation173 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation
188 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;174 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;
189 and·&quot;_&quot;·that·follows·it.175 and·&quot;_&quot;·that·follows·it.
Offset 197, 17 lines modifiedOffset 183, 18 lines modified
197 delimiting·the·text·as·if·it·were·additional·markup·attributes.183 delimiting·the·text·as·if·it·were·additional·markup·attributes.
198 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),184 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),
199 quotation·marks·are·not·automatically·supplied.185 quotation·marks·are·not·automatically·supplied.
200 <P>186 <P>
201 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can187 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can
202 be·nested.··This·is·valid:188 be·nested.··This·is·valid:
203 ··<p><code>189 ··<p><code>
204 &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>=[·...·truncated·by·diffoscope;·len:·124,·SHA:·1b7b0007001e0d79d3bf9c1293c09c184402728be52135b366d1108d39c53aaf·...·]"</span>&gt;</span><br>190 &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>
 191 &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>
205 &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>192 &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>
206 global><br>193 &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>"</s[·...·truncated·by·diffoscope;·len:·92,·SHA:·866decde6885a674d7fc0c96caffa84a66cec0081dee627cc60759f2f647dba1·...·]><br>
207 &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>194 &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>
208 &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>195 &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>
209 &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>196 &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>
210 </code></p>197 </code></p>
211 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined198 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined
212 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX199 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX
213 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand200 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand
10.0 KB
html2text {}
    
Offset 1, 71 lines modifiedOffset 1, 57 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_\x8l_\x8t_\x8t_\x8e_\x8x_\x8t·name="logo.gif"·text="Company
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················logo">
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
 8  ·HTP·Tags·················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo">
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif">
 12  · ···_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it
 13  · ···_\x8F_\x8I_\x8L_\x8E
 14  · ···_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click
 15  · ···_\x8I_\x8N_\x8C···················here·for·more·information!">
 16  · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged.
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············mplatefilename">
 18  · ···_\x8O_\x8P_\x8T
4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*19  · ···_.O_.U_.T_.P_.U_.T················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_.L_.i_.c_.e_.n_.s_.e···················U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously20  · ···_.Q_.U_.O_.T_.E·················U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be21  · ···_.S_.E_.T···················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be
7  ·_.U_.s_.a_.g_.e·····················used·outside·of·other·markup·tags.22  · ···_.U_.N_.D_.E_.F·················used·outside·of·other·markup·tags.
8  ·HTP·Tags··················If·you·USE·a·block·macro·the·value·of·expanded23  · ···_.U_.N_.S_.E_.T·················If·you·USE·a·block·macro·the·value·of·expanded
9  · ···_.A_.L_.T_.T_.E_.X_.T···············block·macros·will·be·further·parsed·by·htp.·This·is24  ·[>]·_.U_.S_.E_.,_.·_.$················block·macros·will·be·further·parsed·by·htp.·This·is
10  · ···_\x8B_.L_.O_.C_.K·················maybe·not·what·you·want,·for·example,·if·the·use·is25  · ···_\x8W_.H_.I_.L_.E·················maybe·not·what·you·want,·for·example,·if·the·use·is
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use26  · ···_\x8<_.!_.-_.-_.-·················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use
12  · ···_.D_.E_.F···················the·noexpand·attribute·to·prevent·further27  ·_.H_.i_.s_.t_.o_.r_.y···················the·noexpand·attribute·to·prevent·further
13  · ···_.F_.I_.L_.E··················expansion.28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················expansion.
14  · ···_.I_.F····················USE·will·accept·additional·parameters,·which·are29  ·_.B_.u_.g_.s······················USE·will·accept·additional·parameters,·which·are
15  · ···_.I_.N_.C···················"local"·macros·for·the·expanded·macro.·This·is·only30 ····························"local"·macros·for·the·expanded·macro.·This·is·only
16  · ···_.I_.M_.G···················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T31 ····························valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············cannot·have·parameters·passed.·For·example:32 ····························cannot·have·parameters·passed.·For·example:
 33 ···························· 1.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr>
18  · ···_.O_.P_.T···················(See·below·for·a·description·of·the·'$'·operator.)34 ····························(See·below·for·a·description·of·the·'$'·operator.)
19  · ···_.O_.U_.T_.P_.U_.T················The·example·on·line·7·works·because·"stuff"·has35 ····························The·example·on·line·7·works·because·"stuff"·has
20  · ···_.Q_.U_.O_.T_.E·················been·declared·as·a·block·macro,·and·the·tag·is36 ····························been·declared·as·a·block·macro,·and·the·tag·is
21  · ···_.S_.E_.T···················passing·the·"email"·macro·to·the·"stuff"·macro.37 ····························passing·the·"email"·macro·to·the·"stuff"·macro.
22  · ···_.U_.N_.D_.E_.F·················Line·8·fails·because·the·"email"·macro·is38 ····························Line·8·fails·because·the·"email"·macro·is
23  · ···_.U_.N_.S_.E_.T·················unavailable·once·the·block·macro·is·completely39 ····························unavailable·once·the·block·macro·is·completely
24  ·[>]·_.U_.S_.E_.,_.·_.$················expanded,·and·cannot·be·passed·to·a·SET·macro.40 ····························expanded,·and·cannot·be·passed·to·a·SET·macro.
25  · ···_.W_.H_.I_.L_.E·················Note·that·the·"email"·macro·is·available·to·other41 ····························Note·that·the·"email"·macro·is·available·to·other
26  · ···_.<_.!_.-_.-_.-·················macros·or·included·files·called·within·the·"stuff"42 ····························macros·or·included·files·called·within·the·"stuff"
27  ·_.H_.i_.s_.t_.o_.r_.y···················block.43 ····························block.
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any44 ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any
29  ·_.B_.u_.g_.s······················other·standard·HTML·or·htp·tag,·the·'$'·operator45 ····························other·standard·HTML·or·htp·tag,·the·'$'·operator
30 ····························must·be·used.·The·'$'·should·be·immediately46 ····························must·be·used.·The·'$'·should·be·immediately
31 ····························followed·by·the·macro·name,·which·may·or·may·not·be47 ····························followed·by·the·macro·name,·which·may·or·may·not·be
32 ····························surrounded·by·curly·braces.·When·htp·encounters48 ····························surrounded·by·curly·braces.·When·htp·encounters
33 ····························this·it·replaces·the·macro·name·by·the·contents·of49 ····························this·it·replaces·the·macro·name·by·the·contents·of
34 ····························the·macro·without·further·processing·the·contents.50 ····························the·macro·without·further·processing·the·contents.
35 ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> 
36 ···························· 2.· · ·... 
37 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
38 ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
39 ···························· 5.· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
40 ···························· 6.· · · · ·<FONT·SIZE=${size}> 
41 ···························· 7.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
42 ···························· 8.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> 
43 ···························· 9.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> 
44 ····························10.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
45 ····························11.· · · · ·</FONT> 
46 ····························12.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
47 ····························13.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
48 ····························14. 
49 ····························15.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A 
50 ····························title"> 
51 ····························16. 
52 ····························17.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized 
53 ····························title"> 
54 ····························18. 
55 ····························19.· ·This·will·fail: 
56 ····························20.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" 
57 ····························TITLE="Another·title"> 
58 ····························21. 
59 ····························22.· ·Instead,·use·*·like·this: 
60 ····························23.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> 
61 ····························24.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> 
62 ····························25.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
63 ····························26.· ·  
64 ····························27.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
65 ····························The·use·of·curly·braces·is·encouraged,·since·it·is51 ····························The·use·of·curly·braces·is·encouraged,·since·it·is
66 ····························more·robust·and·should·never·cause·confusion·with52 ····························more·robust·and·should·never·cause·confusion·with
67 ····························surrounding·text.·If·no·curly·braces·are·used·the53 ····························surrounding·text.·If·no·curly·braces·are·used·the
68 ····························macro·name·consists·either·of·a·single·punctuation54 ····························macro·name·consists·either·of·a·single·punctuation
69 ····························character·or·the·maximum·sequence·of·letters,55 ····························character·or·the·maximum·sequence·of·letters,
70 ····························digits,·"-"·and·"_"·that·follows·it.56 ····························digits,·"-"·and·"_"·that·follows·it.
71 ····························If·a·'$'·character·needs·to·be·kept·in·the·final57 ····························If·a·'$'·character·needs·to·be·kept·in·the·final
Offset 77, 17 lines modifiedOffset 63, 18 lines modified
77 ····························it·with·quotation·marks·to·prevent·spaces·from63 ····························it·with·quotation·marks·to·prevent·spaces·from
78 ····························delimiting·the·text·as·if·it·were·additional·markup64 ····························delimiting·the·text·as·if·it·were·additional·markup
79 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other65 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other
80 ····························text·(as·in·the·two·examples·above),·quotation66 ····························text·(as·in·the·two·examples·above),·quotation
81 ····························marks·are·not·automatically·supplied.67 ····························marks·are·not·automatically·supplied.
82 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a68 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a
83 ····························markup·tag·and·can·be·nested.·This·is·valid:69 ····························markup·tag·and·can·be·nested.·This·is·valid:
84 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim 
85 ····························Nelson"·email="jnelson@crl.com">70 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0">
 71 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section">
86 ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>72 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.n_.c·sect-ctr>
 73 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand
87 ····························global>74 ····························global>
88 ···························· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>75 ···························· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
89 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>76 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
90 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>77 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
91 ····························The·tagName·macro·can·contain·any·tag·name,·even·a78 ····························The·tagName·macro·can·contain·any·tag·name,·even·a
92 ····························self-defined·metatag.·Note·that·$ctr·is·expanded79 ····························self-defined·metatag.·Note·that·$ctr·is·expanded
93 ····························before·the·valueX·macro·is·expanded,·so·assuming80 ····························before·the·valueX·macro·is·expanded,·so·assuming
10.3 KB
./usr/share/doc/htp/while.html
    
Offset 124, 52 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="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
132 &nbsp;·&nbsp;·...<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">i</span>&gt;</span><br> 
134 &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> 
135 &nbsp;<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
136 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br> 
137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
138 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br> 
139 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br> 
140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
141 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
142 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
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>&gt;</span><br> 
144 <br> 
145 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br> 
146 <br> 
147 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br> 
148 <br> 
149 &nbsp;·This·will·fail:<br> 
150 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br> 
151 <br> 
152 &nbsp;·Instead,·use·*·like·this:<br> 
153 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br> 
154 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br> 
155 &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> 
156 &nbsp;·&nbsp;·<br> 
157 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br> 
158 </code></p>131 </code></p>
159 <P>132 <P>
160 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
161 macro's·existance:134 macro's·existance:
162 ··<p><code>135 ··<p><code>
163 &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> 
164 &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> 
165 global><br> 
166 &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> 
167 &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> 
168 &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> 
169 </code></p>136 </code></p>
170 <P>137 <P>
171 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the138 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
172 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the139 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
173 WHILE·tag·it·is·also·reevaluated·on·each·iteration.140 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
174 <P>141 <P>
175 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.
4.28 KB
html2text {}
    
Offset 5, 69 lines modifiedOffset 5, 32 lines modified
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················processing.·The·basic·form·is·shown·above.6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················processing.·The·basic·form·is·shown·above.
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················"Conditional"·is·either·a·"compare"·or·"is·defined"7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················"Conditional"·is·either·a·"compare"·or·"is·defined"
8  ·HTP·Tags··················operation.·A·compare·operator·is·a·test·of·the8  ·HTP·Tags··················operation.·A·compare·operator·is·a·test·of·the
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············value·of·a·macro·against·a·literal·string.·If·the9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············value·of·a·macro·against·a·literal·string.·If·the
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················NOT·tag·is·present·in·the·WHILE·markup,·the10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················NOT·tag·is·present·in·the·WHILE·markup,·the
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············evaluation·of·the·conditional·is·reversed:11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············evaluation·of·the·conditional·is·reversed:
12  · ···_\x8D_\x8E_\x8F··················· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10">12  · ···_\x8D_\x8E_\x8F···················Just·as·with·_.[_.[_.r_.e_.f_.]_.]_.I_.F·you·can·also·check·for·a
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·...13  · ···_\x8F_\x8I_\x8L_\x8E··················macro's·existance:
14  · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
15  · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
16  · ···_\x8I_\x8M_\x8G··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · · · ·<FONT·SIZE=${size}> 
18  · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> 
21  · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · · · ·</FONT> 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
24  · ···_\x8U_.S_.E_.,_.·_.$················ ·<_.[_.[_.r_.e_.f_.]_.]_./_.D_.E_.F>14  · ···_\x8I_.F····················If·the·condition·is·true,·the·block·is·evaluated
 15  · ···_\x8I_\x8N_\x8C···················and·afterwards·the·WHILE·tag·is·evaluated·again.·If
 16  · ···_\x8I_\x8M_\x8G···················the·'$'-operator·is·used·in·the·WHILE·tag·it·is
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············also·reevaluated·on·each·iteration.
 18  · ···_\x8O_\x8P_\x8T···················A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
 21  · ···_\x8S_\x8E_\x8T
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A 
27  ·_.H_.i_.s_.t_.o_.r_.y···················title">26  · ···_.<_.!_.-_.-_.-
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized 
30 ····························title"> 
  
31 ···························· ·This·will·fail: 
32 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" 
33 ····························TITLE="Another·title"> 
  
34 ···························· ·Instead,·use·*·like·this: 
35 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> 
36 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> 
37 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
38 ···························· ·  
39 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
40 ····························Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a 
41 ····························macro's·existance: 
42 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim 
43 ····························Nelson"·email="jnelson@crl.com"> 
44 ···························· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> 
45 ····························global> 
46 ···························· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> 
47 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> 
48 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
49 ····························If·the·condition·is·true,·the·block·is·evaluated 
50 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If 
51 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is 
52 ····························also·reevaluated·on·each·iteration. 
53 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.