205 KB
/srv/reproducible-results/rbuild-debian/r-b-build.9ESJyAJV/b1/htp_1.19-8_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.9ESJyAJV/b2/htp_1.19-8_arm64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·2b62e246c9a57baeb32fe0feccd41b56·70492·debug·optional·htp-dbgsym_1.19-8_arm64.deb1 ·2b62e246c9a57baeb32fe0feccd41b56·70492·debug·optional·htp-dbgsym_1.19-8_arm64.deb
2 ·96526159ea371cb380e1a974ca9677dd·116596·web·optional·htp_1.19-8_arm64.deb2 ·57480dd9ed1b9e286c933942fa71cdea·116704·web·optional·htp_1.19-8_arm64.deb
204 KB
htp_1.19-8_arm64.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary
2 -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···112788·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···112896·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:·arm643 Architecture:·arm64
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6415 Installed-Size:·648
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
203 KB
data.tar.xz
203 KB
data.tar
15.3 KB
file list
    
Offset 1, 27 lines modifiedOffset 1, 27 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/
4 -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/
6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/
8 -rw-r--r--···0·root·········(0)·root·········(0)·····9259·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)····10728·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)·····9256·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····9462·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)····11027·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····9584·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)·····9160·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)····11826·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)····13006·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····12224·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, 64 lines modifiedOffset 32, 64 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)·····8873·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)·····9202·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)····14872·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····17798·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)·····9817·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)····11675·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)····11491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)·····9335·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)·····8639·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8898·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)·····9242·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····8760·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)····15500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····15733·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)·····8063·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····8471·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)·····8227·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····8130·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp
75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/
76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png
77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png
78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png
79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png
80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png
81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png
82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png
83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png
84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png
85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····8008·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)·····8008·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)·····9347·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)····10167·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 102, 23 lines modifiedOffset 102, 23 lines modified
102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp
103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html
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)·····7804·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····9119·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)····10772·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)····11354·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)····13011·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····13692·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)·····9856·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)·····9446·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/
9.37 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 41 lines modifiedOffset 114, 41 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br>
 122 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br>
121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block·#1<br> 
123 [<br> 
124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
125 &nbsp;·&nbsp;·block·#2<br> 
126 ...<br> 
127 ]<br> 
128 [<br> 
129 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
130 &nbsp;·&nbsp;·block·#3<br> 
131 ]<br> 
132 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
133 <br>124 <br>
134 </code></p>125 </code></p>
135 <h2>synopsis</h2>126 <h2>synopsis</h2>
136 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A127 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
137 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.128 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
138 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the129 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
139 filename·is·considered·in·all·comparisons.130 filename·is·considered·in·all·comparisons.
140 <p>131 <p>
141 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT132 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT
142 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to133 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to
143 be·overridden·on·specific·images·and·default·text·on·all·others.134 be·overridden·on·specific·images·and·default·text·on·all·others.
144 <p>135 <p>
145 For·example:136 For·example:
146 ··<p><code>137 ··<p><code>
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">name</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border[·...·truncated·by·diffoscope;·len:·44,·SHA:·062d7c6b0f7893e5b4f6fe36e602f6ddb37d5425a5c2feea5b522f84b1eb21fa·...·]>&gt;</span><br>138 &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·c[·...·truncated·by·diffoscope;·len:·38,·SHA:·a80d5513f15de02f5f6ad70ae502841b016c36a7cbe6c2b3b02202679735ef1f·...·]>&gt;</span><br>
 139 <br>
 140 &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>
 141 &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>
 142 <br>
 143 &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>
 144 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br>
 145 <br>
 146 &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>
 147 &nbsp;·remains·unchanged.<br>
148 </code></p>148 </code></p>
149 <p>149 <p>
150 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT150 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT
151 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not151 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not
152 changed.152 changed.
153 <p>153 <p>
154 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,154 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,
4.79 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 40 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:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\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:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\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]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="tagname"·[option="option1
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·...·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> ...
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
 8  ·HTP·Tags
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·[NOT]·conditional> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block·#1 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················[ 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<ELSEIF·[NOT]·conditional> 
8  ·HTP·Tags·················· · ·block·#2 
9  ·[>]·_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············... 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················] 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············[ 
12  · ···_\x8D_\x8E_\x8F···················<ELSE> 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·block·#3 
14  · ···_\x8I_\x8F····················] 
15  · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
16  · ···_\x8I_\x8M_\x8G 
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*9  ·[>]·_.A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
18  · ···_\x8O_.P_.T···················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag10  · ···_\x8B_.L_.O_.C_.K·················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag
19  · ···_\x8O_.U_.T_.P_.U_.T················with·a·SRC·matching·the·ALTTEXT·NAME.·Since11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············with·a·SRC·matching·the·ALTTEXT·NAME.·Since
20  · ···_\x8Q_.U_.O_.T_.E·················relative·paths·can·be·used·to·point·to·the·same12  · ···_\x8D_.E_.F···················relative·paths·can·be·used·to·point·to·the·same
21  · ···_\x8S_.E_.T···················image,·only·the·filename·is·considered·in·all13  · ···_\x8F_.I_.L_.E··················image,·only·the·filename·is·considered·in·all
22  · ···_\x8U_.N_.D_.E_.F·················comparisons.14  · ···_\x8I_.F····················comparisons.
23  · ···_\x8U_.N_.S_.E_.T·················When·an·IMG·tag·with·a·matching·source·is15  · ···_\x8I_.N_.C···················When·an·IMG·tag·with·a·matching·source·is
24  · ···_\x8U_.S_.E_.,_.·_.$················encountered,·htp·will·add·an·ALT·attribute·only·if16  · ···_\x8I_.M_.G···················encountered,·htp·will·add·an·ALT·attribute·only·if
25  · ···_\x8W_.H_.I_.L_.E·················one·is·not·already·present.·This·allows·for·ALT17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············one·is·not·already·present.·This·allows·for·ALT
26  · ···_\x8<_.!_.-_.-_.-·················text·to·be·overridden·on·specific·images·and18  · ···_\x8O_.P_.T···················text·to·be·overridden·on·specific·images·and
27  ·_.H_.i_.s_.t_.o_.r_.y···················default·text·on·all·others.19  · ···_.O_.U_.T_.P_.U_.T················default·text·on·all·others.
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················For·example:20  · ···_.Q_.U_.O_.T_.E·················For·example:
29  ·_.B_.u_.g_.s······················ · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name>...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>21  · ···_.S_.E_.T··················· ·<_.[_.[_.r_.e_.f_.]_.]_.a_.l_.t_.t_.e_.x_.t·name="logo.gif"·text="Company
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················logo">
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················src="logo.gif"·alt="Company·logo">
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif">
 29  ·_\x8B_\x8u_\x8g_\x8s······················ ·will·also·have·an·ALT·attribute·appended·to·it
  
 30 ···························· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click
 31 ····························here·for·more·information!">
 32 ···························· ·remains·unchanged.
30 ····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute33 ····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute
31 ····························removes·any·ALT·mapping·for·this·image.·Successing34 ····························removes·any·ALT·mapping·for·this·image.·Successing
32 ····························IMG·tags·with·a·matching·SRC·name·are·not·changed.35 ····························IMG·tags·with·a·matching·SRC·name·are·not·changed.
33 ····························Since·this·is·useful·for·an·image·used·throughout·a36 ····························Since·this·is·useful·for·an·image·used·throughout·a
34 ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an37 ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an
35 ····························_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e.38 ····························_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e.
36 ····························In·addition·to·ALTTEXT,·htp·can·also·automatically39 ····························In·addition·to·ALTTEXT,·htp·can·also·automatically
7.63 KB
./usr/share/doc/htp/block.html
    
Offset 114, 24 lines modifiedOffset 114, 24 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>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;h1&gt;</span><span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>&gt;</span><span·class="htp-tag">&lt;/h1&gt;</span><br> 
123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
124 &nbsp;·&nbsp;·&nbsp;<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
125 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br> 
126 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
127 <br>122 <br>
128 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br> 
129 &nbsp;·&nbsp;·This·is·a·fancy·section.<br> 
130 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br>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 </code></p>131 </code></p>
132 <h2>synopsis</h2>132 <h2>synopsis</h2>
133 <P>133 <P>
134 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which134 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
135 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be135 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
136 multi-line·definitions.136 multi-line·definitions.
137 </P>137 </P>
4.28 KB
html2text {}
    
Offset 1, 43 lines modifiedOffset 1, 46 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:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\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:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\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]_\x8b_.l_.o_.c_.k_.d_.e_.f·name="section"·option="title">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_.l_.t_.t_.e_.x_.t·name="logo.gif"·text="Company
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <h1><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·title></h1> 
6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l·················· · <p·class="section">5  ·_\x8L_.i_.c_.e_.n_.s_.e···················logo">
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · <_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·block>7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="logo.gif">
8  ·HTP·Tags·················· · </p> 
9  · ···_.A_.L_.T_.T_.E_.X_.T··············· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k_.d_.e_.f>8  ·HTP·Tags·················· ·becomes·this·after·processing:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo">
10  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K10  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<section·title="My·Section"> 
12  · ···_\x8D_\x8E_\x8F··················· · ·This·is·a·fancy·section. 
13  · ···_\x8F_.I_.L_.E·················· ·</section>11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F·············· ·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·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.
14  · ···_\x8I_\x8F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
15  · ···_\x8I_.N_.C···················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros,18  · ···_\x8O_.P_.T···················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros,
16  · ···_\x8I_.M_.G···················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be19  · ···_\x8O_.U_.T_.P_.U_.T················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············multi-line·definitions.20  · ···_\x8Q_.U_.O_.T_.E·················multi-line·definitions.
18  · ···_\x8O_.P_\x8T···················Any·text·and·formatting·may·be·set·inside·the21  · ···_\x8S_.E_\x8T···················Any·text·and·formatting·may·be·set·inside·the
19  · ···_\x8O_.U_.T_.P_.U_.T················block.·You·can·use·any·htp·or·user·defined·metatag22  · ···_\x8U_.N_.D_.E_.F·················block.·You·can·use·any·htp·or·user·defined·metatag
20  · ···_\x8Q_.U_.O_.T_.E·················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be23  · ···_\x8U_.N_.S_.E_.T·················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be
21  · ···_\x8S_.E_.T···················expanded·before·the·block·is·USEd·except·if·you24  · ···_\x8U_.S_.E_.,_.·_.$················expanded·before·the·block·is·USEd·except·if·you
22  · ···_\x8U_.N_.D_.E_.F·················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter.25  · ···_\x8W_.H_.I_.L_.E·················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter.
23  · ···_\x8U_.N_.S_.E_.T·················The·block·macro·is·dereferenced·(expanded)·with·the26  · ···_\x8<_.!_.-_.-_.-·················The·block·macro·is·dereferenced·(expanded)·with·the
24  · ···_.U_.S_.E_.,_.·_.$················_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the27  ·_.H_.i_.s_.t_.o_.r_.y···················_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the
25  · ···_.W_.H_.I_.L_.E·················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro.28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro.
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8- 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
9.86 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 34 lines modifiedOffset 114, 35 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imagename"</span>·<span·class="ebnf">[</span>·<span·class="ht[·...·truncated·by·diffoscope;·len:·86,·SHA:·1a5f18fd366c4b7cde0f7d88a74c74f577463c3a20634bd10c409d325ba1ad76·...·]</span>&gt;</span><br>121 &nbsp;·<span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=[·...·truncated·by·diffoscope;·len:·39,·SHA:·138ba34b5292b3e7451f200f072f3b0027941410b118e78a3f2cd3ad3de9d343·...·]</span>&gt;</span><br>
122 <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>
123 </code></p>131 </code></p>
124 <h2>synopsis</h2>132 <h2>synopsis</h2>
125 <strong>BLOCKDEF</strong>·creates·block·<A133 <strong>BLOCKDEF</strong>·creates·block·<A
126 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it134 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
127 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block135 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
128 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and136 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
129 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored137 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
130 in·the·block·macro·named·BLOCK.138 in·the·block·macro·named·BLOCK.
131 <P>·For·example:</P>139 <P>·For·example:</P>
132 ··<p><code>140 ··<p><code>
 141 <span·class="comment">&lt;!---·comment·---&gt;</span><br>
133 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="htp-attrib">(output</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">|</span>·<span·class="htp-attrib">redirect)</span>·<span·class="htp-attrib">[noerror]</span>&gt;</span><br> 
134 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>&gt;</span><br> 
135 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>&gt;</span><br> 
136 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">size[</span>·=<span·class="htp-value"></span>·<span·class="htp-attrib">(byte|kbyte|mbyte|gbyte)</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[precision</span>=<span·class="htp-value">n]</span>&gt;</span><br> 
137 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">time[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br> 
138 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br> 
139 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>&gt;</span><br> 
140 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>&gt;</span><br> 
141 <br>142 <br>
142 </code></p>143 </code></p>
143 <p>144 <p>
144 All·block·metatags·have·the·implicit·option·<a145 All·block·metatags·have·the·implicit·option·<a
145 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents146 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
146 of·the·block·before·the·definition·is·expanded.147 of·the·block·before·the·definition·is·expanded.
147 </p>148 </p>
4.37 KB
html2text {}
    
Offset 1, 33 lines modifiedOffset 1, 33 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:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\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:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\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··············<_.[_.[_.r_.e_.f_.]_.]_.a_.l_.t_.t_.e_.x_.t·name="imagename"·[·text="imagetext"4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.a_.l_.t_.t_.e_.x_.t·name="logo.gif"·text="Company
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················]>5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················logo">
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l6  ·_\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.
7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy18  · ···_.O_.P_.T···················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············way·of·saying·it·creates·new·block·tags.·A·block19  · ···_\x8O_.U_.T_.P_.U_.T················way·of·saying·it·creates·new·block·tags.·A·block
10  · ···_\x8B_.L_.O_.C_.K·················tag·is·a·tag·that·takes·a·whole·block·as·additional20  · ···_\x8Q_.U_.O_.T_.E·················tag·is·a·tag·that·takes·a·whole·block·as·additional
11  ·[>]·_.B_.L_.O_.C_.K_.D_.E_.F··············parameter.·This·block·is·surrounded·by·<tagname>21  · ···_.S_.E_.T···················parameter.·This·block·is·surrounded·by·<tagname>
12  · ···_\x8D_.E_.F···················and·</tagname>.·The·contents·of·this·block·are22  · ···_\x8U_.N_.D_.E_.F·················and·</tagname>.·The·contents·of·this·block·are
13  · ···_\x8F_.I_.L_.E··················automatically·stored·in·the·block·macro·named23  · ···_\x8U_.N_.S_.E_.T·················automatically·stored·in·the·block·macro·named
14  · ···_\x8I_.F····················BLOCK.24  · ···_\x8U_.S_.E_.,_.·_.$················BLOCK.
15  · ···_\x8I_.N_.C···················For·example:25  · ···_\x8W_.H_.I_.L_.E·················For·example:
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<!---·comment·--->
16  · ···_\x8I_\x8M_\x8G···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·execute="command-line" 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············(output="filename"·|·redirect)·[noerror]> 
18  · ···_\x8O_\x8P_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="includefilename"·[parameters 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················...]> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·name> 
21  · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·size[·= 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················(byte|kbyte|mbyte|gbyte)·]·[precision=n]> 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·time[·="format"·]> 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date[·="format"·]> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·search="searchpath"> 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·template="templatefilename"> 
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·················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,
29  ·_\x8B_\x8u_\x8g_\x8s······················which·tells·htp·to·expand·the·contents·of·the·block29  ·_\x8B_\x8u_\x8g_\x8s······················which·tells·htp·to·expand·the·contents·of·the·block
30 ····························before·the·definition·is·expanded.30 ····························before·the·definition·is·expanded.
31 ····························A·more·thorough·discussion·and·more·elaborate31 ····························A·more·thorough·discussion·and·more·elaborate
32 ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.32 ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.
  
10.7 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 44 lines modifiedOffset 114, 42 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block·#1<br> 
123 [<br> 
124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
125 &nbsp;·&nbsp;·block·#2<br> 
126 ...<br> 
127 ]<br> 
128 [<br> 
129 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
130 &nbsp;·&nbsp;·block·#3<br> 
131 ]<br> 
132 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>122 <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>123 <br>
134 </code></p>124 </code></p>
135 <h2>synopsis</h2>125 <h2>synopsis</h2>
136 <p>126 <p>
137 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful127 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
138 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.128 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
139 Example:129 Example:
140 </p>130 </p>
141 ··<p><code>131 ··<p><code>
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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·hre[·...·truncated·by·diffoscope;·len:·89,·SHA:·0d74d7323b637f4f6c0a6b357b2d292517463b143d7384d65d9199c97616d3df·...·]>&gt;</span><br>132 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="htp-attrib">(output</span>=<sp[·...·truncated·by·diffoscope;·len:·156,·SHA:·889d86af3ed6b274f68bf09b65c0ef72336a2bb3d417973f3444f20c2be001b9·...·]>&gt;</span><br>
 133 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>&gt;</span><br>
 134 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>&gt;</span><br>
 135 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">size[</span>·=<span·class="htp-value"></span>·<span·class="htp-attrib">(byte|kbyte|mbyte|gbyte)</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[precision</span>=<span·class="htp-value">n]</span>&gt;</span><br>
 136 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">time[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
 137 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
 138 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>&gt;</span><br>
 139 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>&gt;</span><br>
 140 <br>
143 </code></p>141 </code></p>
144 <p>142 <p>
145 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you143 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
146 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something144 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
147 like·this:145 like·this:
148 </p>146 </p>
149 ··<p><code>147 ··<p><code>
150 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height=[·...·truncated·by·diffoscope;·len:·12,·SHA:·4037b88a6396422c98d44cadab27ae4931f22e9eb95cc0788cc2237cd7b8d9bc·...·]&gt;</span><br>148 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;EM&gt;</span>File·"<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>&gt;</span>"·last·updated·<span·class="htp-tag">&lt;<a·href="file.html"·><i[·...·truncated·by·diffoscope;·len:·328,·SHA:·e864eee6ccd16b7b75055c400688199d4ea02648d6f6a07f2646cfd218160191·...·]&gt;</span><br>
151 </code></p>149 </code></p>
152 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the150 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
153 reason·why·you·don't·want·to·include·this·block</p>151 reason·why·you·don't·want·to·include·this·block</p>
154 <p>152 <p>
155 </td>153 </td>
156 </tr>154 </tr>
157 <tr>155 <tr>
4.46 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 39 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_.F·[NOT]·conditional>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_.e_.f·name="tagname"·[option="option1
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block·#1 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················[ 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<ELSEIF·[NOT]·conditional> 
8  ·HTP·Tags·················· · ·block·#2 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············... 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················] 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············[ 
12  · ···_\x8D_\x8E_\x8F···················<ELSE> 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·block·#3 
14  · ···_\x8I_\x8F····················] 
15  · ···_.I_.N_.C···················<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>
16  · ···_.I_.M_.G7  ·_.U_.s_.a_.g_.e
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
18  · ···_\x8O_.P_.T···················This·is·a·simple·comment·that·is·not·included·in9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············This·is·a·simple·comment·that·is·not·included·in
19  · ···_\x8O_.U_.T_.P_.U_.T················the·output.·This·is·useful·when·commenting10  · ···_\x8B_.L_.O_.C_.K·················the·output.·This·is·useful·when·commenting
20  · ···_\x8Q_.U_.O_.T_.E·················metatags,·since·the·metatags·do·not·appear·the11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············metatags,·since·the·metatags·do·not·appear·the
21  · ···_\x8S_.E_.T···················output·either.·Example:12  · ···_\x8D_.E_.F···················output·either.·Example:
22  · ···_\x8U_.N_.D_.E_.F················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name="Jim">...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>13  · ···_\x8F_.I_.L_.E··················<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·execute="command-line"
 14  · ···_\x8I_\x8F····················(output="filename"·|·redirect)·[noerror]>
 15  · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="includefilename"·[parameters
 16  · ···_\x8I_\x8M_\x8G···················...]>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·name>
 18  · ···_\x8O_\x8P_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·size[·=
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················(byte|kbyte|mbyte|gbyte)·]·[precision=n]>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·time[·="format"·]>
 21  · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date[·="format"·]>
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·search="searchpath">
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·template="templatefilename">
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
23  · ···_\x8U_.N_.S_.E_.T·················Note·that·these·comments·should·not·include·<·or·>,25  · ···_\x8W_.H_.I_.L_.E·················Note·that·these·comments·should·not·include·<·or·>,
24  · ···_.U_.S_.E_.,_.·_.$················that·is·you·should·not·use·it·to·comment·out·htp26  ·[>]·_.<_.!_.-_.-_.-·················that·is·you·should·not·use·it·to·comment·out·htp
25  · ···_.W_.H_.I_.L_.E·················code.·For·that·purpose·use·something·like·this:27  ·_.H_.i_.s_.t_.o_.r_.y···················code.·For·that·purpose·use·something·like·this:
26  ·[>]·_.<_.!_.-_.-_.-················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name>...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t················· · ·<EM>File·"<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME>"·last·updated·<_.[
 29  ·_\x8B_\x8u_\x8g_\x8s······················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM>
27  ·_.H_.i_.s_.t_.o_.r_.y···················Make·sure·that·the·variable·is·never·defined·and30 ····························Make·sure·that·the·variable·is·never·defined·and
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················xyz·should·be·the·reason·why·you·don't·want·to31 ····························xyz·should·be·the·reason·why·you·don't·want·to
29  ·_.B_.u_.g_.s······················include·this·block32 ····························include·this·block
  
  
  
  
  
  
  
13.2 KB
./usr/share/doc/htp/def.html
    
Offset 114, 57 lines modifiedOffset 114, 51 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·hre[·...·truncated·by·diffoscope;·len:·89,·SHA:·0d74d7323b637f4f6c0a6b357b2d292517463b143d7384d65d9199c97616d3df·...·]>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">o[·...·truncated·by·diffoscope;·len:·333,·SHA:·b703d211fe0637ace6c42c76d2272b667a2304938ff150452f180321de7da111·...·]>&gt;</span><br>
 122 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 123 <br>
122 </code></p>124 </code></p>
123 <h2>synopsis</h2>125 <h2>synopsis</h2>
124 <p>126 <p>
125 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a127 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
126 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to128 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
127 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>129 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
128 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.130 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
129 For·example:131 For·example:
130 </p>132 </p>
131 ··<p><code>133 ··<p><code>
 134 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;EM&gt;</span>File·"<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>&gt;</span>"·last·updated·<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">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">DATE</span>&gt;</span><span·class="htp-tag">&lt;/EM&gt;</span><br>
132 &nbsp;·&nbsp;·File·image.gif·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br> 
133 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br> 
134 </code></p>135 </code></p>
135 <P>136 <P>
136 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to137 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
137 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A138 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
138 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster139 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
139 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing140 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
140 tag·with·a·preceding·slash.·For·example:141 tag·with·a·preceding·slash.·For·example:
141 </P>142 </P>
142 ··<p><code>143 ··<p><code>
 144 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>
143 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>&gt;</span><br> 
144 OPT·(QUIET|VERBOSE)><br> 
145 <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">(DEPEND|NODEPEND)</span>&gt;</span><br> 
146 <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">(PRECIOUS|NOPRECIOUS)</span>&gt;</span><br> 
147 <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">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>&gt;</span><br> 
148 <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="htp-value">(HTML|SQUARE|CURLY)</span>&gt;</span><br> 
149 <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">(XML|XML</span>=<span·class="htp-value">FALSE)</span>&gt;</span><br> 
150 <br>145 <br>
151 </code></p>146 </code></p>
152 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,147 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
153 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>148 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
154 <P>149 <P>
155 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were150 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
156 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with151 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
157 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their152 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
158 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)153 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
159 </P>154 </P>
160 ··<p><code>155 ··<p><code>
 156 &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>
 157 &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>
161 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br> 
162 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
163 <br> 
164 </code></p>158 </code></p>
165 <P>159 <P>
166 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is160 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
167 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are161 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
168 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the162 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
169 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a163 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
170 parameter·is·required,·simply·expand·it·without·first·checking.··When164 parameter·is·required,·simply·expand·it·without·first·checking.··When
6.23 KB
html2text {}
    
Offset 1, 47 lines modifiedOffset 1, 42 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·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name="Jim">...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="tagname"·[option="option1
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
5  ·_.L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of9  · ···_.A_.L_.T_.T_.E_.X_.T···············D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of
7  ·_.U_.s_.a_.g_.e·····················saying·it·creates·new·tags.·The·mechanism·is·very10  · ···_.B_.L_.O_.C_.K·················saying·it·creates·new·tags.·The·mechanism·is·very
8  ·HTP·Tags··················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is
9  · ···_.A_.L_.T_.T_.E_.X_.T···············not·used·to·expand·them.·Instead,·they·are·expanded12  ·[>]·_.D_.E_.F···················not·used·to·expand·them.·Instead,·they·are·expanded
10  · ···_\x8B_.L_.O_.C_.K·················by·their·own·name.·For·example:13  · ···_\x8F_.I_.L_.E··················by·their·own·name.·For·example:
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·File·image.gif·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" 
12  ·[>]·_\x8D_\x8E_\x8F···················SIZE=KBYTE> kilobytes 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" 
14  · ···_\x8I_\x8F····················TIME>,·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif"·DATE>14  · ···_\x8I_\x8F···················· · ·<EM>File·"<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME>"·last·updated·<_.[
 15  · ···_\x8I_\x8N_\x8C···················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM>
15  · ···_\x8I_\x8N_.C···················Some·metatags·will·require·an·opening·and·closing16  · ···_\x8I_\x8M_.G···················Some·metatags·will·require·an·opening·and·closing
16  · ···_\x8I_\x8M_\x8G···················tag·(comparable·to 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············and17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············tag·(comparable·to
 18  · ···_\x8O_\x8P_\x8T···················and
18  · ···_\x8O_\x8P_.T···················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.19  · ···_\x8O_\x8U_.T_.P_.U_.T················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.
19  · ···_\x8O_.U_.T_.P_.U_.T················Another·slightly·faster·alternative·is·to·use·two20  · ···_\x8Q_.U_.O_.T_.E·················Another·slightly·faster·alternative·is·to·use·two
20  · ···_\x8Q_.U_.O_.T_.E·················metatags,·the·opening·tag·and·the·closing·tag·with21  · ···_\x8S_.E_.T···················metatags,·the·opening·tag·and·the·closing·tag·with
21  · ···_\x8S_.E_.T···················a·preceding·slash.·For·example:22  · ···_\x8U_.N_.D_.E_.F·················a·preceding·slash.·For·example:
22  · ···_\x8U_\x8N_\x8D_.E_.F················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i="1"·j="-1">23  · ···_\x8U_\x8N_\x8S_.E_.T·················<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="filename"·...>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················OPT·(QUIET|VERBOSE)> 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)> 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> 
29  ·_\x8B_\x8u_\x8g_\x8s 
30 ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will25  · ···_.W_.H_.I_.L_.E·················You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will
31 ····························check·for·matching·end·tag.·It·is·not·that·slower.26  · ···_.<_.!_.-_.-_.-·················check·for·matching·end·tag.·It·is·not·that·slower.
32 ····························Options·can·be·passed·to·a·metatag,·which·can·then27  ·_.H_.i_.s_.t_.o_.r_.y···················Options·can·be·passed·to·a·metatag,·which·can·then
33 ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are
34 ····························parameterized·with·the·OPTION·attribute.·Multiple29  ·_.B_.u_.g_.s······················parameterized·with·the·OPTION·attribute.·Multiple
35 ····························options·can·be·listed·by·separating·their·name·with30 ····························options·can·be·listed·by·separating·their·name·with
36 ····························a·space·(which·therefore·requires·they·be31 ····························a·space·(which·therefore·requires·they·be
37 ····························surrounded·by·quotes.)32 ····························surrounded·by·quotes.)
 33 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim
 34 ····························Nelson"·email="jnelson@crl.com">
38 ····························<_.[_.[_.r_.e_.f_.]_.]_.U_.N_.D_.E_.F·tagname>35 ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>
39 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·> 
  
40 ····························htp·will·do·very·specific·checking·of·parameters36 ····························htp·will·do·very·specific·checking·of·parameters
41 ····························when·a·metatag·is·invoked.·htp·assumes·that·all37 ····························when·a·metatag·is·invoked.·htp·assumes·that·all
42 ····························parameter·options·to·the·metatag·are·optional.·This38 ····························parameter·options·to·the·metatag·are·optional.·This
43 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify39 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify
44 ····························the·SIZE·option·is·defined·before·expanding·it·in40 ····························the·SIZE·option·is·defined·before·expanding·it·in
45 ····························the·block.·If·a·parameter·is·required,·simply41 ····························the·block.·If·a·parameter·is·required,·simply
46 ····························expand·it·without·first·checking.·When·htp·expands42 ····························expand·it·without·first·checking.·When·htp·expands
5.12 KB
./usr/share/doc/htp/expand.html
    
Offset 98, 25 lines modifiedOffset 98, 20 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>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;EM&gt;</span>File·"<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>&gt;</span>"·last·updated·<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">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">DATE</span>&gt;</span><span·class="htp-tag">&lt;/EM&gt;</span><br>
105 <font·size="-2">&nbsp;1.·</font><span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br> 
106 <font·size="-2">&nbsp;2.·</font>E·DATE><span·class="htp-tag">&lt;/EM&gt;</span><br> 
107 </code></p>106 </code></p>
108 This·produces·the·following:107 This·produces·the·following:
109 ··<p><code>108 ··<p><code>
 109 &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>
 110 &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>
110 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
111 &nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br> 
112 &nbsp;·&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> 
113 <br> 
114 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br> 
115 &nbsp;·&nbsp;·This·text·is·centered.<br> 
116 </code></p>111 </code></p>
117 <P>112 <P>
118 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a113 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
119 are·taken·literally,·however,·the·contents·for·b·are·already·expanded114 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
120 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it115 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
121 is·used,·while·the·contents·of·b·are·already·expanded.116 is·used,·while·the·contents·of·b·are·already·expanded.
122 </P>117 </P>
2.1 KB
html2text {}
    
Offset 24, 24 lines modifiedOffset 24, 20 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.· · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated
 32 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM>
31 ···························· 1.·<!---·This·comment·doesn't·appear·in·the·HTML 
32 ····························file·---> 
33 ···························· 2.·E·DATE></EM> 
34 ····························This·produces·the·following:33 ····························This·produces·the·following:
35 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
36 ···························· ·<p·align=center>34 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·INCLUDE="include.hti"·name="Jim
 35 ····························Nelson"·email="jnelson@crl.com">
37 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>36 ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>
  
38 ···························· · ·<centered> 
39 ···························· · ·This·text·is·centered. 
40 ····························When·block·a·and·block·b·are·defined·in·lines·2-37 ····························When·block·a·and·block·b·are·defined·in·lines·2-
41 ····························7·the·contents·of·a·are·taken·literally,·however,38 ····························7·the·contents·of·a·are·taken·literally,·however,
42 ····························the·contents·for·b·are·already·expanded·so·the39 ····························the·contents·for·b·are·already·expanded·so·the
43 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it40 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it
44 ····························is·used,·while·the·contents·of·b·are·already41 ····························is·used,·while·the·contents·of·b·are·already
45 ····························expanded.42 ····························expanded.
46 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with43 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with
18.0 KB
./usr/share/doc/htp/file.html
    
Offset 114, 57 lines modifiedOffset 114, 68 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="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br>
 122 &nbsp;·...<br>
121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block·#1<br> 
123 [<br> 
124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
125 &nbsp;·&nbsp;·block·#2<br> 
126 ...<br> 
127 ]<br> 
128 [<br> 
129 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
130 &nbsp;·&nbsp;·block·#3<br> 
131 ]<br> 
132 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>123 <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 <br> 
134 </code></p>124 </code></p>
135 <h2>synopsis</h2>125 <h2>synopsis</h2>
136 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.126 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
137 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of127 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
138 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be128 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
139 added·to·the·output·file·as·well.129 added·to·the·output·file·as·well.
140 <P>130 <P>
141 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the131 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
142 following·is·perfectly·acceptable:132 following·is·perfectly·acceptable:
143 ··<p><code>133 ··<p><code>
144 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br>134 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>&gt;</span><br>
145 &nbsp;·...<br>135 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>
146 <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>136 &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>
 137 <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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>&gt;</span><br>
 139 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br>
 140 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 141 <br>
 142 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
147 </code></p>143 </code></p>
148 <P>144 <P>
149 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>145 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
150 <P>146 <P>
151 To·include·information·about·another·file,·such·as·an·archive·file·or147 To·include·information·about·another·file,·such·as·an·archive·file·or
152 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the148 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
153 type·of·information·to·be·displayed:149 type·of·information·to·be·displayed:
154 ··<p><code>150 ··<p><code>
 151 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br>
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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>&gt;</span><br>152 &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>
156 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>153 &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>
 154 &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>
 155 &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>
 156 &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>
 157 &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>
 158 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 159 &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>
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>&gt;</span><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>&gt;</span><br>
158 <br>161 <br>
 162 &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>
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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>&gt;</span><br> 
160 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
161 &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> 
162 <br>163 <br>
163 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>164 &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>
 165 <br>
 166 &nbsp;·This·will·fail:<br>
 167 &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>
 168 <br>
 169 &nbsp;·Instead,·use·*·like·this:<br>
 170 &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>
 171 &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>
 172 &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>
 173 &nbsp;·&nbsp;·<br>
 174 &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>
164 </code></p>175 </code></p>
165 <P>176 <P>
166 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the177 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
167 information·is·displayed.··In·anything·other·than·byte·format,·the·information178 information·is·displayed.··In·anything·other·than·byte·format,·the·information
168 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number179 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
169 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional180 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
170 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no181 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 193, 19 lines modifiedOffset 204, 15 lines modified
193 <P>204 <P>
194 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are205 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
195 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros206 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
196 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it207 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
197 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer208 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
198 available.··So:209 available.··So:
199 ··<p><code>210 ··<p><code>
 211 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
200 <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> 
201 <br> 
202 ND]·[EXPAND]><br> 
203 text·block<br> 
204 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br> 
205 <br>212 <br>
206 </code></p>213 </code></p>
207 <P>214 <P>
208 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included215 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
209 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the216 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
210 second·statement·will·fail.)217 second·statement·will·fail.)
211 <P>218 <P>
8.05 KB
html2text {}
    
Offset 1, 49 lines modifiedOffset 1, 64 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]_\x8I_.F·[NOT]·conditional>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.f·disabled_because_xyz>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block·#15  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·...
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················[ 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<ELSEIF·[NOT]·conditional> 
8  ·HTP·Tags·················· · ·block·#2 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············... 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················] 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············[ 
12  · ···_\x8D_\x8E_\x8F···················<ELSE> 
13  ·[>]·_\x8F_\x8I_\x8L_\x8E·················· · ·block·#3 
14  · ···_\x8I_\x8F····················] 
15  · ···_.I_.N_.C···················<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················<_.[_.[_.r_.e_.f_.]_.]_./_.i_.f>
16  · ···_\x8I_\x8M_\x8G 
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
18  · ···_.O_.P_.T···················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing8  ·HTP·Tags··················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing
19  · ···_\x8O_.U_.T_.P_.U_.T················purpose.·The·output·file's·name,·the·current·date9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············purpose.·The·output·file's·name,·the·current·date
20  · ···_\x8Q_.U_.O_.T_.E·················and·time,·and·the·contents·of·another·file·may·be10  · ···_\x8B_.L_.O_.C_.K·················and·time,·and·the·contents·of·another·file·may·be
21  · ···_\x8S_.E_.T···················included.·Another·file's·time,·date,·or·size·may·be11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············included.·Another·file's·time,·date,·or·size·may·be
22  · ···_\x8U_.N_.D_.E_.F·················added·to·the·output·file·as·well.12  · ···_\x8D_.E_.F···················added·to·the·output·file·as·well.
23  · ···_.U_.N_.S_.E_.T·················As·with·all·HTML,·these·tags·do·not·have·to·be·on13  ·[>]·_.F_.I_.L_.E··················As·with·all·HTML,·these·tags·do·not·have·to·be·on
24  · ···_\x8U_.S_.E_.,_.·_.$················their·own·line,·so·the·following·is·perfectly14  · ···_\x8I_.F····················their·own·line,·so·the·following·is·perfectly
25  · ···_\x8W_.H_.I_.L_.E·················acceptable:15  · ···_\x8I_.N_.C···················acceptable:
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz> 
27  ·_.H_.i_.s_.t_.o_.r_.y··················· ·...16  · ···_.I_.M_.G··················· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="bigfont">
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<font·size="+4">
 18  · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont">
 21  · ···_\x8S_\x8E_\x8T··················· · ·</font>
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················<_.[_.[_.r_.e_.f_.]_.]_./_.i_\x8f>22  · ···_.U_.N_.D_.E_.F················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_\x8f>
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<bigfont>Some·large·text</bigfont>
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*25  · ···_.W_.H_.I_.L_.E·················*\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·as26  · ···_.<_.!_.-_.-_.-·················To·include·information·about·another·file,·such·as
31 ····························an·archive·file·or·graphic·image,·specify·its·name27  ·_.H_.i_.s_.t_.o_.r_.y···················an·archive·file·or·graphic·image,·specify·its·name
32 ····························with·the·NAME·attribute·followed·by·the·type·of28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················with·the·NAME·attribute·followed·by·the·type·of
33 ····························information·to·be·displayed:29  ·_.B_.u_.g_.s······················information·to·be·displayed:
 30 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE
 31 ····························SIZE">
 32 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 33 ···························· · · · ·<FONT·SIZE=${size}>
34 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="bigfont">34 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
35 ···························· · ·<font·size="+4">35 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.M_.G·SRC=pics/${src}>
 36 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 37 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 38 ···························· · · · ·</FONT>
 39 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_.e_.f>40 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_.E_.F>
  
37 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="/bigfont">41 ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
38 ···························· · ·</font>42 ····························title">
39 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
  
40 ···························· ·<bigfont>Some·large·text</bigfont>43 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 44 ····························title">
  
 45 ···························· ·This·will·fail:
 46 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 47 ····························TITLE="Another·title">
  
 48 ···························· ·Instead,·use·*·like·this:
 49 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 50 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 51 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 52 ···························· · 
 53 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
41 ····························For·file·size·information,·the·value·BYTE,·KBYTE,54 ····························For·file·size·information,·the·value·BYTE,·KBYTE,
42 ····························etc.·dictates·how·the·information·is·displayed.·In55 ····························etc.·dictates·how·the·information·is·displayed.·In
43 ····························anything·other·than·byte·format,·the·information·is56 ····························anything·other·than·byte·format,·the·information·is
44 ····························displayed·in·floating-point·notation.·The·amount·of57 ····························displayed·in·floating-point·notation.·The·amount·of
45 ····························precision·(the·number·of·digits·to·the·right·of·the58 ····························precision·(the·number·of·digits·to·the·right·of·the
46 ····························decimal·point)·can·be·set·with·the·optional59 ····························decimal·point)·can·be·set·with·the·optional
47 ····························PRECISION·attribute.·The·default·precision·is·zero60 ····························PRECISION·attribute.·The·default·precision·is·zero
Offset 74, 19 lines modifiedOffset 89, 16 lines modified
74 ····························Additional·parameters·can·be·set·in·the·FILE89 ····························Additional·parameters·can·be·set·in·the·FILE
75 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that90 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that
76 ····························are·"passed"·to·the·included·file.·The·macros·are91 ····························are·"passed"·to·the·included·file.·The·macros·are
77 ····························available·only·to·the·include·file·(and·any·macros92 ····························available·only·to·the·include·file·(and·any·macros
78 ····························or·included·files·it·holds).·After·the·file·is93 ····························or·included·files·it·holds).·After·the·file·is
79 ····························completely·included,·the·macros·are·no·longer94 ····························completely·included,·the·macros·are·no·longer
80 ····························available.·So:95 ····························available.·So:
 96 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="imageurl"·[·path="path/in/
 97 ····························local/filesystem"·]>
81 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]> 
  
82 ····························ND]·[EXPAND]> 
83 ····························text·block 
84 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> 
  
85 ····························Macros·named·"name"·and·"email"·are·set,·and98 ····························Macros·named·"name"·and·"email"·are·set,·and
86 ····························available·inside·the·included·file.·They·are·not99 ····························available·inside·the·included·file.·They·are·not
87 ····························available,·however,·past·the·tag·(which·is·why·the100 ····························available,·however,·past·the·tag·(which·is·why·the
88 ····························second·statement·will·fail.)101 ····························second·statement·will·fail.)
89 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*102 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*
90 ····························A·template·file·is·nothing·more·than·a·default103 ····························A·template·file·is·nothing·more·than·a·default
12.1 KB
./usr/share/doc/htp/if.html
    
Offset 114, 33 lines modifiedOffset 114, 52 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;EM&gt;</span>File·"<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>&gt;</span>"·last·updated·<span·cla[·...·truncated·by·diffoscope;·len:·368,·SHA:·cf16eab7d3111286e5776e8c30394cdec2ecd69c87885069d63cd4536acf5ae5·...·]&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 122 <br>
122 </code></p>123 </code></p>
123 <h2>synopsis</h2>124 <h2>synopsis</h2>
124 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building125 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
125 blocks·for·conditional·processing.··The·basic·form·is·shown·above.126 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
126 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A127 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
127 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
128 string:129 string:
129 ··<p><code>130 ··<p><code>
130 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br> 
131 &nbsp;·...<br> 
132 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>&gt;</span><br>131 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib[·...·truncated·by·diffoscope;·len:·66,·SHA:·037f5de2512682208f0ece10703bb1852ef2e9d88ff644bf5b71ffa30be2a711·...·]>&gt;</span><br>
 132 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br>
 133 <br>
 134 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 135 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 136 &nbsp;·(no·URL·replacement).<br>
 137 <br>
 138 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br>
 139 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 140 <br>
 141 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br>
 142 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 143 &nbsp;·will·not·be·added.<br>
 144 <br>
 145 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 146 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br>
 147 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br>
 148 <br>
 149 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br>
 150 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 151 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 152 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
133 </code></p>153 </code></p>
134 <P>154 <P>
135 and·a·defined·operator·is·a·test·of·a·macro's·existance:155 and·a·defined·operator·is·a·test·of·a·macro's·existance:
136 <P>156 <P>
137 ··<p><code>157 ··<p><code>
 158 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>&gt;</span><br>
138 &nbsp;·&nbsp;·File·image.gif·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br> 
139 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br> 
140 </code></p>159 </code></p>
141 <P>160 <P>
142 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the161 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
143 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that162 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
144 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the163 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
145 ELSE·block·is·taken·if·it·is·present.··A·conditional·block164 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
146 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.165 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
5.61 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 65 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·············· · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated·<_\x8[ 
5  ·_\x8L_.i_.c_.e_.n_.s_.e···················_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·TIME>,·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·DATE></EM>4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="filename"·...>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················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_\x8s_\x8a_\x8g_\x8e·····················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
8  ·HTP·Tags··················blocks·for·conditional·processing.·The·basic·form8  ·HTP·Tags··················blocks·for·conditional·processing.·The·basic·form
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············is·shown·above.9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············is·shown·above.
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················"Conditional"·is·either·a·"compare"·or·"is·defined"10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················"Conditional"·is·either·a·"compare"·or·"is·defined"
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············operation.·A·compare·operator·is·a·test·of·the11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············operation.·A·compare·operator·is·a·test·of·the
12  · ···_\x8D_\x8E_\x8F···················value·of·a·macro·against·a·literal·string:12  · ···_\x8D_\x8E_\x8F···················value·of·a·macro·against·a·literal·string:
13  · ···_\x8F_\x8I_\x8L_\x8E··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz> 
14  ·[>]·_\x8I_\x8F···················· ·... 
15  · ···_\x8I_.N_.C···················<_.[_.[_.r_.e_.f_.]_.]_./_.i_.f>13  · ···_\x8F_.I_.L_.E·················· ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="http://my.domain.org/
 14  ·[>]·_\x8I_\x8F····················"·path="/var/www/my.domain/">
 15  · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/
 16  · ···_\x8I_\x8M_\x8G···················var/www/other.domain/">
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
 18  · ···_\x8O_\x8P_\x8T··················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·the·local·filename·"logo.gif"·will·be·used·to
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················determine·image·dimensions
 21  · ···_\x8S_\x8E_\x8T··················· ·(no·URL·replacement).
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················my.domain.org/logo.gif">
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·the·local·filename·"/var/www/my.domain/logo.gif"
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················will·be·used.
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
 29  ·_\x8B_\x8u_\x8g_\x8s······················other.domain.org/logo.gif">
 30 ···························· ·the·local·file·cannot·be·found·(no·prefix·match),
 31 ····························so·the·image·dimensions
 32 ···························· ·will·not·be·added.
  
 33 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes
 34 ····························precedence:
 35 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/">
 36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/
 37 ····························test/">
  
 38 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 39 ····························src="/test/image.gif"> are·mapped·to
 40 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/
 41 ····························image.gif,·resp.
 42 ···························· ·If·the·order·of·the·imageurl·lines·would·be
 43 ····························swapped,·the·second
 44 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/
 45 ····························image.gif.
16  · ···_.I_.M_.G···················and·a·defined·operator·is·a·test·of·a·macro's46 ····························and·a·defined·operator·is·a·test·of·a·macro's
 47 ····························existance:
 48 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1">
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············existance: 
18  · ···_\x8O_\x8P_\x8T··················· · ·File·image.gif·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················SIZE=KBYTE> kilobytes 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" 
21  · ···_\x8S_\x8E_\x8T···················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> 
22  · ···_.U_.N_.D_.E_.F·················If·the·NOT·tag·is·present·in·the·IF·markup,·the49 ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the
23  · ···_.U_.N_.S_.E_.T·················evaluation·of·the·conditional·is·reversed.·The50 ····························evaluation·of·the·conditional·is·reversed.·The
24  · ···_.U_.S_.E_.,_.·_.$················first·IF·or·ELSEIF·condition·that·evaluates·to·true51 ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true
25  · ···_.W_.H_.I_.L_.E·················is·chosen.·If·none·of·the·conditions·is·true·the52 ····························is·chosen.·If·none·of·the·conditions·is·true·the
26  · ···_.<_.!_.-_.-_.-·················ELSE·block·is·taken·if·it·is·present.·A·conditional53 ····························ELSE·block·is·taken·if·it·is·present.·A·conditional
27  ·_.H_.i_.s_.t_.o_.r_.y···················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can54 ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················be·nested. 
29  ·_.B_.u_.g_.s55 ····························be·nested.
  
  
  
  
  
  
  
  
10.6 KB
./usr/share/doc/htp/imageurl.html
    
Offset 114, 16 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&nbsp;·File·image.gif·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br> 
122 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attr[·...·truncated·by·diffoscope;·len:·264,·SHA:·0f48064ad5e66c601138b685832d2369e4f68b45834527e8f112f476e8e30e4a·...·]</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="ht[·...·truncated·by·diffoscope;·len:·101,·SHA:·81a8210952243a1b74d3e50a9954c5fbe4510401b508765113442da17abc1c90·...·]</span>&gt;</span><br>
 122 <br>
123 </code></p>123 </code></p>
124 <h2>synopsis</h2>124 <h2>synopsis</h2>
125 <P>125 <P>
126 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local126 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local
127 file·system.··declares·an·URL·replacement·that·is·used·for127 file·system.··declares·an·URL·replacement·that·is·used·for
128 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions128 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions
129 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is129 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is
Offset 137, 27 lines modifiedOffset 137, 15 lines modified
137 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC137 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC
138 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.138 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.
139 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and139 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
140 looked·up·in·the·current·directory.</P>140 looked·up·in·the·current·directory.</P>
141 <P>141 <P>
142 For·example:</P>142 For·example:</P>
143 ··<p><code>143 ··<p><code>
 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">name</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
144 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>&gt;</span><br> 
145 &nbsp;·&nbsp;<span·class="htp-tag">&lt;table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>&gt;</span><br> 
146 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br> 
147 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br> 
148 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br> 
149 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br> 
150 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br> 
151 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br> 
152 &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> 
153 <br> 
154 &nbsp;paragraph<br> 
155 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br> 
156 &nbsp;paragraph<br> 
157 </code></p>145 </code></p>
158 <P>146 <P>
159 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as147 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
160 an·undefine,·and·is·removed.</P>148 an·undefine,·and·is·removed.</P>
161 <P>149 <P>
162 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout150 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
163 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an151 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
5.97 KB
html2text {}
    
Offset 1, 53 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\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\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\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\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·············· · ·File·image.gif·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif"4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="imageurl"·[·path="path/in/
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················SIZE=KBYTE> kilobytes5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················local/filesystem"·]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> 
8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
9  · ···_.A_.L_.T_.T_.E_.X_.T···············I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the8  ·HTP·Tags··················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the
10  · ···_\x8B_.L_.O_.C_.K·················local·file·system.·declares·an·URL·replacement·that9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············local·file·system.·declares·an·URL·replacement·that
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This
12  · ···_\x8D_.E_.F···················definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option
13  · ···_\x8F_.I_.L_.E··················is·enabled.·Beacause·htp·can't·lookup·files·in·the12  · ···_\x8D_.E_.F···················is·enabled.·Beacause·htp·can't·lookup·files·in·the
14  · ···_\x8I_.F····················world·wide·web·you·have·to·map·absolute·image·URLs13  · ···_\x8F_.I_.L_.E··················world·wide·web·you·have·to·map·absolute·image·URLs
15  · ···_\x8I_\x8N_.C···················to·a·directory·in·the·local·file·system.14  · ···_\x8I_\x8F····················to·a·directory·in·the·local·file·system.
16  · ···_\x8I_\x8M_.G···················When·an·IMG·tag·is·encountered·where·htp·has·to15  · ···_\x8I_\x8N_.C···················When·an·IMG·tag·is·encountered·where·htp·has·to
17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············insert·width·and·height·the·defined·URL16  · ···_.I_.M_.G···················insert·width·and·height·the·defined·URL
18  · ···_.O_.P_.T···················replacements·will·be·taken·into·account·(later17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············replacements·will·be·taken·into·account·(later
19  · ···_\x8O_\x8U_.T_.P_.U_.T················definitions·take·precedence·to·earlier):·For·each18  · ···_\x8O_\x8P_.T···················definitions·take·precedence·to·earlier):·For·each
20  · ···_\x8Q_.U_.O_.T_.E·················defined·imageurl·it·checks·(case-insensitive)·if·it19  · ···_\x8O_.U_.T_.P_.U_.T················defined·imageurl·it·checks·(case-insensitive)·if·it
21  · ···_\x8S_.E_.T···················is·a·prefix·of·the·image's·SRC·attribute.·If·it20  · ···_\x8Q_.U_.O_.T_.E·················is·a·prefix·of·the·image's·SRC·attribute.·If·it
22  · ···_\x8U_.N_.D_.E_.F·················matches·this·prefix·is·replaced·by·the·given·PATH.21  · ···_\x8S_.E_.T···················matches·this·prefix·is·replaced·by·the·given·PATH.
23  · ···_\x8U_\x8N_\x8S_.E_.T·················If·no·IMAGEURL·matches·the·SRC·is·considered·as22  · ···_\x8U_\x8N_\x8D_.E_.F·················If·no·IMAGEURL·matches·the·SRC·is·considered·as
24  · ···_\x8U_\x8S_.E_.,_.·_.$················relative·link·and·looked·up·in·the·current23  · ···_\x8U_\x8N_.S_.E_.T·················relative·link·and·looked·up·in·the·current
25  · ···_\x8W_.H_.I_.L_.E·················directory.24  · ···_\x8U_.S_.E_.,_.·_.$················directory.
26  · ···_\x8<_.!_.-_.-_.-·················For·example:25  · ···_\x8W_.H_.I_.L_.E·················For·example:
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="imghr"> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · <table·border="0"·cellspacing="0" 
29  ·_\x8B_\x8u_\x8g_\x8s······················cellpadding="0"> 
30 ···························· · <tr> 
31 ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ 
32 ····························td> 
33 ···························· · ·<td·width="95%" 
34 ····························background="midsep.png">&nbsp;</td> 
35 ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ 
36 ····························td> 
37 ···························· · </tr> 
38 ···························· · </table> 
39 ···························· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
  
40 ···························· paragraph 
41 ···························· <imghr> 
42 ···························· paragraph 
43 ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH27  ·_.H_.i_.s_.t_.o_.r_.y···················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH
44 ····························attribute,·it·is·treated·as·an·undefine,·and·is28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················attribute,·it·is·treated·as·an·undefine,·and·is
45 ····························removed.29  ·_.B_.u_.g_.s······················removed.
46 ····························Since·you·usually·need·the·url·mapping·for·a·number30 ····························Since·you·usually·need·the·url·mapping·for·a·number
47 ····························of·images·used·throughout·a·set·of·documents,31 ····························of·images·used·throughout·a·set·of·documents,
48 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e32 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
49 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.33 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.
50 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also34 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also
51 ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to35 ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to
52 ····························_\x8I_\x8M_\x8G·tags.36 ····························_\x8I_\x8M_\x8G·tags.
6.12 KB
./usr/share/doc/htp/img.html
    
Offset 114, 15 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·a[·...·truncated·by·diffoscope;·len:·40,·SHA:·91715cc4a14a5836e6c002bd6e407505906d69d88ce5dd6ef6679c38394cb273·...·]>&gt;</span><br>121 &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"</spa[·...·truncated·by·diffoscope;·len:·89,·SHA:·6e9688a5d5e0aa6f5dc5e2257138cbb4a329e6cce13a529637101b9ed8114922·...·]>&gt;</span><br>
 122 &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>
122 </code></p>123 </code></p>
123 <h2>synopsis</h2>124 <h2>synopsis</h2>
124 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified125 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified
125 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage126 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage
126 of·not·having·to·determine·each·image's·size·manually,·which·is·especially127 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
127 useful·if·the·image·may·change·frequently.·</P>128 useful·if·the·image·may·change·frequently.·</P>
128 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup129 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup
4.56 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 38 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\x8IM\x8MG\x8G·*\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\x8IM\x8MG\x8G·*\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_.F·name="Jim">...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_.I_.L_.E·INCLUDE="include.hti"·name="Jim
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················Nelson"·email="jnelson@crl.com">
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name>
5  ·_\x8L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*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*
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the8  ·HTP·Tags··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the
7  ·_.U_.s_.a_.g_.e·····················specified·image's·width·and·height·to·the·tag9  · ···_.A_.L_.T_.T_.E_.X_.T···············specified·image's·width·and·height·to·the·tag
8  ·HTP·Tags··················automatically.·This·has·the·advantage·of·not·having10  · ···_.B_.L_.O_.C_.K·················automatically.·This·has·the·advantage·of·not·having
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············to·determine·each·image's·size·manually,·which·is11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············to·determine·each·image's·size·manually,·which·is
10  · ···_\x8B_.L_.O_.C_.K·················especially·useful·if·the·image·may·change12  · ···_\x8D_.E_.F···················especially·useful·if·the·image·may·change
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············frequently.13  · ···_\x8F_.I_.L_.E··················frequently.
12  · ···_\x8D_.E_.F···················htp·adds·this·information·with·the·WIDTH·and·HEIGHT14  · ···_\x8I_.F····················htp·adds·this·information·with·the·WIDTH·and·HEIGHT
13  · ···_\x8F_.I_.L_.E··················markup·attributes.·If·htp·detects·these·attributes15  · ···_\x8I_.N_.C···················markup·attributes.·If·htp·detects·these·attributes
14  · ···_.I_.F····················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify16  ·[>]·_.I_.M_.G···················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify
15  · ···_\x8I_\x8N_.C···················the·values.·If·htp·cannot·find·the·image·file,·it17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············the·values.·If·htp·cannot·find·the·image·file,·it
16  ·[>]·_.I_.M_.G···················will·issue·a·warning·but·not·halt·processing.18  · ···_.O_.P_.T···················will·issue·a·warning·but·not·halt·processing.
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············At·this·time,·GIF·(Graphic·Interchange·Format),·PNG19  · ···_\x8O_.U_.T_.P_.U_.T················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG
18  · ···_\x8O_.P_.T···················(Portable·Network·Graphics),·and·JFIF·(JPEG·File20  · ···_\x8Q_.U_.O_.T_.E·················(Portable·Network·Graphics),·and·JFIF·(JPEG·File
19  · ···_\x8O_.U_.T_.P_.U_.T················Interchange·Format)·are·supported.21  · ···_\x8S_.E_.T···················Interchange·Format)·are·supported.
20  · ···_\x8Q_.U_.O_.T_.E·················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or22  · ···_\x8U_.N_.D_.E_.F·················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or
21  · ···_\x8S_.E_.T···················not·htp·actually·adds·this·information·as·it23  · ···_\x8U_.N_.S_.E_.T·················not·htp·actually·adds·this·information·as·it
22  · ···_\x8U_\x8N_.D_.E_.F·················executes.24  · ···_\x8U_\x8S_.E_.,_.·_.$················executes.
23  · ···_\x8U_.N_.S_.E_.T·················Since·htp·is·able·to·lookup·files·only·in·the·local25  · ···_\x8W_.H_.I_.L_.E·················Since·htp·is·able·to·lookup·files·only·in·the·local
24  · ···_\x8U_.S_.E_.,_.·_.$················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map26  · ···_\x8<_.!_.-_.-_.-·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map
25  · ···_.W_.H_.I_.L_.E·················URLs·to·local·files.27  ·_.H_.i_.s_.t_.o_.r_.y···················URLs·to·local·files.
26  · ···_.<_.!_.-_.-_.-·················htp·can·also·add·default·ALT·text·to·IMG·tags·using28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················htp·can·also·add·default·ALT·text·to·IMG·tags·using
27  ·_\x8H_.i_.s_.t_.o_.r_.y···················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T.29  ·_\x8B_.u_.g_.s······················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T.
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_\x8B_\x8u_\x8g_\x8s 
  
  
  
  
  
  
  
  
7.44 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 34 lines modifiedOffset 114, 30 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
121 &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> 
122 &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> 
123 </code></p>122 </code></p>
124 <h2>synopsis</h2>123 <h2>synopsis</h2>
125 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a124 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
126 variable·or·for·variable·addition.··The·basic·form·is·shown·above.125 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
127 <P>126 <P>
128 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a127 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
129 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The128 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
130 macroname·must·be·the·name·of·a·defined·macro·that·contains·an129 macroname·must·be·the·name·of·a·defined·macro·that·contains·an
131 integer.··If·the·increment·is·ommitted·it·defaults·to·1.130 integer.··If·the·increment·is·ommitted·it·defaults·to·1.
132 The·effect·of·this·operation·is·that·the·macro·is·redefined131 The·effect·of·this·operation·is·that·the·macro·is·redefined
133 to·contain·the·sum·of·its·previous·value·and·its·increment.132 to·contain·the·sum·of·its·previous·value·and·its·increment.
134 <P>133 <P>
135 To·increment·or·decrement·a·variable·you·can·use·this·form:134 To·increment·or·decrement·a·variable·you·can·use·this·form:
136 ··<p><code>135 ··<p><code>
 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>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>&gt;</span><br>
137 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>&gt;</span><br> 
138 text·block<br> 
139 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br> 
140 <br> 
141 </code></p>137 </code></p>
142 <p>138 <p>
143 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It139 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It
144 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer140 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer
145 values·are·limited·to·the·range·-2^31..2^31.141 values·are·limited·to·the·range·-2^31..2^31.
146 <P>142 <P>
147 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.143 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.
4.62 KB
html2text {}
    
Offset 1, 42 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\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]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················Nelson"·email="jnelson@crl.com"> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> 
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*5  ·_\x8L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a
9  · ···_.A_.L_.T_.T_.E_.X_.T···············variable·or·for·variable·addition.·The·basic·form7  ·_.U_.s_.a_.g_.e·····················variable·or·for·variable·addition.·The·basic·form
10  · ···_.B_.L_.O_.C_.K·················is·shown·above.8  ·HTP·Tags··················is·shown·above.
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············The·"increment"·is·anything·that·evaluates·to·a9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············The·"increment"·is·anything·that·evaluates·to·a
12  · ···_\x8D_.E_.F···················integer.·It·can·be·a·literal·string·or·a·macro10  · ···_\x8B_.L_.O_.C_.K·················integer.·It·can·be·a·literal·string·or·a·macro
13  · ···_\x8F_.I_.L_.E··················preceeded·by·the·'$'-operator.·The·macroname·must11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············preceeded·by·the·'$'-operator.·The·macroname·must
14  · ···_\x8I_.F····················be·the·name·of·a·defined·macro·that·contains·an12  · ···_\x8D_.E_.F···················be·the·name·of·a·defined·macro·that·contains·an
15  ·[>]·_.I_.N_.C···················integer.·If·the·increment·is·ommitted·it·defaults13  · ···_.F_.I_.L_.E··················integer.·If·the·increment·is·ommitted·it·defaults
16  · ···_\x8I_\x8M_.G···················to·1.·The·effect·of·this·operation·is·that·the14  · ···_\x8I_\x8F····················to·1.·The·effect·of·this·operation·is·that·the
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············macro·is·redefined·to·contain·the·sum·of·its15  ·[>]·_.I_.N_.C···················macro·is·redefined·to·contain·the·sum·of·its
18  · ···_\x8O_.P_.T···················previous·value·and·its·increment.16  · ···_\x8I_.M_.G···················previous·value·and·its·increment.
19  · ···_\x8O_.U_.T_.P_.U_.T················To·increment·or·decrement·a·variable·you·can·use17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············To·increment·or·decrement·a·variable·you·can·use
20  · ···_\x8Q_.U_.O_.T_.E·················this·form:18  · ···_\x8O_.P_.T···················this·form:
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1">
21  · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················[EXPAND]> 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················text·block 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E 
26  · ···_\x8<_.!_.-_.-_.-·················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
27  ·_.H_.i_.s_.t_.o_.r_.y···················denote·integers.·It·may·give·weired·results·when21  · ···_.S_.E_.T···················denote·integers.·It·may·give·weired·results·when
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················used·on·arbitrary·strings.·The·integer·values·are22  · ···_.U_.N_.D_.E_.F·················used·on·arbitrary·strings.·The·integer·values·are
29  ·_.B_.u_.g_.s······················limited·to·the·range·-2^31..2^31.23  · ···_.U_.N_.S_.E_.T·················limited·to·the·range·-2^31..2^31.
30 ····························Note·further·that·htp·wasn't·designed·to·do24  · ···_.U_.S_.E_.,_.·_.$················Note·further·that·htp·wasn't·designed·to·do
31 ····························extensive·calculations.·The·INC·tag·is·useful·in25  · ···_.W_.H_.I_.L_.E·················extensive·calculations.·The·INC·tag·is·useful·in
32 ····························conjunction·with·WHILE·to·iterate·over·the·defined26  · ···_.<_.!_.-_.-_.-·················conjunction·with·WHILE·to·iterate·over·the·defined
33 ····························blocks. 
  
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················blocks.
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
15.8 KB
./usr/share/doc/htp/metatag.html
    
Offset 88, 16 lines modifiedOffset 88, 22 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="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"macroval[·...·truncated·by·diffoscope;·len:·82,·SHA:·1b0de2f0af3ff6dcb00160502803f9fbb9631406e3429d962274c013d3930638·...·]</span>&gt;</span><br>95 <font·size="-2">&nbsp;1.·</font><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">(IMGXY|NOIMGXY)</span>&gt;</span><br>
 96 <font·size="-2">&nbsp;2.·</font><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">(QUIET|VERBOSE)</span>&gt;</span><br>
 97 <font·size="-2">&nbsp;3.·</font><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">(DEPEND|NODEPEND)</span>&gt;</span><br>
 98 <font·size="-2">&nbsp;4.·</font><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">(PRECIOUS|NOPRECIOUS)</span>&gt;</span><br>
 99 <font·size="-2">&nbsp;5.·</font><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">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>&gt;</span><br>
 100 <font·size="-2">&nbsp;6.·</font><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="htp-value">(HTML|SQUARE|CURLY)</span>&gt;</span><br>
 101 <font·size="-2">&nbsp;7.·</font><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">(XML|XML</span>=<span·class="htp-value">FALSE)</span>&gt;</span><br>
96 <font·size="-2">&nbsp;2.·</font><br>102 <font·size="-2">&nbsp;8.·</font><br>
97 </code></p>103 </code></p>
98 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.104 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.
99 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.105 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.
100 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and106 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and
101 <code>/def</code></a>·tags.··You·don't·have·to·understand·this107 <code>/def</code></a>·tags.··You·don't·have·to·understand·this
102 html·code,·but·you·should·understand·that·this·is·just·pure·html·to108 html·code,·but·you·should·understand·that·this·is·just·pure·html·to
103 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>109 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>
Offset 107, 26 lines modifiedOffset 113, 26 lines modified
107 file</a>.··</p>113 file</a>.··</p>
108 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing114 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing
109 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp115 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp
110 encounters·a·blockdef·tag·it·will·automatically·search·for·the116 encounters·a·blockdef·tag·it·will·automatically·search·for·the
111 matching·closing·tag·and·put·everything·between·these·tags·in·a·block117 matching·closing·tag·and·put·everything·between·these·tags·in·a·block
112 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>118 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>
113 ··<p><code>119 ··<p><code>
114 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login[·...·truncated·by·diffoscope;·len:·5,·SHA:·61fc96d712bbcceb17bfe2debd9aa89feb1da54d2983a69b5a1cf78e114e2b12·...·]</span>&gt;</span><br>120 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>[·...·truncated·by·diffoscope;·len:·117,·SHA:·27e4f3684e92be27f5222155df1a3c3432e8ef881a5250721d08d15f00db7845·...·]</span>&gt;</span><br>
 121 <font·size="-2">&nbsp;2.·</font><br>
115 </code></p>122 </code></p>
116 <h2>Using·parameters</h2>123 <h2>Using·parameters</h2>
117 <p>·More·sophisticated·tags·accept·parameters.··The124 <p>·More·sophisticated·tags·accept·parameters.··The
118 <code>option</code>·parameter·lets·multiple·metatag·parameters·be125 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
119 named·and·expanded·inside·the·<code>def</code>·or126 named·and·expanded·inside·the·<code>def</code>·or
120 <code>blockdef</code>·block:·</p>127 <code>blockdef</code>·block:·</p>
121 ··<p><code>128 ··<p><code>
122 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>129 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br>
 130 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
123 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>131 <font·size="-2">&nbsp;3.·</font><br>
124 <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> 
125 <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> 
126 </code></p>132 </code></p>
127 <h2>Saving·blocks·for·later</h2>133 <h2>Saving·blocks·for·later</h2>
128 <p>When·you·are·using·templates,·the·html·should·only·be·written·by134 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
129 the·template·file.··The·normal·htp·files·should·just·define·macros135 the·template·file.··The·normal·htp·files·should·just·define·macros
130 that·are·used·later·in·the·template.··So·you·may·want·to·write·block136 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
131 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this137 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
132 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to138 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
Offset 161, 21 lines modifiedOffset 167, 18 lines modified
161 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be167 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be
162 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the168 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the
163 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you169 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
164 use·expand·in·a·block·around·it.</p>170 use·expand·in·a·block·around·it.</p>
165 <p>To·close·this·example·we·show·how·to·expand·the171 <p>To·close·this·example·we·show·how·to·expand·the
166 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>172 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>
167 ··<p><code>173 ··<p><code>
 174 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[noexpand]</span>&gt;</span><br>
 175 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 176 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 177 <font·size="-2">&nbsp;4.·</font><br>
168 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br> 
169 <font·size="-2">&nbsp;2.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br> 
170 <font·size="-2">&nbsp;3.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
171 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
172 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br> 
173 <font·size="-2">&nbsp;6.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br> 
174 <font·size="-2">&nbsp;7.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br> 
175 </code></p>178 </code></p>
176 <p>179 <p>
177 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether180 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether
178 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is181 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is
179 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards182 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards
180 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This183 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This
181 repeats·until·sect-${sect-ctr}·is·not·defined.184 repeats·until·sect-${sect-ctr}·is·not·defined.
6.29 KB
html2text {}
    
Offset 9, 17 lines modifiedOffset 9, 22 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]_\x8S_.E_.T·macroname1="macrovalue1"16  ·_\x8B_\x8u_\x8g_\x8s······················ 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_.P_.T·(IMGXY|NOIMGXY)>
17 ····························[macroname2="macrovalue2"·...]·[GLOBAL]>17 ···························· 2.·<_.[_.[_.r_.e_.f_.]_.]_.O_.P_.T·(QUIET|VERBOSE)>
 18 ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)>
 19 ···························· 4.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)>
 20 ···························· 5.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)>
 21 ···························· 6.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)>
 22 ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)>
18 ···························· 2.23 ···························· 8.
19 ····························In·line·1·of·the·above·example·a·new·tag·named24 ····························In·line·1·of·the·above·example·a·new·tag·named
20 ····························imghr·is·defined.·The·html·code·which·implements25 ····························imghr·is·defined.·The·html·code·which·implements
21 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[26 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[
22 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to27 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to
23 ····························understand·this·html·code,·but·you·should28 ····························understand·this·html·code,·but·you·should
24 ····························understand·that·this·is·just·pure·html·to·draw·the29 ····························understand·that·this·is·just·pure·html·to·draw·the
25 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line30 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line
Offset 30, 25 lines modifiedOffset 35, 25 lines modified
30 ····························Often·you·want·to·define·tags·that·have·an·opening35 ····························Often·you·want·to·define·tags·that·have·an·opening
31 ····························and·a·closing·variant.·For·this·purpose·you·should36 ····························and·a·closing·variant.·For·this·purpose·you·should
32 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a37 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a
33 ····························blockdef·tag·it·will·automatically·search·for·the38 ····························blockdef·tag·it·will·automatically·search·for·the
34 ····························matching·closing·tag·and·put·everything·between39 ····························matching·closing·tag·and·put·everything·between
35 ····························these·tags·in·a·block·macro·named·block.·Here·is·an40 ····························these·tags·in·a·block·macro·named·block.·Here·is·an
36 ····························example·for·this.41 ····························example·for·this.
37 ···························· 1.· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr·home_url42 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·macroname1="macrovalue1"
 43 ····························[macroname2="macrovalue2"·...]·[GLOBAL]>
38 ····························login_name>44 ···························· 2.
39 ····························*\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*45 ····························*\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*
40 ····························More·sophisticated·tags·accept·parameters.·The46 ····························More·sophisticated·tags·accept·parameters.·The
41 ····························option·parameter·lets·multiple·metatag·parameters47 ····························option·parameter·lets·multiple·metatag·parameters
42 ····························be·named·and·expanded·inside·the·def·or·blockdef48 ····························be·named·and·expanded·inside·the·def·or·blockdef
43 ····························block:49 ····························block:
44 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>50 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.U_.N_.D_.E_.F·tagname>
 51 ···························· 2.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·>
45 ···························· 2.· · ·...52 ···························· 3.
46 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
47 ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
48 ····························*\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*53 ····························*\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*
49 ····························When·you·are·using·templates,·the·html·should·only54 ····························When·you·are·using·templates,·the·html·should·only
50 ····························be·written·by·the·template·file.·The·normal·htp55 ····························be·written·by·the·template·file.·The·normal·htp
51 ····························files·should·just·define·macros·that·are·used·later56 ····························files·should·just·define·macros·that·are·used·later
52 ····························in·the·template.·So·you·may·want·to·write·block57 ····························in·the·template.·So·you·may·want·to·write·block
53 ····························tags·that·just·save·the·block·in·a·macro·for·later58 ····························tags·that·just·save·the·block·in·a·macro·for·later
54 ····························use.·Although·this·is·possible·with·htp·it·is·quite59 ····························use.·Although·this·is·possible·with·htp·it·is·quite
Offset 87, 21 lines modifiedOffset 92, 19 lines modified
87 ····························block·to·be·expanded·twice.·If·you·omit·it,·it92 ····························block·to·be·expanded·twice.·If·you·omit·it,·it
88 ····························would·be·expanded·when·defining·the·sect-1·macro93 ····························would·be·expanded·when·defining·the·sect-1·macro
89 ····························and·when·using·it·later·in·the·template.·Generally94 ····························and·when·using·it·later·in·the·template.·Generally
90 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use95 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use
91 ····························expand·in·a·block·around·it.96 ····························expand·in·a·block·around·it.
92 ····························To·close·this·example·we·show·how·to·expand·the97 ····························To·close·this·example·we·show·how·to·expand·the
93 ····························sect-${sect-ctr}·blocks·in·the·template:98 ····························sect-${sect-ctr}·blocks·in·the·template:
94 ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_.i_.l_.e·include="header.hti">99 ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.s_.e·macroname·[parameters·...]
 100 ····························[noexpand]>
 101 ···························· 2.·<...·$macroname·...>
 102 ···························· 3.·<...·${macroname}·...>
 103 ···························· 4.
95 ···························· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> 
96 ···························· 3.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> 
97 ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> 
98 ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> 
99 ···························· 6.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> 
100 ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> 
101 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the104 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the
102 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined105 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined
103 ····························the·body·is·evaluated,·which·expands·the·macro·and106 ····························the·body·is·evaluated,·which·expands·the·macro·and
104 ····························increases·sect-ctr.·Afterwards·the·while·condition107 ····························increases·sect-ctr.·Afterwards·the·while·condition
105 ····························is·checked·again·to·check·for·sect-2·macro.·This108 ····························is·checked·again·to·check·for·sect-2·macro.·This
106 ····························repeats·until·sect-${sect-ctr}·is·not·defined.109 ····························repeats·until·sect-${sect-ctr}·is·not·defined.
107 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*110 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*
4.96 KB
./usr/share/doc/htp/opt.html
    
Offset 114, 16 lines modifiedOffset 114, 21 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="ebnf">[</span><span·class="htp[·...·truncated·by·diffoscope;·len:·221,·SHA:·1fead26e17c74f42cdbb1e4e04a98308d5e539231d956b8e4c2e7c99811520ee·...·]</span>&gt;</span><br>121 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br>
 123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br>
 124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br>
 125 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
122 <br>126 <br>
 127 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br>
123 </code></p>128 </code></p>
124 <h2>synopsis</h2>129 <h2>synopsis</h2>
125 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing130 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing
126 options·inside·the·actual·document·being·processed.··The·options·are131 options·inside·the·actual·document·being·processed.··The·options·are
127 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not132 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not
128 preceded·by·a·&lsquo;-&rsquo;·character.133 preceded·by·a·&lsquo;-&rsquo;·character.
129 <P>134 <P>
3.04 KB
html2text {}
    
Offset 1, 25 lines modifiedOffset 1, 25 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··············<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·macroname1="macrovalue1"4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="bolditalic">
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="macrovalue2"·...]·[GLOBAL]> 
6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l5  ·_\x8L_.i_.c_.e_.n_.s_.e··················· · ·<b><i>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·</i></b>
 8  ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·This·is·<bolditalic>bold·and·italic</bolditalic>
7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify12  · ···_.D_.E_.F···················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············processing·options·inside·the·actual·document·being13  · ···_\x8F_.I_.L_.E··················processing·options·inside·the·actual·document·being
10  · ···_\x8B_.L_.O_.C_.K·················processed.·The·options·are·used·exactly·as·they14  · ···_\x8I_.F····················processed.·The·options·are·used·exactly·as·they
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············would·be·on·the·command-line,·although·they·are·not15  · ···_\x8I_.N_.C···················would·be·on·the·command-line,·although·they·are·not
12  · ···_\x8D_.E_.F···················preceded·by·a·‘-’·character.16  · ···_\x8I_.M_.G···················preceded·by·a·‘-’·character.
13  · ···_\x8F_.I_.L_.E··················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_\x8g17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············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
14  · ···_.I_.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.18  ·[>]·_.O_.P_.T···················_\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.
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_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
Offset 28, 14 lines modifiedOffset 28, 18 lines modified
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]
4.42 KB
./usr/share/doc/htp/output.html
    
Offset 114, 16 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="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>
121 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
123 <br>122 <br>
124 </code></p>123 </code></p>
125 <h2>synopsis</h2>124 <h2>synopsis</h2>
126 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary125 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary
127 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the126 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the
128 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>127 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
129 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you128 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
3.08 KB
html2text {}
    
Offset 1, 25 lines modifiedOffset 1, 25 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\x8OU\x8UT\x8TP\x8PU\x8UT\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\x8OU\x8UT\x8TP\x8PU\x8UT\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]_\x8U_.N_.D_.E_.F·tagname>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·> 
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*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*
8  ·HTP·Tags··················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary7  ·_.U_.s_.a_.g_.e·····················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary
9  · ···_.A_.L_.T_.T_.E_.X_.T···············files·besides·the·main·HTML·file.·The·text·between8  ·HTP·Tags··················files·besides·the·main·HTML·file.·The·text·between
10  · ···_\x8B_.L_.O_.C_.K·················this·tag·and·the·corresponding·</OUTPUT>·tag·is9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············this·tag·and·the·corresponding·</OUTPUT>·tag·is
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············written·to·output·file.10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················written·to·output·file.
12  · ···_\x8D_.E_.F···················Normally·the·outputfile·is·cleared·before·writing11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············Normally·the·outputfile·is·cleared·before·writing
13  · ···_\x8F_.I_.L_.E··················to·it,·but·you·can·use·the·APPEND·attribute·to12  · ···_\x8D_.E_.F···················to·it,·but·you·can·use·the·APPEND·attribute·to
14  · ···_\x8I_.F····················extend·an·existing·file.·The·text·written·to·the13  · ···_\x8F_.I_.L_.E··················extend·an·existing·file.·The·text·written·to·the
15  · ···_\x8I_\x8N_.C···················file·is·normally·not·expanded,·i.e.·all·tags·inside14  · ···_\x8I_\x8F····················file·is·normally·not·expanded,·i.e.·all·tags·inside
16  · ···_\x8I_\x8M_.G···················this·block·are·not·executed·but·written·unmodified15  · ···_\x8I_\x8N_.C···················this·block·are·not·executed·but·written·unmodified
17  · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D16  · ···_\x8I_\x8M_\x8G···················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D
18  · ···_\x8O_.P_.T···················attribute·to·override·this·behaviour.17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············attribute·to·override·this·behaviour.
 18  · ···_\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
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
Offset 30, 15 lines modifiedOffset 30, 14 lines modified
  
  
  
  
  
  
  
  
  
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
8.58 KB
./usr/share/doc/htp/set.html
    
Offset 114, 27 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 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br> 
123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br>
 122 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br> 
125 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
126 <br>123 <br>
127 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br> 
128 </code></p>124 </code></p>
129 <h2>synopsis</h2>125 <h2>synopsis</h2>
130 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded126 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
131 anywhere·in·the·HTML·document.··To·create·a·macro:127 anywhere·in·the·HTML·document.··To·create·a·macro:
132 ··<p><code>128 ··<p><code>
 129 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br>
 130 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 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">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 132 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
133 &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>133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
 134 &nbsp;·<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 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>
134 </code></p>136 </code></p>
135 <P>137 <P>
136 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">138 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">
137 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular139 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular
138 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the140 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
139 <A·HREF="use.html">'$'</A>·operator.141 <A·HREF="use.html">'$'</A>·operator.
140 <P>142 <P>
4.91 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 38 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·············· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="bolditalic">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.U_.N_.D_.E_.F·tagname>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<b><i> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·</i></b> 
8  ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·This·is·<bolditalic>bold·and·italic</bolditalic> 
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
12  · ···_.D_.E_.F···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be8  ·HTP·Tags··················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be
13  · ···_\x8F_.I_.L_.E··················expanded·anywhere·in·the·HTML·document.·To·create·a9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············expanded·anywhere·in·the·HTML·document.·To·create·a
14  · ···_\x8I_.F····················macro:10  · ···_\x8B_.L_.O_.C_.K·················macro:
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti">
 12  · ···_\x8D_\x8E_\x8F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1">
 13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}>
 14  · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}>
15  · ···_\x8I_\x8N_\x8C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.n_.s_.e_.t·email_addr>15  · ···_\x8I_\x8N_\x8C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.n_.c·sect-ctr>
 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]_\x8f_\x8i_\x8l_\x8e·include="footer.hti">
16  · ···_\x8I_.M_.G···················The·macro·"emailaddr"·can·then·be·expanded·later.18  · ···_\x8O_.P_.T···················The·macro·"emailaddr"·can·then·be·expanded·later.
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a19  · ···_\x8O_.U_.T_.P_.U_.T················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a
18  · ···_\x8O_.P_.T···················tag·(i.e.,·into·the·regular·text).·If·the·macro20  · ···_\x8Q_.U_.O_.T_.E·················tag·(i.e.,·into·the·regular·text).·If·the·macro
19  · ···_.O_.U_.T_.P_.U_.T················needs·to·be·expanded·inside·a·markup·tag,·use·the21  ·[>]·_.S_.E_.T···················needs·to·be·expanded·inside·a·markup·tag,·use·the
20  · ···_\x8Q_.U_.O_.T_.E·················_\x8'_\x8$_\x8'·operator.22  · ···_\x8U_.N_.D_.E_.F·················_\x8'_\x8$_\x8'·operator.
21  ·[>]·_.S_.E_.T···················Multiple·macros·can·be·declared·in·a·single·markup23  · ···_.U_.N_.S_.E_.T·················Multiple·macros·can·be·declared·in·a·single·markup
22  · ···_\x8U_\x8N_.D_.E_.F·················tag,·as·the·second·syntax·line·shows.24  · ···_\x8U_\x8S_.E_.,_.·_.$················tag,·as·the·second·syntax·line·shows.
23  · ···_\x8U_.N_.S_.E_.T·················SET·should·only·be·used·for·a·single·line's·worth25  · ···_\x8W_.H_.I_.L_.E·················SET·should·only·be·used·for·a·single·line's·worth
24  · ···_\x8U_.S_.E_.,_.·_.$················of·text.·Multi-line·macros·can·be·defined·with·the26  · ···_\x8<_.!_.-_.-_.-·················of·text.·Multi-line·macros·can·be·defined·with·the
25  · ···_.W_.H_.I_.L_.E·················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the27  ·_.H_.i_.s_.t_.o_.r_.y···················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the
26  · ···_.<_.!_.-_.-_.-·················macro·contains·a·quotation·character·and·you·don't28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················macro·contains·a·quotation·character·and·you·don't
27  ·_\x8H_.i_.s_.t_.o_.r_.y···················want·to·fool·around·with·special·escape·characters.29  ·_\x8B_.u_.g_.s······················want·to·fool·around·with·special·escape·characters.
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Macros·can·be·redefined·by·using·another·SET30 ····························Macros·can·be·redefined·by·using·another·SET
29  ·_.B_.u_.g_.s······················command·with·the·same·macro·name.·The·prior31 ····························command·with·the·same·macro·name.·The·prior
30 ····························definition·will·be·destroyed,·however.·Also,·the32 ····························definition·will·be·destroyed,·however.·Also,·the
31 ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T33 ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T
32 ····························tag.34 ····························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·Thu·Mar·27,·202523 ··last·updated·Wed·Apr·29,·2026
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·Thu·Mar·27,·20258 last·updated·Wed·Apr·29,·2026
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·Thu·Mar·27,·202512 last·updated·Wed·Apr·29,·2026
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·Thu·Mar·27,·20253 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·Apr·29,·2026
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·Thu·Mar·27,·202520 ··last·updated·Wed·Apr·29,·2026
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·Thu·Mar·27,·20256 last·updated·Wed·Apr·29,·2026
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·Thu·Mar·27,·202520 ··last·updated·Wed·Apr·29,·2026
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·Thu·Mar·27,·20256 last·updated·Wed·Apr·29,·2026
5.26 KB
./usr/share/doc/htp/undef.html
    
Offset 114, 15 lines modifiedOffset 114, 21 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &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>
 122 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
 124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br>
 125 &nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 127 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
122 </code></p>128 </code></p>
123 <h2>synopsis</h2>129 <h2>synopsis</h2>
124 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags130 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags
125 created·by·<A·HREF="def.html">DEF</A>·and·<A131 created·by·<A·HREF="def.html">DEF</A>·and·<A
126 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF132 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF
127 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by133 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by
128 htp·until·it·is·reassigned.··</P>134 htp·until·it·is·reassigned.··</P>
2.94 KB
html2text {}
    
Offset 1, 38 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:·U\x8UN\x8ND\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:·U\x8UN\x8ND\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·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·emailaddr="jnelson@crl.com">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section">
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand
 8  ·HTP·Tags··················global>
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
5  ·_.L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*12  · ···_.D_.E_.F···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags13  · ···_.F_.I_.L_.E··················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags
7  ·_.U_.s_.a_.g_.e·····················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the14  · ···_.I_.F····················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the
8  ·HTP·Tags··················UNDEF·command.·Once·removed,·the·metatag·will·no15  · ···_.I_.N_.C···················UNDEF·command.·Once·removed,·the·metatag·will·no
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············longer·be·recognized·by·htp·until·it·is·reassigned.16  · ···_\x8I_.M_.G···················longer·be·recognized·by·htp·until·it·is·reassigned.
10  · ···_\x8B_.L_.O_.C_.K·················Multiple·metatags·can·be·removed·by·placing·each17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············Multiple·metatags·can·be·removed·by·placing·each
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············name·as·an·attribute.18  · ···_\x8O_.P_.T···················name·as·an·attribute.
12  · ···_\x8D_\x8E_\x8F 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_\x8I_\x8F 
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_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  ·[>]·_\x8U_\x8N_\x8D_\x8E_\x8F22  ·[>]·_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
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]
12.3 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 46 lines modifiedOffset 114, 46 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="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block<br>121 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 122 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br>
 123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
 124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br>
 125 &nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
123 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>127 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
124 <br> 
125 </code></p>128 </code></p>
126 <h2>synopsis</h2>129 <h2>synopsis</h2>
127 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.130 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.
128 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.131 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
129 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or132 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
130 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The133 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
131 old·macro·definition·will·be·removed·automatically.)134 old·macro·definition·will·be·removed·automatically.)
132 <P>135 <P>
133 For·example:136 For·example:
134 ··<p><code>137 ··<p><code>
 138 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br>
 139 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 140 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
135 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br>142 &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>
136 &nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br> 
137 <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>143 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>
 144 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>
138 <br> 
139 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br> 
140 <br> 
141 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
142 But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br> 
143 And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
144 </code></p>145 </code></p>
145 <P>146 <P>
146 More·than·one·macro·may·be·removed·in·the·same·tag:147 More·than·one·macro·may·be·removed·in·the·same·tag:
147 ··<p><code>148 ··<p><code>
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">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</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">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br> 
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>149 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·cla[·...·truncated·by·diffoscope;·len:·32,·SHA:·e4a79f21fa4c0fb0e6d6a8cf29685f6beb11dfce7246d0528df2948cf8d5e5a0·...·]>&gt;</span><br>
 150 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 151 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
151 <br>152 <br>
152 &nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br> 
153 </code></p>153 </code></p>
154 <p>154 <p>
155 </td>155 </td>
156 </tr>156 </tr>
157 <tr>157 <tr>
158 <td·width="20%"·bgcolor="white"·valign="bottom">158 <td·width="20%"·bgcolor="white"·valign="bottom">
159 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">159 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
4.77 KB
html2text {}
    
Offset 1, 41 lines modifiedOffset 1, 39 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\x8UN\x8NS\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:·U\x8UN\x8NS\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··············<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·[NOT]·conditional>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0">
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section">
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.n_.c·sect-ctr>
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name="sect-${sect-ctr}"·expand
 8  ·HTP·Tags··················global>
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*12  · ···_.D_.E_.F···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's13  · ···_\x8F_.I_.L_.E··················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's
10  · ···_\x8B_.L_.O_.C_.K·················definition.·The·macro·is·subsequently·not·available14  · ···_\x8I_.F····················definition.·The·macro·is·subsequently·not·available
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············for·use·in·the·pre-processed·files.·(Note·that15  · ···_\x8I_.N_.C···················for·use·in·the·pre-processed·files.·(Note·that
12  · ···_\x8D_.E_.F···················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or16  · ···_\x8I_.M_.G···················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or
13  · ···_\x8F_.I_.L_.E··················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.
14  · ···_\x8I_.F····················The·old·macro·definition·will·be·removed18  · ···_\x8O_.P_.T···················The·old·macro·definition·will·be·removed
15  · ···_\x8I_.N_.C···················automatically.)19  · ···_\x8O_.U_.T_.P_.U_.T················automatically.)
16  · ···_\x8I_.M_.G···················For·example:20  · ···_\x8Q_.U_.O_.T_.E·················For·example:
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> 
18  · ···_\x8O_.P_.T··················· ·<a·href=$email>send·email</a>21  · ···_\x8S_.E_.T···················<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="header.hti">
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1">
 23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}>
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
19  · ···_\x8O_.U_.T_.P_.U_.T················<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>26  · ···_\x8<_.!_.-_.-_.-················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.w_.h_.i_.l_.e>
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti">
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E 
21  · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F 
23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T·················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················email="jnelson@crl.com"> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················email="jnelson@crl.com"> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················More·than·one·macro·may·be·removed·in·the·same·tag:28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················More·than·one·macro·may·be·removed·in·the·same·tag:
 29  ·_\x8B_\x8u_\x8g_\x8s······················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·macroname·[parameters·...]·[noexpand]>
 30 ····························<...·$macroname·...>
 31 ····························<...·${macroname}·...>
29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> 
30 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
31 ····························alt="${alt}">; 
32 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
  
33 ···························· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
  
  
  
  
  
  
  
16.4 KB
./usr/share/doc/htp/use.html
    
Offset 114, 17 lines modifiedOffset 114, 17 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block<br> 
123 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">][·...·truncated·by·diffoscope;·len:·101,·SHA:·902ed330c7bb28d683f1041df479321af5b8c2d9f1a54b32efac5fc90bf0c836·...·]>&gt;</span><br>
 122 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 123 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
124 <br>124 <br>
125 </code></p>125 </code></p>
126 <h2>synopsis</h2>126 <h2>synopsis</h2>
127 <strong>USE</strong>·will·expand·macros·that·have·been·previously127 <strong>USE</strong>·will·expand·macros·that·have·been·previously
128 declared·with·either·<A·HREF="set.html">SET</A>·or·<A128 declared·with·either·<A·HREF="set.html">SET</A>·or·<A
129 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other129 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other
130 markup·tags.130 markup·tags.
Offset 135, 15 lines modifiedOffset 135, 23 lines modified
135 attribute·to·prevent·further·expansion.··</p>135 attribute·to·prevent·further·expansion.··</p>
136 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros136 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
137 for·the·expanded·macro.··This·is·only·valid·for·<A137 for·the·expanded·macro.··This·is·only·valid·for·<A
138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
139 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For139 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
140 example:</p>140 example:</p>
141 ··<p><code>141 ··<p><code>
142 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login[·...·truncated·by·diffoscope;·len:·5,·SHA:·61fc96d712bbcceb17bfe2debd9aa89feb1da54d2983a69b5a1cf78e114e2b12·...·]</span>&gt;</span><br>142 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br>
 143 <font·size="-2">&nbsp;2.·</font>&nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br>
 144 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 145 <font·size="-2">&nbsp;4.·</font><br>
 146 <font·size="-2">&nbsp;5.·</font><span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br>
 147 <font·size="-2">&nbsp;6.·</font><br>
 148 <font·size="-2">&nbsp;7.·</font>This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
 149 <font·size="-2">&nbsp;8.·</font>But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br>
 150 <font·size="-2">&nbsp;9.·</font>And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
143 </code></p>151 </code></p>
144 <P>152 <P>
145 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on153 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
146 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
147 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
148 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is156 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
149 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.157 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
Offset 154, 18 lines modifiedOffset 162, 18 lines modified
154 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
155 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.
156 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or164 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or
157 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it165 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it
158 replaces·the·macro·name·by·the·contents·of·the·macro·without·further166 replaces·the·macro·name·by·the·contents·of·the·macro·without·further
159 processing·the·contents.167 processing·the·contents.
160 ··<p><code>168 ··<p><code>
161 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>169 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
162 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>170 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·block<br>
163 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
164 <font·size="-2">&nbsp;4.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>171 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
 172 <font·size="-2">&nbsp;4.·</font><br>
165 </code></p>173 </code></p>
166 <P>174 <P>
167 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and175 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
168 should·never·cause·confusion·with·surrounding·text.··If·no·curly176 should·never·cause·confusion·with·surrounding·text.··If·no·curly
169 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation177 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation
170 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;178 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;
171 and·&quot;_&quot;·that·follows·it.179 and·&quot;_&quot;·that·follows·it.
Offset 179, 21 lines modifiedOffset 187, 18 lines modified
179 delimiting·the·text·as·if·it·were·additional·markup·attributes.187 delimiting·the·text·as·if·it·were·additional·markup·attributes.
180 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),188 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),
181 quotation·marks·are·not·automatically·supplied.189 quotation·marks·are·not·automatically·supplied.
182 <P>190 <P>
183 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can191 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can
184 be·nested.··This·is·valid:192 be·nested.··This·is·valid:
185 ··<p><code>193 ··<p><code>
186 &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> 
187 &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>194 &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>
 195 &nbsp;·&nbsp;·...<br>
188 &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>196 &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>
189 &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> 
190 &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> 
191 &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> 
192 &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>197 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
193 </code></p>198 </code></p>
194 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined199 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined
195 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX200 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX
196 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand201 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand
197 value1.202 value1.
198 <p>203 <p>
199 </td>204 </td>
7.39 KB
html2text {}
    
Offset 1, 13 lines modifiedOffset 1, 13 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]_\x8W_.H_.I_.L_.E·[NOT]·conditional>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.s_.e·macroname·[parameters·...]·[noexpand]>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<...·$macroname·...>
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·${macroname}·...>
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············used·outside·of·other·markup·tags.11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············used·outside·of·other·markup·tags.
12  · ···_\x8D_\x8E_\x8F···················If·you·USE·a·block·macro·the·value·of·expanded12  · ···_\x8D_\x8E_\x8F···················If·you·USE·a·block·macro·the·value·of·expanded
13  · ···_\x8F_\x8I_\x8L_\x8E··················block·macros·will·be·further·parsed·by·htp.·This·is13  · ···_\x8F_\x8I_\x8L_\x8E··················block·macros·will·be·further·parsed·by·htp.·This·is
Offset 15, 37 lines modifiedOffset 15, 46 lines modified
15  · ···_\x8I_\x8N_\x8C···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use15  · ···_\x8I_\x8N_\x8C···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use
16  · ···_\x8I_\x8M_\x8G···················the·noexpand·attribute·to·prevent·further16  · ···_\x8I_\x8M_\x8G···················the·noexpand·attribute·to·prevent·further
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············expansion.17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············expansion.
18  · ···_\x8O_\x8P_\x8T···················USE·will·accept·additional·parameters,·which·are18  · ···_\x8O_\x8P_\x8T···················USE·will·accept·additional·parameters,·which·are
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················"local"·macros·for·the·expanded·macro.·This·is·only19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················"local"·macros·for·the·expanded·macro.·This·is·only
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T
21  · ···_\x8S_\x8E_\x8T···················cannot·have·parameters·passed.·For·example:21  · ···_\x8S_\x8E_\x8T···················cannot·have·parameters·passed.·For·example:
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 1.· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr·home_url22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 1.·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff>
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················login_name>23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· 2.· ·<a·href=$email>send·email</a>
 24  ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· 4.
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· 5.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email>
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· 6.
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· 7.·This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff
 29  ·_\x8B_\x8u_\x8g_\x8s······················email="jnelson@crl.com">
 30 ···························· 8.·But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email>
 31 ···························· 9.·And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff
 32 ····························email="jnelson@crl.com">
24  ·[>]·_.U_.S_.E_.,_.·_.$················(See·below·for·a·description·of·the·'$'·operator.)33 ····························(See·below·for·a·description·of·the·'$'·operator.)
25  · ···_.W_.H_.I_.L_.E·················The·example·on·line·7·works·because·"stuff"·has34 ····························The·example·on·line·7·works·because·"stuff"·has
26  · ···_.<_.!_.-_.-_.-·················been·declared·as·a·block·macro,·and·the·tag·is35 ····························been·declared·as·a·block·macro,·and·the·tag·is
27  ·_.H_.i_.s_.t_.o_.r_.y···················passing·the·"email"·macro·to·the·"stuff"·macro.36 ····························passing·the·"email"·macro·to·the·"stuff"·macro.
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Line·8·fails·because·the·"email"·macro·is37 ····························Line·8·fails·because·the·"email"·macro·is
29  ·_.B_.u_.g_.s······················unavailable·once·the·block·macro·is·completely38 ····························unavailable·once·the·block·macro·is·completely
30 ····························expanded,·and·cannot·be·passed·to·a·SET·macro.39 ····························expanded,·and·cannot·be·passed·to·a·SET·macro.
31 ····························Note·that·the·"email"·macro·is·available·to·other40 ····························Note·that·the·"email"·macro·is·available·to·other
32 ····························macros·or·included·files·called·within·the·"stuff"41 ····························macros·or·included·files·called·within·the·"stuff"
33 ····························block.42 ····························block.
34 ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any43 ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any
35 ····························other·standard·HTML·or·htp·tag,·the·'$'·operator44 ····························other·standard·HTML·or·htp·tag,·the·'$'·operator
36 ····························must·be·used.·The·'$'·should·be·immediately45 ····························must·be·used.·The·'$'·should·be·immediately
37 ····························followed·by·the·macro·name,·which·may·or·may·not·be46 ····························followed·by·the·macro·name,·which·may·or·may·not·be
38 ····························surrounded·by·curly·braces.·When·htp·encounters47 ····························surrounded·by·curly·braces.·When·htp·encounters
39 ····························this·it·replaces·the·macro·name·by·the·contents·of48 ····························this·it·replaces·the·macro·name·by·the·contents·of
40 ····························the·macro·without·further·processing·the·contents.49 ····························the·macro·without·further·processing·the·contents.
41 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>50 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·[NOT]·conditional>
42 ···························· 2.· · ·...51 ···························· 2.· · ·block
43 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
44 ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>52 ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
 53 ···························· 4.
45 ····························The·use·of·curly·braces·is·encouraged,·since·it·is54 ····························The·use·of·curly·braces·is·encouraged,·since·it·is
46 ····························more·robust·and·should·never·cause·confusion·with55 ····························more·robust·and·should·never·cause·confusion·with
47 ····························surrounding·text.·If·no·curly·braces·are·used·the56 ····························surrounding·text.·If·no·curly·braces·are·used·the
48 ····························macro·name·consists·either·of·a·single·punctuation57 ····························macro·name·consists·either·of·a·single·punctuation
49 ····························character·or·the·maximum·sequence·of·letters,58 ····························character·or·the·maximum·sequence·of·letters,
50 ····························digits,·"-"·and·"_"·that·follows·it.59 ····························digits,·"-"·and·"_"·that·follows·it.
51 ····························If·a·'$'·character·needs·to·be·kept·in·the·final60 ····························If·a·'$'·character·needs·to·be·kept·in·the·final
Offset 57, 22 lines modifiedOffset 66, 18 lines modified
57 ····························it·with·quotation·marks·to·prevent·spaces·from66 ····························it·with·quotation·marks·to·prevent·spaces·from
58 ····························delimiting·the·text·as·if·it·were·additional·markup67 ····························delimiting·the·text·as·if·it·were·additional·markup
59 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other68 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other
60 ····························text·(as·in·the·two·examples·above),·quotation69 ····························text·(as·in·the·two·examples·above),·quotation
61 ····························marks·are·not·automatically·supplied.70 ····························marks·are·not·automatically·supplied.
62 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a71 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a
63 ····························markup·tag·and·can·be·nested.·This·is·valid:72 ····························markup·tag·and·can·be·nested.·This·is·valid:
64 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_.e_.t·sect-ctr="0">73 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_.H_.I_.L_.E·NOT·i="10">
65 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section">74 ···························· · ·...
66 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.n_.c·sect-ctr>75 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.N_.C·i>
67 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand 
68 ····························global> 
69 ···························· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> 
70 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>76 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>
71 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
72 ····························The·tagName·macro·can·contain·any·tag·name,·even·a77 ····························The·tagName·macro·can·contain·any·tag·name,·even·a
73 ····························self-defined·metatag.·Note·that·$ctr·is·expanded78 ····························self-defined·metatag.·Note·that·$ctr·is·expanded
74 ····························before·the·valueX·macro·is·expanded,·so·assuming79 ····························before·the·valueX·macro·is·expanded,·so·assuming
75 ····························that·ctr·was·set·to·1·it·will·expand·value1.80 ····························that·ctr·was·set·to·1·it·will·expand·value1.
  
  
  
6.85 KB
./usr/share/doc/htp/while.html
    
Offset 114, 30 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 &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>121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>
122 </code></p>122 </code></p>
123 <h2>synopsis</h2>123 <h2>synopsis</h2>
124 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.124 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.
125 The·basic·form·is·shown·above.125 The·basic·form·is·shown·above.
126 <P>126 <P>
127 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.127 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
128 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.128 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.
129 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the129 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
130 conditional·is·reversed:130 conditional·is·reversed:
131 ··<p><code>131 ··<p><code>
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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br> 
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-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</spa[·...·truncated·by·diffoscope;·len:·122,·SHA:·33293eb62a2442c271ed45836e808bdc8444dd22a11d58f89f7cedb247e056ad·...·]<br>132 &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>
 133 &nbsp;·&nbsp;·...<br>
 134 &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="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&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>&gt;</span><br>
135 <br> 
136 &nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br> 
137 </code></p>136 </code></p>
138 <P>137 <P>
139 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·a138 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
140 macro's·existance:139 macro's·existance:
141 ··<p><code>140 ··<p><code>
142 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></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>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>
143 &nbsp;·&nbsp;·...<br>142 &nbsp;·&nbsp;·...<br>
3.71 KB
html2text {}
    
Offset 1, 38 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:·W\x8WH\x8HI\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:·W\x8WH\x8HI\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·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<${tagName}·${attrName}=${value$ctr}>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················*\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···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················processing.·The·basic·form·is·shown·above.7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················processing.·The·basic·form·is·shown·above.
8  ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined"8  ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined"
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············operation.·A·compare·operator·is·a·test·of·the9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············operation.·A·compare·operator·is·a·test·of·the
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················value·of·a·macro·against·a·literal·string.·If·the10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················value·of·a·macro·against·a·literal·string.·If·the
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············NOT·tag·is·present·in·the·WHILE·markup,·the11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············NOT·tag·is·present·in·the·WHILE·markup,·the
12  · ···_\x8D_\x8E_\x8F···················evaluation·of·the·conditional·is·reversed:12  · ···_\x8D_\x8E_\x8F···················evaluation·of·the·conditional·is·reversed:
13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> 
14  · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
15  · ···_\x8I_.N_.C···················alt="${alt}">;13  · ···_\x8F_.I_.L_.E·················· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·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/_\x8d_.e_.f>16  · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_.H_.I_.L_.E>
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L 
18  · ···_\x8O_\x8P_\x8T··················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
19  · ···_\x8O_.U_.T_.P_.U_.T················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a
20  · ···_\x8Q_.U_.O_.T_.E·················macro's·existance:18  · ···_\x8O_.P_.T···················macro's·existance:
21  · ···_\x8S_.E_.T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i>19  · ···_\x8O_.U_.T_.P_.U_.T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i>
22  · ···_\x8U_.N_.D_.E_.F················· · ·...20  · ···_\x8Q_.U_.O_.T_.E················· · ·...
23  · ···_\x8U_.N_.S_.E_.T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>21  · ···_\x8S_.E_.T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
24  · ···_\x8U_\x8S_.E_.,_.·_.$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>22  · ···_\x8U_\x8N_.D_.E_.F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
25  ·[>]·_.W_.H_.I_.L_.E·················If·the·condition·is·true,·the·block·is·evaluated23  · ···_.U_.N_.S_.E_.T·················If·the·condition·is·true,·the·block·is·evaluated
26  · ···_\x8<_.!_.-_.-_.-·················and·afterwards·the·WHILE·tag·is·evaluated·again.·If24  · ···_\x8U_.S_.E_.,_.·_.$················and·afterwards·the·WHILE·tag·is·evaluated·again.·If
27  ·_.H_.i_.s_.t_.o_.r_.y···················the·'$'-operator·is·used·in·the·WHILE·tag·it·is25  ·[>]·_.W_.H_.I_.L_.E·················the·'$'-operator·is·used·in·the·WHILE·tag·it·is
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················also·reevaluated·on·each·iteration.26  · ···_.<_.!_.-_.-_.-·················also·reevaluated·on·each·iteration.
29  ·_\x8B_.u_.g_.s······················A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.27  ·_\x8H_.i_.s_.t_.o_.r_.y···················A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.
  
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s