169 KB
/srv/reproducible-results/rbuild-debian/r-b-build.jZl7nYM0/b1/htp_1.19-8_i386.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.jZl7nYM0/b2/htp_1.19-8_i386.changes
261 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·785534fcbc71c3b605912f9a86b62dd9·59396·debug·optional·htp-dbgsym_1.19-8_i386.deb1 ·785534fcbc71c3b605912f9a86b62dd9·59396·debug·optional·htp-dbgsym_1.19-8_i386.deb
2 ·1cf0c24ed51873fd90c8e331526f8ffd·119836·web·optional·htp_1.19-8_i386.deb2 ·59e09c45c0a03309bb06829ad4ab7598·120908·web·optional·htp_1.19-8_i386.deb
168 KB
htp_1.19-8_i386.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·····3620·2020-06-14·23:21:19.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3620·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···116024·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···117096·2020-06-14·23:21:19.000000·data.tar.xz
562 B
control.tar.xz
534 B
control.tar
464 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:·i3863 Architecture:·i386
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6295 Installed-Size:·658
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
167 KB
data.tar.xz
167 KB
data.tar
14.6 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)····75284·2020-06-14·23:21:19.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····75284·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)·····8550·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)····10162·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html
9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp
10 -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····9864·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)·····9062·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)····11105·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html
13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp
14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html
15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp
16 -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz16 -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz
17 -rw-r--r--···0·root·········(0)·root·········(0)·····7719·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)····13470·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)····11398·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····11064·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, 43 lines modifiedOffset 32, 43 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)·····7909·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)····10487·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)····13054·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····18657·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)·····8782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)·····9854·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html
49 -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp49 -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp
50 -rw-r--r--···0·root·········(0)·root·········(0)·····8626·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)·····8626·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html
51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp
52 -rw-r--r--···0·root·········(0)·root·········(0)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8860·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)·····9477·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····8142·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html
55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp
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)····12319·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····15799·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html
68 -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz68 -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz
69 -rw-r--r--···0·root·········(0)·root·········(0)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html
70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp
71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html
72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp
73 -rw-r--r--···0·root·········(0)·root·········(0)·····7777·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····7777·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp
Offset 79, 17 lines modifiedOffset 79, 17 lines modified
79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png
80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png
81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png
82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png
83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png
84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png
85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····7503·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)····10674·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)·····8558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)····13185·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)·····8195·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)·····9417·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····8800·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)····13147·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····14597·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)····10682·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)····10197·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/
7.69 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 16 lines modifiedOffset 114, 27 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="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>
 122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
 124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br>
 126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 127 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 128 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
 129 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
122 <br>130 <br>
 131 &nbsp;paragraph<br>
 132 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
 133 &nbsp;paragraph<br>
123 </code></p>134 </code></p>
124 <h2>synopsis</h2>135 <h2>synopsis</h2>
125 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A136 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
126 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.137 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
127 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the138 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
128 filename·is·considered·in·all·comparisons.139 filename·is·considered·in·all·comparisons.
129 <p>140 <p>
4.86 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 50 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··············<_.[_.[_.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_.]_.]_.d_.e_.f·name="imghr">
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················]> 
6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l5  ·_\x8L_.i_.c_.e_.n_.s_.e··················· · <table·border="0"·cellspacing="0"
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················cellpadding="0">
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · <tr>
 8  ·HTP·Tags·················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></
 9  ·[>]·_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············td>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<td·width="95%"
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············background="midsep.png">&nbsp;</td>
 12  · ···_\x8D_\x8E_\x8F··················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></
 13  · ···_\x8F_\x8I_\x8L_\x8E··················td>
 14  · ···_\x8I_\x8F···················· · </tr>
 15  · ···_\x8I_\x8N_\x8C··················· · </table>
 16  · ···_\x8I_\x8M_\x8G··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
 18  · ···_\x8O_\x8P_\x8T··················· paragraph
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <imghr>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· paragraph
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*21  · ···_.S_.E_.T···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag22  · ···_.U_.N_.D_.E_.F·················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag
9  ·[>]·_.A_.L_.T_.T_.E_.X_.T···············with·a·SRC·matching·the·ALTTEXT·NAME.·Since23  · ···_.U_.N_.S_.E_.T·················with·a·SRC·matching·the·ALTTEXT·NAME.·Since
10  · ···_\x8B_.L_.O_.C_.K·················relative·paths·can·be·used·to·point·to·the·same24  · ···_\x8U_.S_.E_.,_.·_.$················relative·paths·can·be·used·to·point·to·the·same
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············image,·only·the·filename·is·considered·in·all25  · ···_\x8W_.H_.I_.L_.E·················image,·only·the·filename·is·considered·in·all
12  · ···_\x8D_.E_.F···················comparisons.26  · ···_\x8<_.!_.-_.-_.-·················comparisons.
13  · ···_.F_.I_.L_.E··················When·an·IMG·tag·with·a·matching·source·is27  ·_.H_.i_.s_.t_.o_.r_.y···················When·an·IMG·tag·with·a·matching·source·is
14  · ···_.I_.F····················encountered,·htp·will·add·an·ALT·attribute·only·if28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················encountered,·htp·will·add·an·ALT·attribute·only·if
15  · ···_.I_.N_.C···················one·is·not·already·present.·This·allows·for·ALT29  ·_.B_.u_.g_.s······················one·is·not·already·present.·This·allows·for·ALT
16  · ···_.I_.M_.G···················text·to·be·overridden·on·specific·images·and30 ····························text·to·be·overridden·on·specific·images·and
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············default·text·on·all·others.31 ····························default·text·on·all·others.
18  · ···_.O_.P_.T···················For·example:32 ····························For·example:
19  · ···_.O_.U_.T_.P_.U_.T················An·ALTTEXT·tag·with·a·name·but·no·text·attribute33 ····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute
20  · ···_.Q_.U_.O_.T_.E·················removes·any·ALT·mapping·for·this·image.·Successing34 ····························removes·any·ALT·mapping·for·this·image.·Successing
21  · ···_.S_.E_.T···················IMG·tags·with·a·matching·SRC·name·are·not·changed.35 ····························IMG·tags·with·a·matching·SRC·name·are·not·changed.
22  · ···_.U_.N_.D_.E_.F·················Since·this·is·useful·for·an·image·used·throughout·a36 ····························Since·this·is·useful·for·an·image·used·throughout·a
23  · ···_.U_.N_.S_.E_.T·················set·of·documents,·ALTTEXT·is·most·appropriate·in·an37 ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an
24  · ···_.U_.S_.E_.,_.·_.$················_\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.
25  · ···_.W_.H_.I_.L_.E·················In·addition·to·ALTTEXT,·htp·can·also·automatically39 ····························In·addition·to·ALTTEXT,·htp·can·also·automatically
26  · ···_.<_.!_.-_.-_.-·················add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.40 ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_\x8B_\x8u_\x8g_\x8s 
  
  
  
  
  
  
  
  
  
6.33 KB
./usr/share/doc/htp/block.html
    
Offset 114, 14 lines modifiedOffset 114, 27 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>&gt;</span><br>
 122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
 124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br>
 126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 127 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 128 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
 129 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 130 <br>
 131 &nbsp;paragraph<br>
 132 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
 133 &nbsp;paragraph<br>
121 </code></p>134 </code></p>
122 <h2>synopsis</h2>135 <h2>synopsis</h2>
123 <P>136 <P>
124 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which137 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
125 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be138 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
126 multi-line·definitions.139 multi-line·definitions.
127 </P>140 </P>
3.93 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 53 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**\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···················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros, 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················multi-line·definitions. 
8  ·HTP·Tags··················Any·text·and·formatting·may·be·set·inside·the 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············block.·You·can·use·any·htp·or·user·defined·metatag 
10  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K·················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············expanded·before·the·block·is·USEd·except·if·you 
12  · ···_\x8D_\x8E_\x8F···················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter. 
13  · ···_\x8F_\x8I_\x8L_\x8E··················The·block·macro·is·dereferenced·(expanded)·with·the 
14  · ···_\x8I_\x8F····················_\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 
15  · ···_\x8I_\x8N_\x8C···················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro. 
16  · ···_.I_.M_.G4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· <_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="imghr">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <table·border="0"·cellspacing="0"
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················cellpadding="0">
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · <tr>
 8  ·HTP·Tags·················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············td>
 10  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<td·width="95%"
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············background="midsep.png">&nbsp;</td>
 12  · ···_\x8D_\x8E_\x8F··················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></
 13  · ···_\x8F_\x8I_\x8L_\x8E··················td>
 14  · ···_\x8I_\x8F···················· · </tr>
 15  · ···_\x8I_\x8N_\x8C··················· · </table>
 16  · ···_\x8I_\x8M_\x8G··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
18  · ···_\x8O_\x8P_\x8T 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E 
21  · ···_\x8S_\x8E_\x8T 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8- 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_.B_.u_.g_.s18  · ···_.O_.P_.T··················· paragraph
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <imghr>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· paragraph
 21  · ···_\x8S_\x8E_\x8T···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros,
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················multi-line·definitions.
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················Any·text·and·formatting·may·be·set·inside·the
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················block.·You·can·use·any·htp·or·user·defined·metatag
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················expanded·before·the·block·is·USEd·except·if·you
 29  ·_\x8B_\x8u_\x8g_\x8s······················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter.
 30 ····························The·block·macro·is·dereferenced·(expanded)·with·the
 31 ····························_\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
 32 ····························_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro.
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e33  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
9.96 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 34 lines modifiedOffset 114, 48 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>&gt;</span><br>
 122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
 124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br>
 126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 127 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 128 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
 129 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 130 <br>
 131 &nbsp;paragraph<br>
 132 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
 133 &nbsp;paragraph<br>
121 </code></p>134 </code></p>
122 <h2>synopsis</h2>135 <h2>synopsis</h2>
123 <strong>BLOCKDEF</strong>·creates·block·<A136 <strong>BLOCKDEF</strong>·creates·block·<A
124 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it137 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
125 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block138 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
126 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and139 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
127 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored140 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
128 in·the·block·macro·named·BLOCK.141 in·the·block·macro·named·BLOCK.
129 <P>·For·example:</P>142 <P>·For·example:</P>
130 ··<p><code>143 ··<p><code>
 144 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>
 145 &nbsp;·&nbsp;·...<br>
131 &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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br>146 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
132 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br> 
133 &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>147 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
 148 <br>
134 <br>149 <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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>&gt;</span><br>
135 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>151 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&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>
136 &nbsp;·&nbsp;·This·text·is·centered.<br> 
137 (CONDENSE|SEMICONDENSE|NOCONDENSE)><br> 
138 <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> 
139 <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> 
140 <br>153 <br>
 154 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
141 </code></p>155 </code></p>
142 <p>156 <p>
143 All·block·metatags·have·the·implicit·option·<a157 All·block·metatags·have·the·implicit·option·<a
144 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents158 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
145 of·the·block·before·the·definition·is·expanded.159 of·the·block·before·the·definition·is·expanded.
146 </p>160 </p>
147 <p>161 <p>
4.89 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 54 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··············*\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···················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················way·of·saying·it·creates·new·block·tags.·A·block 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················tag·is·a·tag·that·takes·a·whole·block·as·additional 
8  ·HTP·Tags··················parameter.·This·block·is·surrounded·by·<tagname> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············and·</tagname>.·The·contents·of·this·block·are 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················automatically·stored·in·the·block·macro·named 
11  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············BLOCK. 
12  · ···_\x8D_\x8E_\x8F···················For·example: 
13  · ···_.F_.I_.L_.E·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="centered">4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· <_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="imghr">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <table·border="0"·cellspacing="0"
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················cellpadding="0">
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · <tr>
 8  ·HTP·Tags·················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············td>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<td·width="95%"
 11  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············background="midsep.png">&nbsp;</td>
 12  · ···_\x8D_\x8E_\x8F··················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></
 13  · ···_\x8F_\x8I_\x8L_\x8E··················td>
14  · ···_\x8I_\x8F···················· · ·<p·align=center>14  · ···_\x8I_\x8F···················· · </tr>
 15  · ···_\x8I_\x8N_\x8C··················· · </table>
15  · ···_\x8I_\x8N_.C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>16  · ···_\x8I_\x8M_.G··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
16  · ···_\x8I_\x8M_\x8G 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<centered> 
18  · ···_\x8O_\x8P_\x8T··················· · ·This·text·is·centered. 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················(CONDENSE|SEMICONDENSE|NOCONDENSE)> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> 
21  · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> 
22  · ···_\x8U_.N_.D_.E_.F17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L
 18  · ···_\x8O_\x8P_\x8T··················· paragraph
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <imghr>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· paragraph
 21  · ···_\x8S_\x8E_\x8T···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················way·of·saying·it·creates·new·block·tags.·A·block
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················tag·is·a·tag·that·takes·a·whole·block·as·additional
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················parameter.·This·block·is·surrounded·by·<tagname>
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················and·</tagname>.·The·contents·of·this·block·are
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················automatically·stored·in·the·block·macro·named
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················BLOCK.
 29  ·_\x8B_\x8u_\x8g_\x8s······················For·example:
 30 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10">
 31 ···························· · ·...
 32 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
 33 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
  
  
 34 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont">
 35 ···························· · ·</font>
 36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
  
 37 ···························· ·<bigfont>Some·large·text</bigfont>
23  · ···_.U_.N_.S_.E_.T·················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,38 ····························All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,
24  · ···_.U_.S_.E_.,_.·_.$················which·tells·htp·to·expand·the·contents·of·the·block39 ····························which·tells·htp·to·expand·the·contents·of·the·block
25  · ···_.W_.H_.I_.L_.E·················before·the·definition·is·expanded.40 ····························before·the·definition·is·expanded.
26  · ···_.<_.!_.-_.-_.-·················A·more·thorough·discussion·and·more·elaborate41 ····························A·more·thorough·discussion·and·more·elaborate
27  ·_.H_.i_.s_.t_.o_.r_.y···················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.42 ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_\x8B_\x8u_\x8g_\x8s 
  
  
  
  
  
  
  
  
11.5 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 14 lines modifiedOffset 114, 27 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>&gt;</span><br>
 122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
 124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br>
 126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 127 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 128 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
 129 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 130 <br>
 131 &nbsp;paragraph<br>
 132 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
 133 &nbsp;paragraph<br>
121 </code></p>134 </code></p>
122 <h2>synopsis</h2>135 <h2>synopsis</h2>
123 <p>136 <p>
124 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful137 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
125 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.138 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
126 Example:139 Example:
127 </p>140 </p>
Offset 129, 14 lines modifiedOffset 142, 38 lines modified
129 </code></p>142 </code></p>
130 <p>143 <p>
131 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you144 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
132 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something145 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
133 like·this:146 like·this:
134 </p>147 </p>
135 ··<p><code>148 ··<p><code>
 149 &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>
 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">size</span>&gt;</span><br>
 151 &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>
 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>&gt;</span><br>
 153 &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>
 154 &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>
 155 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 156 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&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>&gt;</span><br>
 158 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 159 <br>
 160 &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>
 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">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br>
 163 <br>
 164 &nbsp;·This·will·fail:<br>
 165 &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>
 166 <br>
 167 &nbsp;·Instead,·use·*·like·this:<br>
 168 &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>
 169 &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>
 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>&gt;</span><br>
 171 &nbsp;·&nbsp;·<br>
 172 &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>
136 </code></p>173 </code></p>
137 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the174 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
138 reason·why·you·don't·want·to·include·this·block</p>175 reason·why·you·don't·want·to·include·this·block</p>
139 <p>176 <p>
140 </td>177 </td>
141 </tr>178 </tr>
142 <tr>179 <tr>
5.01 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 81 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**\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···················This·is·a·simple·comment·that·is·not·included·in 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················the·output.·This·is·useful·when·commenting 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················metatags,·since·the·metatags·do·not·appear·the 
8  ·HTP·Tags··················output·either.·Example: 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············Note·that·these·comments·should·not·include·<·or·>, 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················that·is·you·should·not·use·it·to·comment·out·htp 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············code.·For·that·purpose·use·something·like·this: 
12  · ···_\x8D_\x8E_\x8F···················Make·sure·that·the·variable·is·never·defined·and 
13  · ···_.F_.I_.L_.E··················xyz·should·be·the·reason·why·you·don't·want·to4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· <_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="imghr">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <table·border="0"·cellspacing="0"
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················cellpadding="0">
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · <tr>
 8  ·HTP·Tags·················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············td>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<td·width="95%"
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············background="midsep.png">&nbsp;</td>
 12  · ···_\x8D_\x8E_\x8F··················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></
 13  · ···_\x8F_\x8I_\x8L_\x8E··················td>
14  · ···_\x8I_\x8F····················include·this·block14  · ···_\x8I_\x8F···················· · </tr>
15  · ···_\x8I_\x8N_\x8C 
16  · ···_\x8I_\x8M_.G15  · ···_\x8I_\x8N_.C··················· · </table>
 16  · ···_\x8I_\x8M_\x8G··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
18  · ···_\x8O_\x8P_\x8T 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E 
21  · ···_\x8S_\x8E_\x8T 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E 
26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8- 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_.B_.u_.g_.s18  · ···_.O_.P_.T··················· paragraph
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <imghr>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· paragraph
 21  · ···_\x8S_\x8E_\x8T···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················This·is·a·simple·comment·that·is·not·included·in
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················the·output.·This·is·useful·when·commenting
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················metatags,·since·the·metatags·do·not·appear·the
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················output·either.·Example:
 26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-·················Note·that·these·comments·should·not·include·<·or·>,
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················that·is·you·should·not·use·it·to·comment·out·htp
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················code.·For·that·purpose·use·something·like·this:
 29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE
 30 ····························SIZE">
 31 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 32 ···························· · · · ·<FONT·SIZE=${size}>
 33 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 34 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 35 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 36 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 37 ···························· · · · ·</FONT>
 38 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 39 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
  
 40 ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 41 ····························title">
  
 42 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 43 ····························title">
  
 44 ···························· ·This·will·fail:
 45 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 46 ····························TITLE="Another·title">
  
 47 ···························· ·Instead,·use·*·like·this:
 48 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 49 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 50 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 51 ···························· · 
 52 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
 53 ····························Make·sure·that·the·variable·is·never·defined·and
 54 ····························xyz·should·be·the·reason·why·you·don't·want·to
 55 ····························include·this·block
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e56  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t57  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
8.75 KB
./usr/share/doc/htp/def.html
    
Offset 124, 23 lines modifiedOffset 124, 18 lines modified
124 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a124 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
125 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to125 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
126 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>126 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
127 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.127 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
128 For·example:128 For·example:
129 </p>129 </p>
130 ··<p><code>130 ··<p><code>
 131 &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>
 132 ers·...]·[noexpand]><br>
 133 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 134 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
131 &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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br> 
132 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br> 
133 &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> 
134 <br> 
135 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br> 
136 &nbsp;·&nbsp;·This·text·is·centered.<br> 
137 (CONDENSE|SEMICONDENSE|NOCONDENSE)><br> 
138 <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> 
139 <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> 
140 <br>135 <br>
141 </code></p>136 </code></p>
142 <P>137 <P>
143 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to138 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
144 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A139 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
145 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster140 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
146 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing141 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
Offset 153, 15 lines modifiedOffset 148, 16 lines modified
153 <P>148 <P>
154 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were149 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
155 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with150 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
156 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their151 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
157 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)152 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
158 </P>153 </P>
159 ··<p><code>154 ··<p><code>
160 &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"[·...·truncated·by·diffoscope;·len:·52,·SHA:·3521d05be624457ac6ade80ff41b2482121a447c913e180778d0a14a50d870d4·...·]&gt;</span><br>155 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
 156 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
161 </code></p>157 </code></p>
162 <P>158 <P>
163 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is159 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
164 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are160 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
165 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the161 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
166 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a162 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
167 parameter·is·required,·simply·expand·it·without·first·checking.··When163 parameter·is·required,·simply·expand·it·without·first·checking.··When
4.86 KB
html2text {}
    
Offset 3, 40 lines modifiedOffset 3, 37 lines modified
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················saying·it·creates·new·tags.·The·mechanism·is·very6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················saying·it·creates·new·tags.·The·mechanism·is·very
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is
8  ·HTP·Tags··················not·used·to·expand·them.·Instead,·they·are·expanded8  ·HTP·Tags··················not·used·to·expand·them.·Instead,·they·are·expanded
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············by·their·own·name.·For·example:9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············by·their·own·name.·For·example:
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_.e_.f·name="centered">10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.N_.C·i="1"·j="-1">
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············ers·...]·[noexpand]>
 12  ·[>]·_\x8D_\x8E_\x8F···················<...·$macroname·...>
 13  · ···_\x8F_\x8I_\x8L_\x8E··················<...·${macroname}·...>
 14  · ···_\x8I_\x8F
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·<p·align=center> 
12  ·[>]·_\x8D_\x8E_\x8F··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_\x8I_\x8F···················· · ·<centered> 
15  · ···_\x8I_\x8N_\x8C··················· · ·This·text·is·centered. 
16  · ···_\x8I_\x8M_\x8G···················(CONDENSE|SEMICONDENSE|NOCONDENSE)> 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> 
18  · ···_\x8O_\x8P_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T 
20  · ···_\x8Q_.U_.O_.T_.E·················Some·metatags·will·require·an·opening·and·closing15  · ···_\x8I_.N_.C···················Some·metatags·will·require·an·opening·and·closing
21  · ···_\x8S_.E_.T···················tag·(comparable·to16  · ···_\x8I_.M_.G···················tag·(comparable·to
22  · ···_\x8U_.N_.D_.E_.F·················and17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············and
23  · ···_\x8U_.N_.S_.E_.T·················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.18  · ···_\x8O_.P_.T···················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.
24  · ···_\x8U_.S_.E_.,_.·_.$················Another·slightly·faster·alternative·is·to·use·two19  · ···_\x8O_.U_.T_.P_.U_.T················Another·slightly·faster·alternative·is·to·use·two
25  · ···_\x8W_.H_.I_.L_\x8E·················metatags,·the·opening·tag·and·the·closing·tag·with20  · ···_\x8Q_.U_.O_.T_\x8E·················metatags,·the·opening·tag·and·the·closing·tag·with
26  · ···_\x8<_.!_.-_.-_.-·················a·preceding·slash.·For·example:21  · ···_\x8S_.E_.T···················a·preceding·slash.·For·example:
27  ·_.H_.i_.s_.t_.o_.r_.y···················You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will22  · ···_.U_.N_.D_.E_.F·················You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················check·for·matching·end·tag.·It·is·not·that·slower.23  · ···_.U_.N_.S_.E_.T·················check·for·matching·end·tag.·It·is·not·that·slower.
29  ·_.B_.u_.g_.s······················Options·can·be·passed·to·a·metatag,·which·can·then24  · ···_.U_.S_.E_.,_.·_.$················Options·can·be·passed·to·a·metatag,·which·can·then
30 ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are25  · ···_.W_.H_.I_.L_.E·················expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are
31 ····························parameterized·with·the·OPTION·attribute.·Multiple26  · ···_.<_.!_.-_.-_.-·················parameterized·with·the·OPTION·attribute.·Multiple
32 ····························options·can·be·listed·by·separating·their·name·with27  ·_.H_.i_.s_.t_.o_.r_.y···················options·can·be·listed·by·separating·their·name·with
33 ····························a·space·(which·therefore·requires·they·be28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················a·space·(which·therefore·requires·they·be
34 ····························surrounded·by·quotes.)29  ·_.B_.u_.g_.s······················surrounded·by·quotes.)
35 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name>...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>30 ····························<a·href="mailto:$email">mailto·hyperlink</a>
 31 ····························<a·href="http://$domain/~${username}/">another
 32 ····························hyperlink</a>
36 ····························htp·will·do·very·specific·checking·of·parameters33 ····························htp·will·do·very·specific·checking·of·parameters
37 ····························when·a·metatag·is·invoked.·htp·assumes·that·all34 ····························when·a·metatag·is·invoked.·htp·assumes·that·all
38 ····························parameter·options·to·the·metatag·are·optional.·This35 ····························parameter·options·to·the·metatag·are·optional.·This
39 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify36 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify
40 ····························the·SIZE·option·is·defined·before·expanding·it·in37 ····························the·SIZE·option·is·defined·before·expanding·it·in
41 ····························the·block.·If·a·parameter·is·required,·simply38 ····························the·block.·If·a·parameter·is·required,·simply
42 ····························expand·it·without·first·checking.·When·htp·expands39 ····························expand·it·without·first·checking.·When·htp·expands
5.5 KB
./usr/share/doc/htp/expand.html
    
Offset 98, 17 lines modifiedOffset 98, 31 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;<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>
 106 <font·size="-2">&nbsp;2.·</font>&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>
 107 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
 108 <font·size="-2">&nbsp;4.·</font>&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>
 109 <font·size="-2">&nbsp;5.·</font>&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>
 110 <font·size="-2">&nbsp;6.·</font>&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>
 111 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 112 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
 113 <font·size="-2">&nbsp;9.·</font>&nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 114 <font·size="-2">10.·</font><br>
 115 <font·size="-2">11.·</font>&nbsp;paragraph<br>
 116 <font·size="-2">12.·</font>&nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
 117 <font·size="-2">13.·</font>&nbsp;paragraph<br>
105 </code></p>118 </code></p>
106 This·produces·the·following:119 This·produces·the·following:
107 ··<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>
108 </code></p>122 </code></p>
109 <P>123 <P>
110 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a124 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
111 are·taken·literally,·however,·the·contents·for·b·are·already·expanded125 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
112 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it126 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
113 is·used,·while·the·contents·of·b·are·already·expanded.127 is·used,·while·the·contents·of·b·are·already·expanded.
114 </P>128 </P>
2.16 KB
html2text {}
    
Offset 24, 15 lines modifiedOffset 24, 33 lines modified
24 ····························However,·if·the·block·tag·is·marked·with·the·expand24 ····························However,·if·the·block·tag·is·marked·with·the·expand
25 ····························modifier·it·is·expanded·immediately.·This·is·useful25 ····························modifier·it·is·expanded·immediately.·This·is·useful
26 ····························if·you·want·to·store·something·in·a·block·macro,26 ····························if·you·want·to·store·something·in·a·block·macro,
27 ····························that·depends·on·the·current·value·of·another·macro.27 ····························that·depends·on·the·current·value·of·another·macro.
28 ····························This·other·macro·may·no·longer·have·the·correct28 ····························This·other·macro·may·no·longer·have·the·correct
29 ····························value·when·the·macro·is·expanded.·Here·is·some·code29 ····························value·when·the·macro·is·expanded.·Here·is·some·code
30 ····························that·demonstrate·when·the·htp·tags·are·expanded:30 ····························that·demonstrate·when·the·htp·tags·are·expanded:
 31 ···························· 1.· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="imghr">
 32 ···························· 2.· · <table·border="0"·cellspacing="0"
 33 ····························cellpadding="0">
 34 ···························· 3.· · <tr>
 35 ···························· 4.· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 36 ····························src="leftsep.png"></td>
 37 ···························· 5.· · ·<td·width="95%"
 38 ····························background="midsep.png">&nbsp;</td>
 39 ···························· 6.· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 40 ····························src="rightsep.png"></td>
 41 ···························· 7.· · </tr>
 42 ···························· 8.· · </table>
 43 ···························· 9.· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 44 ····························10.
 45 ····························11.· paragraph
 46 ····························12.· <imghr>
 47 ····························13.· paragraph
31 ····························This·produces·the·following:48 ····························This·produces·the·following:
 49 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr>
32 ····························When·block·a·and·block·b·are·defined·in·lines·2-50 ····························When·block·a·and·block·b·are·defined·in·lines·2-
33 ····························7·the·contents·of·a·are·taken·literally,·however,51 ····························7·the·contents·of·a·are·taken·literally,·however,
34 ····························the·contents·for·b·are·already·expanded·so·the52 ····························the·contents·for·b·are·already·expanded·so·the
35 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it53 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it
36 ····························is·used,·while·the·contents·of·b·are·already54 ····························is·used,·while·the·contents·of·b·are·already
37 ····························expanded.55 ····························expanded.
38 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with56 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with
15.6 KB
./usr/share/doc/htp/file.html
    
Offset 124, 29 lines modifiedOffset 124, 57 lines modified
124 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of124 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
125 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be125 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
126 added·to·the·output·file·as·well.126 added·to·the·output·file·as·well.
127 <P>127 <P>
128 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the128 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
129 following·is·perfectly·acceptable:129 following·is·perfectly·acceptable:
130 ··<p><code>130 ··<p><code>
131 <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=[·...·truncated·by·diffoscope;·len:·17,·SHA:·caad84c8bc3777dc8199258e880f877b9b82b192a94413c7375c9beda919cf50·...·]</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">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>
 132 &nbsp;·&nbsp;·...<br>
 133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
 134 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
132 <br>135 <br>
133 expand]><br> 
134 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
135 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
136 <br>136 <br>
 137 &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>
 138 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br>
 139 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 140 <br>
 141 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
137 </code></p>142 </code></p>
138 <P>143 <P>
139 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>144 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
140 <P>145 <P>
141 To·include·information·about·another·file,·such·as·an·archive·file·or146 To·include·information·about·another·file,·such·as·an·archive·file·or
142 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the147 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
143 type·of·information·to·be·displayed:148 type·of·information·to·be·displayed:
144 ··<p><code>149 ··<p><code>
 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>·<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>
 151 &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>
 152 &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>
 153 &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>
 154 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br>
145 &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>155 &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>
 156 &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>
 157 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 158 &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>
 159 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 160 <br>
 161 &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>
 162 <br>
 163 &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>
 164 <br>
 165 &nbsp;·This·will·fail:<br>
 166 &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>
 167 <br>
 168 &nbsp;·Instead,·use·*·like·this:<br>
 169 &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>
 170 &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>
 171 &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>
 172 &nbsp;·&nbsp;·<br>
 173 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br>
146 </code></p>174 </code></p>
147 <P>175 <P>
148 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the176 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
149 information·is·displayed.··In·anything·other·than·byte·format,·the·information177 information·is·displayed.··In·anything·other·than·byte·format,·the·information
150 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number178 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
151 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional179 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
152 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no180 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 175, 14 lines modifiedOffset 203, 21 lines modified
175 <P>203 <P>
176 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are204 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
177 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros205 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
178 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it206 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
179 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer207 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
180 available.··So:208 available.··So:
181 ··<p><code>209 ··<p><code>
 210 <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>
 211 &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>
 212 &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>
 213 &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>
 214 &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>
 215 &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>
 216 <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>
182 </code></p>217 </code></p>
183 <P>218 <P>
184 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included219 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
185 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the220 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
186 second·statement·will·fail.)221 second·statement·will·fail.)
187 <P>222 <P>
188 <h3><a·name="template">TEMPLATE</a></h3>223 <h3><a·name="template">TEMPLATE</a></h3>
6.9 KB
html2text {}
    
Offset 6, 31 lines modifiedOffset 6, 63 lines modified
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················purpose.·The·output·file's·name,·the·current·date6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················purpose.·The·output·file's·name,·the·current·date
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················and·time,·and·the·contents·of·another·file·may·be7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················and·time,·and·the·contents·of·another·file·may·be
8  ·HTP·Tags··················included.·Another·file's·time,·date,·or·size·may·be8  ·HTP·Tags··················included.·Another·file's·time,·date,·or·size·may·be
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············added·to·the·output·file·as·well.9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············added·to·the·output·file·as·well.
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················As·with·all·HTML,·these·tags·do·not·have·to·be·on10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················As·with·all·HTML,·these·tags·do·not·have·to·be·on
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············their·own·line,·so·the·following·is·perfectly11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············their·own·line,·so·the·following·is·perfectly
12  · ···_\x8D_\x8E_\x8F···················acceptable:12  · ···_\x8D_\x8E_\x8F···················acceptable:
13  ·[>]·_\x8F_\x8I_\x8L_\x8E··················<_.[_.[_.r_.e_.f_.]_.]_.Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]>13  ·[>]·_\x8F_\x8I_\x8L_\x8E·················· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10">
14  · ···_\x8I_\x8F 
15  · ···_\x8I_\x8N_\x8C···················expand]> 
16  · ···_\x8I_\x8M_.G···················<...·$macroname·...>14  · ···_\x8I_\x8F···················· · ·...
17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············<...·${macroname}·...>15  · ···_\x8I_\x8N_.C··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i>
 16  · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
18  · ···_\x8O_\x8P_\x8T18  · ···_\x8O_\x8P_\x8T
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont">
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·</font>
 21  · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<bigfont>Some·large·text</bigfont>
19  · ···_\x8O_.U_.T_.P_.U_.T················*\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*24  · ···_\x8U_.S_.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*
20  · ···_\x8Q_.U_.O_.T_\x8E·················To·include·information·about·another·file,·such·as25  · ···_\x8W_.H_.I_.L_\x8E·················To·include·information·about·another·file,·such·as
21  · ···_\x8S_.E_.T···················an·archive·file·or·graphic·image,·specify·its·name26  · ···_\x8<_.!_.-_.-_.-·················an·archive·file·or·graphic·image,·specify·its·name
22  · ···_.U_.N_.D_.E_.F·················with·the·NAME·attribute·followed·by·the·type·of27  ·_.H_.i_.s_.t_.o_.r_.y···················with·the·NAME·attribute·followed·by·the·type·of
23  · ···_.U_.N_.S_.E_.T·················information·to·be·displayed:28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················information·to·be·displayed:
24  · ···_.U_.S_.E_.,_.·_.$················ · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr>29  ·_.B_.u_.g_.s······················ ·<_.[_.[_.r_.e_.f_.]_.]_.D_.E_.F·NAME="HEADERIMG"·OPTION="SRC·TITLE
 30 ····························SIZE">
 31 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 32 ···························· · · · ·<FONT·SIZE=${size}>
 33 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 34 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 35 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 36 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 37 ···························· · · · ·</FONT>
 38 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 39 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
  
 40 ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 41 ····························title">
  
 42 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 43 ····························title">
  
 44 ···························· ·This·will·fail:
 45 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 46 ····························TITLE="Another·title">
  
 47 ···························· ·Instead,·use·*·like·this:
 48 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 49 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 50 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 51 ···························· · 
 52 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
25  · ···_.W_.H_.I_.L_.E·················For·file·size·information,·the·value·BYTE,·KBYTE,53 ····························For·file·size·information,·the·value·BYTE,·KBYTE,
26  · ···_.<_.!_.-_.-_.-·················etc.·dictates·how·the·information·is·displayed.·In54 ····························etc.·dictates·how·the·information·is·displayed.·In
27  ·_.H_.i_.s_.t_.o_.r_.y···················anything·other·than·byte·format,·the·information·is55 ····························anything·other·than·byte·format,·the·information·is
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················displayed·in·floating-point·notation.·The·amount·of56 ····························displayed·in·floating-point·notation.·The·amount·of
29  ·_.B_.u_.g_.s······················precision·(the·number·of·digits·to·the·right·of·the57 ····························precision·(the·number·of·digits·to·the·right·of·the
30 ····························decimal·point)·can·be·set·with·the·optional58 ····························decimal·point)·can·be·set·with·the·optional
31 ····························PRECISION·attribute.·The·default·precision·is·zero59 ····························PRECISION·attribute.·The·default·precision·is·zero
32 ····························(0),·which·means·no·fractional·portion·is60 ····························(0),·which·means·no·fractional·portion·is
33 ····························displayed.61 ····························displayed.
34 ····························At·the·request·of·many·people,·the·TIME·and·DATE62 ····························At·the·request·of·many·people,·the·TIME·and·DATE
35 ····························attributes·will·now·accept·formatting·characters63 ····························attributes·will·now·accept·formatting·characters
36 ····························that·are·passed·directly·into·the·ANSI·C·library64 ····························that·are·passed·directly·into·the·ANSI·C·library
Offset 56, 14 lines modifiedOffset 88, 21 lines modified
56 ····························Additional·parameters·can·be·set·in·the·FILE88 ····························Additional·parameters·can·be·set·in·the·FILE
57 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that89 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that
58 ····························are·"passed"·to·the·included·file.·The·macros·are90 ····························are·"passed"·to·the·included·file.·The·macros·are
59 ····························available·only·to·the·include·file·(and·any·macros91 ····························available·only·to·the·include·file·(and·any·macros
60 ····························or·included·files·it·holds).·After·the·file·is92 ····························or·included·files·it·holds).·After·the·file·is
61 ····························completely·included,·the·macros·are·no·longer93 ····························completely·included,·the·macros·are·no·longer
62 ····························available.·So:94 ····························available.·So:
 95 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti">
 96 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1">
 97 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}>
 98 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}>
 99 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
 100 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e>
 101 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti">
63 ····························Macros·named·"name"·and·"email"·are·set,·and102 ····························Macros·named·"name"·and·"email"·are·set,·and
64 ····························available·inside·the·included·file.·They·are·not103 ····························available·inside·the·included·file.·They·are·not
65 ····························available,·however,·past·the·tag·(which·is·why·the104 ····························available,·however,·past·the·tag·(which·is·why·the
66 ····························second·statement·will·fail.)105 ····························second·statement·will·fail.)
67 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*106 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*
68 ····························A·template·file·is·nothing·more·than·a·default107 ····························A·template·file·is·nothing·more·than·a·default
69 ····························include·file,·one·that·is·included·once·the·input108 ····························include·file,·one·that·is·included·once·the·input
6.95 KB
./usr/share/doc/htp/if.html
    
Offset 122, 26 lines modifiedOffset 122, 29 lines modified
122 <h2>synopsis</h2>122 <h2>synopsis</h2>
123 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building123 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
124 blocks·for·conditional·processing.··The·basic·form·is·shown·above.124 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
125 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A125 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
126 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal126 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
127 string:127 string:
128 ··<p><code>128 ··<p><code>
 129 <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>
 130 &nbsp;·...<br>
 131 <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>
129 <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> 
130 <br> 
131 expand]><br> 
132 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
133 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
134 <br> 
135 </code></p>132 </code></p>
136 <P>133 <P>
137 and·a·defined·operator·is·a·test·of·a·macro's·existance:134 and·a·defined·operator·is·a·test·of·a·macro's·existance:
138 <P>135 <P>
139 ··<p><code>136 ··<p><code>
 137 &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>
 138 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br>
140 &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>139 &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>
 140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<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>
 141 &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>
 142 &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>
 143 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
141 </code></p>144 </code></p>
142 <P>145 <P>
143 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the146 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
144 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that147 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
145 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the148 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
146 ELSE·block·is·taken·if·it·is·present.··A·conditional·block149 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
147 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.150 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
3.45 KB
html2text {}
    
Offset 4, 33 lines modifiedOffset 4, 37 lines modified
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················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·building5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\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
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················blocks·for·conditional·processing.·The·basic·form6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················blocks·for·conditional·processing.·The·basic·form
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················is·shown·above.7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················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:10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················value·of·a·macro·against·a·literal·string:
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz>
 12  · ···_\x8D_\x8E_\x8F··················· ·...
 13  · ···_\x8F_\x8I_\x8L_\x8E··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f>
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]> 
12  · ···_\x8D_\x8E_\x8F 
13  · ···_\x8F_\x8I_\x8L_\x8E··················expand]> 
14  ·[>]·_\x8I_\x8F····················<...·$macroname·...> 
15  · ···_\x8I_\x8N_\x8C···················<...·${macroname}·...> 
16  · ···_\x8I_\x8M_\x8G 
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············and·a·defined·operator·is·a·test·of·a·macro's14  ·[>]·_.I_.F····················and·a·defined·operator·is·a·test·of·a·macro's
18  · ···_\x8O_.P_.T···················existance:15  · ···_\x8I_.N_.C···················existance:
 16  · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0">
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section">
 18  · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················global>
 21  · ···_\x8S_\x8E_\x8T··················· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
19  · ···_\x8O_.U_.T_.P_.U_.T················ · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr>22  · ···_\x8U_.N_.D_.E_.F················· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
20  · ···_\x8Q_.U_.O_.T_.E·················If·the·NOT·tag·is·present·in·the·IF·markup,·the24  · ···_\x8U_.S_.E_.,_.·_.$················If·the·NOT·tag·is·present·in·the·IF·markup,·the
21  · ···_\x8S_.E_.T···················evaluation·of·the·conditional·is·reversed.·The25  · ···_\x8W_.H_.I_.L_.E·················evaluation·of·the·conditional·is·reversed.·The
22  · ···_\x8U_.N_.D_.E_.F·················first·IF·or·ELSEIF·condition·that·evaluates·to·true26  · ···_\x8<_.!_.-_.-_.-·················first·IF·or·ELSEIF·condition·that·evaluates·to·true
23  · ···_.U_.N_.S_.E_.T·················is·chosen.·If·none·of·the·conditions·is·true·the27  ·_.H_.i_.s_.t_.o_.r_.y···················is·chosen.·If·none·of·the·conditions·is·true·the
24  · ···_.U_.S_.E_.,_.·_.$················ELSE·block·is·taken·if·it·is·present.·A·conditional28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················ELSE·block·is·taken·if·it·is·present.·A·conditional
25  · ···_.W_.H_.I_.L_.E·················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can29  ·_.B_.u_.g_.s······················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················be·nested. 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_.B_.u_.g_.s30 ····························be·nested.
  
  
  
  
  
  
  
  
  
  
5.65 KB
./usr/share/doc/htp/img.html
    
Offset 114, 14 lines modifiedOffset 114, 18 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">APPEND</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>&gt;</span><br>
 122 text·block<br>
 123 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br>
 124 <br>
121 </code></p>125 </code></p>
122 <h2>synopsis</h2>126 <h2>synopsis</h2>
123 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified127 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified
124 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage128 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage
125 of·not·having·to·determine·each·image's·size·manually,·which·is·especially129 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
126 useful·if·the·image·may·change·frequently.·</P>130 useful·if·the·image·may·change·frequently.·</P>
127 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup131 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup
4.47 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 41 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]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND]
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[EXPAND]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················text·block
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T>
 8  ·HTP·Tags
4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*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*
5  ·_.L_.i_.c_.e_.n_.s_.e···················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the10  · ···_.B_.L_.O_.C_.K·················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················specified·image's·width·and·height·to·the·tag11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············specified·image's·width·and·height·to·the·tag
7  ·_.U_.s_.a_.g_.e·····················automatically.·This·has·the·advantage·of·not·having12  · ···_.D_.E_.F···················automatically.·This·has·the·advantage·of·not·having
8  ·HTP·Tags··················to·determine·each·image's·size·manually,·which·is13  · ···_.F_.I_.L_.E··················to·determine·each·image's·size·manually,·which·is
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············especially·useful·if·the·image·may·change14  · ···_\x8I_.F····················especially·useful·if·the·image·may·change
10  · ···_\x8B_.L_.O_.C_.K·················frequently.15  · ···_\x8I_.N_.C···················frequently.
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············htp·adds·this·information·with·the·WIDTH·and·HEIGHT16  ·[>]·_.I_.M_.G···················htp·adds·this·information·with·the·WIDTH·and·HEIGHT
12  · ···_\x8D_.E_.F···················markup·attributes.·If·htp·detects·these·attributes17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············markup·attributes.·If·htp·detects·these·attributes
13  · ···_\x8F_.I_.L_.E··················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify18  · ···_\x8O_.P_.T···················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify
14  · ···_\x8I_.F····················the·values.·If·htp·cannot·find·the·image·file,·it19  · ···_\x8O_.U_.T_.P_.U_.T················the·values.·If·htp·cannot·find·the·image·file,·it
15  · ···_\x8I_.N_.C···················will·issue·a·warning·but·not·halt·processing.20  · ···_\x8Q_.U_.O_.T_.E·················will·issue·a·warning·but·not·halt·processing.
16  ·[>]·_.I_.M_.G···················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG21  · ···_.S_.E_.T···················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············(Portable·Network·Graphics),·and·JFIF·(JPEG·File22  · ···_\x8U_.N_.D_.E_.F·················(Portable·Network·Graphics),·and·JFIF·(JPEG·File
18  · ···_\x8O_.P_.T···················Interchange·Format)·are·supported.23  · ···_\x8U_.N_.S_.E_.T·················Interchange·Format)·are·supported.
19  · ···_\x8O_.U_.T_.P_.U_.T················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or24  · ···_\x8U_.S_.E_.,_.·_.$················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or
20  · ···_\x8Q_.U_.O_.T_\x8E·················not·htp·actually·adds·this·information·as·it25  · ···_\x8W_.H_.I_.L_\x8E·················not·htp·actually·adds·this·information·as·it
21  · ···_\x8S_.E_.T···················executes.26  · ···_\x8<_.!_.-_.-_.-·················executes.
22  · ···_.U_.N_.D_.E_.F·················Since·htp·is·able·to·lookup·files·only·in·the·local27  ·_.H_.i_.s_.t_.o_.r_.y···················Since·htp·is·able·to·lookup·files·only·in·the·local
23  · ···_.U_.N_.S_.E_.T·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map
24  · ···_.U_.S_.E_.,_.·_.$················URLs·to·local·files.29  ·_.B_.u_.g_.s······················URLs·to·local·files.
25  · ···_.W_.H_.I_.L_.E·················htp·can·also·add·default·ALT·text·to·IMG·tags·using30 ····························htp·can·also·add·default·ALT·text·to·IMG·tags·using
26  · ···_.<_.!_.-_.-_.-·················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T.31 ····························_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T.
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_\x8B_\x8u_\x8g_\x8s 
  
  
  
  
  
  
  
  
  
6.36 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 24 lines modifiedOffset 114, 14 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&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">"centered"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br> 
123 &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> 
124 <br> 
125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br> 
126 &nbsp;·&nbsp;·This·text·is·centered.<br> 
127 (CONDENSE|SEMICONDENSE|NOCONDENSE)><br> 
128 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>&gt;</span><br> 
129 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>&gt;</span><br> 
130 <br> 
131 </code></p>121 </code></p>
132 <h2>synopsis</h2>122 <h2>synopsis</h2>
133 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a123 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
134 variable·or·for·variable·addition.··The·basic·form·is·shown·above.124 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
135 <P>125 <P>
136 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a126 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
137 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The127 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
4.51 KB
html2text {}
    
Offset 1, 46 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]_\x8d_\x8e_\x8f·name="centered"> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<p·align=center> 
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 
8  ·HTP·Tags·················· · ·<centered> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·This·text·is·centered. 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················(CONDENSE|SEMICONDENSE|NOCONDENSE)> 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> 
12  · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_.I_.F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
15  ·[>]·_.I_.N_.C···················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a5  ·_.L_.i_.c_.e_.n_.s_.e···················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a
16  · ···_.I_.M_.G···················variable·or·for·variable·addition.·The·basic·form6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················variable·or·for·variable·addition.·The·basic·form
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············is·shown·above.7  ·_.U_.s_.a_.g_.e·····················is·shown·above.
18  · ···_.O_.P_.T···················The·"increment"·is·anything·that·evaluates·to·a8  ·HTP·Tags··················The·"increment"·is·anything·that·evaluates·to·a
19  · ···_\x8O_.U_.T_.P_.U_.T················integer.·It·can·be·a·literal·string·or·a·macro9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············integer.·It·can·be·a·literal·string·or·a·macro
20  · ···_\x8Q_.U_.O_.T_.E·················preceeded·by·the·'$'-operator.·The·macroname·must10  · ···_\x8B_.L_.O_.C_.K·················preceeded·by·the·'$'-operator.·The·macroname·must
21  · ···_\x8S_.E_.T···················be·the·name·of·a·defined·macro·that·contains·an11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············be·the·name·of·a·defined·macro·that·contains·an
22  · ···_\x8U_.N_.D_.E_.F·················integer.·If·the·increment·is·ommitted·it·defaults12  · ···_\x8D_.E_.F···················integer.·If·the·increment·is·ommitted·it·defaults
23  · ···_\x8U_.N_.S_.E_.T·················to·1.·The·effect·of·this·operation·is·that·the13  · ···_\x8F_.I_.L_.E··················to·1.·The·effect·of·this·operation·is·that·the
24  · ···_\x8U_.S_.E_.,_.·_.$················macro·is·redefined·to·contain·the·sum·of·its14  · ···_\x8I_.F····················macro·is·redefined·to·contain·the·sum·of·its
25  · ···_.W_.H_.I_.L_.E·················previous·value·and·its·increment.15  ·[>]·_.I_.N_.C···················previous·value·and·its·increment.
26  · ···_\x8<_.!_.-_.-_.-·················To·increment·or·decrement·a·variable·you·can·use16  · ···_\x8I_.M_.G···················To·increment·or·decrement·a·variable·you·can·use
27  ·_.H_.i_.s_.t_.o_.r_.y···················this·form:17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············this·form:
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Note·that·INC·doesn't·check·if·the·strings·really18  · ···_.O_.P_.T···················Note·that·INC·doesn't·check·if·the·strings·really
29  ·_.B_.u_.g_.s······················denote·integers.·It·may·give·weired·results·when19  · ···_.O_.U_.T_.P_.U_.T················denote·integers.·It·may·give·weired·results·when
30 ····························used·on·arbitrary·strings.·The·integer·values·are20  · ···_.Q_.U_.O_.T_.E·················used·on·arbitrary·strings.·The·integer·values·are
31 ····························limited·to·the·range·-2^31..2^31.21  · ···_.S_.E_.T···················limited·to·the·range·-2^31..2^31.
32 ····························Note·further·that·htp·wasn't·designed·to·do22  · ···_.U_.N_.D_.E_.F·················Note·further·that·htp·wasn't·designed·to·do
33 ····························extensive·calculations.·The·INC·tag·is·useful·in23  · ···_.U_.N_.S_.E_.T·················extensive·calculations.·The·INC·tag·is·useful·in
34 ····························conjunction·with·WHILE·to·iterate·over·the·defined24  · ···_.U_.S_.E_.,_.·_.$················conjunction·with·WHILE·to·iterate·over·the·defined
35 ····························blocks. 
  
  
  
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················blocks.
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
15.4 KB
./usr/share/doc/htp/metatag.html
    
Offset 105, 37 lines modifiedOffset 105, 56 lines modified
105 file</a>.··</p>105 file</a>.··</p>
106 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing106 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing
107 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·htp107 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
108 encounters·a·blockdef·tag·it·will·automatically·search·for·the108 encounters·a·blockdef·tag·it·will·automatically·search·for·the
109 matching·closing·tag·and·put·everything·between·these·tags·in·a·block109 matching·closing·tag·and·put·everything·between·these·tags·in·a·block
110 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>110 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>
111 ··<p><code>111 ··<p><code>
112 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...]</span>&gt;</span><br> 
113 <font·size="-2">&nbsp;2.·</font><br> 
114 <font·size="-2">&nbsp;3.·</font>expand]><br> 
115 <font·size="-2">&nbsp;4.·</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> 
116 <font·size="-2">&nbsp;5.·</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> 
117 <font·size="-2">&nbsp;6.·</font><br> 
118 </code></p>112 </code></p>
119 <h2>Using·parameters</h2>113 <h2>Using·parameters</h2>
120 <p>·More·sophisticated·tags·accept·parameters.··The114 <p>·More·sophisticated·tags·accept·parameters.··The
121 <code>option</code>·parameter·lets·multiple·metatag·parameters·be115 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
122 named·and·expanded·inside·the·<code>def</code>·or116 named·and·expanded·inside·the·<code>def</code>·or
123 <code>blockdef</code>·block:·</p>117 <code>blockdef</code>·block:·</p>
124 ··<p><code>118 ··<p><code>
 119 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br>
 120 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 121 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br>
125 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>122 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 123 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br>
 124 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br>
 125 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 126 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 127 <font·size="-2">&nbsp;9.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 128 <font·size="-2">10.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 129 <font·size="-2">11.·</font><br>
 130 <font·size="-2">12.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br>
 131 <font·size="-2">13.·</font><br>
 132 <font·size="-2">14.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br>
 133 <font·size="-2">15.·</font><br>
 134 <font·size="-2">16.·</font>&nbsp;·This·will·fail:<br>
 135 <font·size="-2">17.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">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>
 136 <font·size="-2">18.·</font><br>
 137 <font·size="-2">19.·</font>&nbsp;·Instead,·use·*·like·this:<br>
 138 <font·size="-2">20.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br>
 139 <font·size="-2">21.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br>
 140 <font·size="-2">22.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 141 <font·size="-2">23.·</font>&nbsp;·&nbsp;·<br>
 142 <font·size="-2">24.·</font>&nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br>
126 </code></p>143 </code></p>
127 <h2>Saving·blocks·for·later</h2>144 <h2>Saving·blocks·for·later</h2>
128 <p>When·you·are·using·templates,·the·html·should·only·be·written·by145 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
129 the·template·file.··The·normal·htp·files·should·just·define·macros146 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·block147 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·this148 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·to149 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
133 do·this:</p>150 do·this:</p>
134 ··<p><code>151 ··<p><code>
 152 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
 153 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
135 </code></p>154 </code></p>
136 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a155 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
137 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is156 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
138 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is157 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
139 build·from·this·counter.··So·the·first·section·is·stored·in·block158 build·from·this·counter.··So·the·first·section·is·stored·in·block
140 sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag159 sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag
141 in·line·4·tells·htp·that·these·macros·should·be·defined·globally160 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
Offset 154, 18 lines modifiedOffset 173, 15 lines modified
154 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be173 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be
155 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the174 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the
156 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you175 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
157 use·expand·in·a·block·around·it.</p>176 use·expand·in·a·block·around·it.</p>
158 <p>To·close·this·example·we·show·how·to·expand·the177 <p>To·close·this·example·we·show·how·to·expand·the
159 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>178 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>
160 ··<p><code>179 ··<p><code>
 180 <font·size="-2">&nbsp;1.·</font>&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>
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">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
162 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<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> 
165 </code></p>181 </code></p>
166 <p>182 <p>
167 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·whether183 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
168 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is184 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is
169 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards185 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards
170 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This186 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This
171 repeats·until·sect-${sect-ctr}·is·not·defined.187 repeats·until·sect-${sect-ctr}·is·not·defined.
5.91 KB
html2text {}
    
Offset 27, 34 lines modifiedOffset 27, 58 lines modified
27 ····························Often·you·want·to·define·tags·that·have·an·opening27 ····························Often·you·want·to·define·tags·that·have·an·opening
28 ····························and·a·closing·variant.·For·this·purpose·you·should28 ····························and·a·closing·variant.·For·this·purpose·you·should
29 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a29 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a
30 ····························blockdef·tag·it·will·automatically·search·for·the30 ····························blockdef·tag·it·will·automatically·search·for·the
31 ····························matching·closing·tag·and·put·everything·between31 ····························matching·closing·tag·and·put·everything·between
32 ····························these·tags·in·a·block·macro·named·block.·Here·is·an32 ····························these·tags·in·a·block·macro·named·block.·Here·is·an
33 ····························example·for·this.33 ····························example·for·this.
34 ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]> 
35 ···························· 2. 
36 ···························· 3.·expand]> 
37 ···························· 4.·<...·$macroname·...> 
38 ···························· 5.·<...·${macroname}·...> 
39 ···························· 6. 
40 ····························*\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*34 ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8*
41 ····························More·sophisticated·tags·accept·parameters.·The35 ····························More·sophisticated·tags·accept·parameters.·The
42 ····························option·parameter·lets·multiple·metatag·parameters36 ····························option·parameter·lets·multiple·metatag·parameters
43 ····························be·named·and·expanded·inside·the·def·or·blockdef37 ····························be·named·and·expanded·inside·the·def·or·blockdef
44 ····························block:38 ····························block:
 39 ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC
 40 ····························TITLE·SIZE">
 41 ···························· 2.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 42 ···························· 3.· · · · ·<FONT·SIZE=${size}>
45 ···························· 1.· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr>43 ···························· 4.· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
 44 ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 45 ···························· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 46 ···························· 7.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 47 ···························· 8.· · · · ·</FONT>
 48 ···························· 9.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 49 ····························10.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 50 ····························11.
 51 ····························12.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 52 ····························title">
 53 ····························13.
 54 ····························14.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 55 ····························title">
 56 ····························15.
 57 ····························16.· ·This·will·fail:
 58 ····························17.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 59 ····························TITLE="Another·title">
 60 ····························18.
 61 ····························19.· ·Instead,·use·*·like·this:
 62 ····························20.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 63 ····························21.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 64 ····························22.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 65 ····························23.· · 
 66 ····························24.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
46 ····························*\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*67 ····························*\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*
47 ····························When·you·are·using·templates,·the·html·should·only68 ····························When·you·are·using·templates,·the·html·should·only
48 ····························be·written·by·the·template·file.·The·normal·htp69 ····························be·written·by·the·template·file.·The·normal·htp
49 ····························files·should·just·define·macros·that·are·used·later70 ····························files·should·just·define·macros·that·are·used·later
50 ····························in·the·template.·So·you·may·want·to·write·block71 ····························in·the·template.·So·you·may·want·to·write·block
51 ····························tags·that·just·save·the·block·in·a·macro·for·later72 ····························tags·that·just·save·the·block·in·a·macro·for·later
52 ····························use.·Although·this·is·possible·with·htp·it·is·quite73 ····························use.·Although·this·is·possible·with·htp·it·is·quite
53 ····························tricky,·so·here·we·present·the·way·to·do·this:74 ····························tricky,·so·here·we·present·the·way·to·do·this:
 75 ···························· 1.·<a·href="mailto:$email">mailto·hyperlink</a>
 76 ···························· 2.·<a·href="http://$domain/~${username}/">another
 77 ····························hyperlink</a>
54 ····························This·defines·a·block·macro·named·section.·This78 ····························This·defines·a·block·macro·named·section.·This
55 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the79 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the
56 ····························sections.·It·is·increased·for·every·section·(line80 ····························sections.·It·is·increased·for·every·section·(line
57 ····························3)·and·then·the·block·macro·name·is·build·from·this81 ····························3)·and·then·the·block·macro·name·is·build·from·this
58 ····························counter.·So·the·first·section·is·stored·in·block82 ····························counter.·So·the·first·section·is·stored·in·block
59 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[83 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[
60 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these84 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these
Offset 77, 18 lines modifiedOffset 101, 15 lines modified
77 ····························block·to·be·expanded·twice.·If·you·omit·it,·it101 ····························block·to·be·expanded·twice.·If·you·omit·it,·it
78 ····························would·be·expanded·when·defining·the·sect-1·macro102 ····························would·be·expanded·when·defining·the·sect-1·macro
79 ····························and·when·using·it·later·in·the·template.·Generally103 ····························and·when·using·it·later·in·the·template.·Generally
80 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use104 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use
81 ····························expand·in·a·block·around·it.105 ····························expand·in·a·block·around·it.
82 ····························To·close·this·example·we·show·how·to·expand·the106 ····························To·close·this·example·we·show·how·to·expand·the
83 ····························sect-${sect-ctr}·blocks·in·the·template:107 ····························sect-${sect-ctr}·blocks·in·the·template:
 108 ···························· 1.· · ·<${tagName}·${attrName}=${value$ctr}>
84 ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> 
85 ···························· 2.· · ·... 
86 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
87 ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
88 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the109 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the
89 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined110 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined
90 ····························the·body·is·evaluated,·which·expands·the·macro·and111 ····························the·body·is·evaluated,·which·expands·the·macro·and
91 ····························increases·sect-ctr.·Afterwards·the·while·condition112 ····························increases·sect-ctr.·Afterwards·the·while·condition
92 ····························is·checked·again·to·check·for·sect-2·macro.·This113 ····························is·checked·again·to·check·for·sect-2·macro.·This
93 ····························repeats·until·sect-${sect-ctr}·is·not·defined.114 ····························repeats·until·sect-${sect-ctr}·is·not·defined.
94 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*115 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*
8.09 KB
./usr/share/doc/htp/quote.html
    
Offset 114, 14 lines modifiedOffset 114, 36 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br>
 122 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br>
 123 <br>
 124 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 125 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 126 &nbsp;·(no·URL·replacement).<br>
 127 <br>
 128 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br>
 129 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 130 <br>
 131 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br>
 132 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 133 &nbsp;·will·not·be·added.<br>
 134 <br>
 135 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 136 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br>
 137 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br>
 138 <br>
 139 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br>
 140 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 141 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 142 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
121 </code></p>143 </code></p>
122 <h2>synopsis</h2>144 <h2>synopsis</h2>
123 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise145 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise
124 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a146 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a
125 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early147 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early
126 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still148 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still
127 done·inside·a·quote·block.149 done·inside·a·quote·block.
4.4 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 71 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:·Q\x8QU\x8UO\x8OT\x8TE\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:·Q\x8QU\x8UO\x8OT\x8TE\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**\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···················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················be·interpreted·by·HTP.·It·may·be·useful·in 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to 
8  ·HTP·Tags··················prevent·early·expansion·of·some·contained·blocks. 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············Note·that·'$'·evaluation·is·still·done·inside·a 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················quote·block. 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F 
12  · ···_.D_.E_.F4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="http://my.domain.org/
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················"·path="/var/www/my.domain/">
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················var/www/other.domain/">
 8  ·HTP·Tags
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·the·local·filename·"logo.gif"·will·be·used·to
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············determine·image·dimensions
 12  · ···_\x8D_\x8E_\x8F··················· ·(no·URL·replacement).
13  · ···_\x8F_\x8I_\x8L_\x8E13  · ···_\x8F_\x8I_\x8L_\x8E
14  · ···_\x8I_\x8F 
15  · ···_\x8I_\x8N_\x8C 
16  · ···_\x8I_\x8M_\x8G 
17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L14  · ···_\x8I_\x8F···················· ·For·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="http://
 15  · ···_\x8I_\x8N_\x8C···················my.domain.org/logo.gif">
 16  · ···_\x8I_\x8M_\x8G··················· ·the·local·filename·"/var/www/my.domain/logo.gif"
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············will·be·used.
18  · ···_\x8O_\x8P_\x8T18  · ···_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T 
20  ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E 
21  · ···_\x8S_\x8E_\x8T 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F 
23  · ···_\x8U_.N_.S_.E_.T19  · ···_\x8O_.U_.T_.P_.U_.T················ ·But·for·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="http://
 20  ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E·················other.domain.org/logo.gif">
 21  · ···_\x8S_\x8E_\x8T··················· ·the·local·file·cannot·be·found·(no·prefix·match),
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················so·the·image·dimensions
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·will·not·be·added.
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8- 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_.B_.u_.g_.s25  · ···_.W_.H_.I_.L_.E················· ·Order·is·important;·last·IMAGEURL·tag·takes
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················precedence:
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/">
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/
 29  ·_\x8B_\x8u_\x8g_\x8s······················test/">
  
 30 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 31 ····························src="/test/image.gif"> are·mapped·to
 32 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/
 33 ····························image.gif,·resp.
 34 ···························· ·If·the·order·of·the·imageurl·lines·would·be
 35 ····························swapped,·the·second
 36 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/
 37 ····························image.gif.
 38 ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
 39 ····························Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise
 40 ····························be·interpreted·by·HTP.·It·may·be·useful·in
 41 ····························conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to
 42 ····························prevent·early·expansion·of·some·contained·blocks.
 43 ····························Note·that·'$'·evaluation·is·still·done·inside·a
 44 ····························quote·block.
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e45  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t46  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e47  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by48 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e49 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y50 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
11.9 KB
./usr/share/doc/htp/set.html
    
Offset 114, 20 lines modifiedOffset 114, 54 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[·...·truncated·by·diffoscope;·len:·44,·SHA:·062d7c6b0f7893e5b4f6fe36e602f6ddb37d5425a5c2feea5b522f84b1eb21fa·...·]>&gt;</span><br>121 &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>
 122 &nbsp;·&nbsp;·...<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">i</span>&gt;</span><br>
 124 &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>
 125 <br>
 126 <br>
 127 &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>
 128 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br>
 129 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 130 <br>
 131 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
122 </code></p>132 </code></p>
123 <h2>synopsis</h2>133 <h2>synopsis</h2>
124 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded134 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
125 anywhere·in·the·HTML·document.··To·create·a·macro:135 anywhere·in·the·HTML·document.··To·create·a·macro:
126 ··<p><code>136 ··<p><code>
 137 &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>
 138 &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>
 139 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br>
 140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br>
 142 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br>
 143 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 144 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 145 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 146 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 147 <br>
 148 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br>
 149 <br>
 150 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br>
 151 <br>
 152 &nbsp;·This·will·fail:<br>
 153 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br>
 154 <br>
 155 &nbsp;·Instead,·use·*·like·this:<br>
 156 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br>
 157 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br>
 158 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 159 &nbsp;·&nbsp;·<br>
 160 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br>
127 </code></p>161 </code></p>
128 <P>162 <P>
129 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">163 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">
130 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular164 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular
131 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the165 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
132 <A·HREF="use.html">'$'</A>·operator.166 <A·HREF="use.html">'$'</A>·operator.
133 <P>167 <P>
6.07 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 74 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_.]_.]_.I_.F·name>...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·...
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
 8  ·HTP·Tags
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont">
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·</font>
 12  · ···_\x8D_\x8E_\x8F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 13  · ···_\x8F_\x8I_\x8L_\x8E
 14  · ···_\x8I_\x8F···················· ·<bigfont>Some·large·text</bigfont>
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*15  · ···_.I_.N_.C···················*\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··················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be16  · ···_.I_.M_.G···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be
7  ·_.U_.s_.a_.g_.e·····················expanded·anywhere·in·the·HTML·document.·To·create·a17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············expanded·anywhere·in·the·HTML·document.·To·create·a
8  ·HTP·Tags··················macro:18  · ···_.O_.P_.T···················macro:
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················SIZE">
 21  ·[>]·_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · · · ·<FONT·SIZE=${size}>
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · · · ·</FONT>
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
  
 30 ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 31 ····························title">
  
 32 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 33 ····························title">
  
 34 ···························· ·This·will·fail:
 35 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 36 ····························TITLE="Another·title">
  
 37 ···························· ·Instead,·use·*·like·this:
 38 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 39 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 40 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 41 ···························· · 
 42 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
9  · ···_.A_.L_.T_.T_.E_.X_.T···············The·macro·"emailaddr"·can·then·be·expanded·later.43 ····························The·macro·"emailaddr"·can·then·be·expanded·later.
10  · ···_.B_.L_.O_.C_.K·················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a44 ····························The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············tag·(i.e.,·into·the·regular·text).·If·the·macro45 ····························tag·(i.e.,·into·the·regular·text).·If·the·macro
12  · ···_.D_.E_.F···················needs·to·be·expanded·inside·a·markup·tag,·use·the46 ····························needs·to·be·expanded·inside·a·markup·tag,·use·the
13  · ···_.F_.I_.L_.E··················_\x8'_\x8$_\x8'·operator.47 ····························_\x8'_\x8$_\x8'·operator.
14  · ···_.I_.F····················Multiple·macros·can·be·declared·in·a·single·markup48 ····························Multiple·macros·can·be·declared·in·a·single·markup
15  · ···_.I_.N_.C···················tag,·as·the·second·syntax·line·shows.49 ····························tag,·as·the·second·syntax·line·shows.
16  · ···_.I_.M_.G···················SET·should·only·be·used·for·a·single·line's·worth50 ····························SET·should·only·be·used·for·a·single·line's·worth
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············of·text.·Multi-line·macros·can·be·defined·with·the51 ····························of·text.·Multi-line·macros·can·be·defined·with·the
18  · ···_.O_.P_.T···················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the52 ····························_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the
19  · ···_.O_.U_.T_.P_.U_.T················macro·contains·a·quotation·character·and·you·don't53 ····························macro·contains·a·quotation·character·and·you·don't
20  · ···_.Q_.U_.O_.T_.E·················want·to·fool·around·with·special·escape·characters.54 ····························want·to·fool·around·with·special·escape·characters.
21  ·[>]·_.S_.E_.T···················Macros·can·be·redefined·by·using·another·SET55 ····························Macros·can·be·redefined·by·using·another·SET
22  · ···_.U_.N_.D_.E_.F·················command·with·the·same·macro·name.·The·prior56 ····························command·with·the·same·macro·name.·The·prior
23  · ···_.U_.N_.S_.E_.T·················definition·will·be·destroyed,·however.·Also,·the57 ····························definition·will·be·destroyed,·however.·Also,·the
24  · ···_.U_.S_.E_.,_.·_.$················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T58 ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················tag. 
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  ·_.B_.u_.g_.s59 ····························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·Sat·Mar·08,·202523 ··last·updated·Fri·Apr·10,·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·Sat·Mar·08,·20258 last·updated·Fri·Apr·10,·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·Sat·Mar·08,·202512 last·updated·Fri·Apr·10,·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·Sat·Mar·08,·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·Fri·Apr·10,·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·Sat·Mar·08,·202520 ··last·updated·Fri·Apr·10,·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·Sat·Mar·08,·20256 last·updated·Fri·Apr·10,·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·Sat·Mar·08,·202520 ··last·updated·Fri·Apr·10,·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·Sat·Mar·08,·20256 last·updated·Fri·Apr·10,·2026
3.92 KB
./usr/share/doc/htp/undef.html
    
Offset 114, 15 lines modifiedOffset 114, 19 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&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>121 &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>
 122 ers·...]·[noexpand]><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 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 125 <br>
122 </code></p>126 </code></p>
123 <h2>synopsis</h2>127 <h2>synopsis</h2>
124 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags128 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags
125 created·by·<A·HREF="def.html">DEF</A>·and·<A129 created·by·<A·HREF="def.html">DEF</A>·and·<A
126 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF130 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF
127 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by131 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by
128 htp·until·it·is·reassigned.··</P>132 htp·until·it·is·reassigned.··</P>
2.51 KB
html2text {}
    
Offset 1, 22 lines modifiedOffset 1, 22 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·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_.E_.T·emailaddr="jnelson@crl.com">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.N_.C·i="1"·j="-1">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················ers·...]·[noexpand]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·$macroname·...>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<...·${macroname}·...>
 8  ·HTP·Tags
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*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*
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags10  · ···_.B_.L_.O_.C_.K·················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·the11  · ···_.B_.L_.O_.C_.K_.D_.E_.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·no12  · ···_.D_.E_.F···················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.13  · ···_\x8F_.I_.L_.E··················longer·be·recognized·by·htp·until·it·is·reassigned.
10  · ···_\x8B_.L_.O_.C_.K·················Multiple·metatags·can·be·removed·by·placing·each14  · ···_\x8I_.F····················Multiple·metatags·can·be·removed·by·placing·each
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············name·as·an·attribute.15  · ···_\x8I_.N_.C···················name·as·an·attribute.
12  · ···_\x8D_\x8E_\x8F 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_\x8I_\x8F 
15  · ···_\x8I_\x8N_\x8C 
16  · ···_\x8I_\x8M_\x8G16  · ···_\x8I_\x8M_\x8G
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
18  · ···_\x8O_\x8P_\x8T18  · ···_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  ·[>]·_\x8U_\x8N_\x8D_\x8E_\x8F22  ·[>]·_\x8U_\x8N_\x8D_\x8E_\x8F
Offset 25, 14 lines modifiedOffset 25, 18 lines modified
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
7.0 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 36 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 &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>121 &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>
 122 ers·...]·[noexpand]><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 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 125 <br>
122 </code></p>126 </code></p>
123 <h2>synopsis</h2>127 <h2>synopsis</h2>
124 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.128 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.
125 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.129 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
126 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or130 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
127 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The131 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
128 old·macro·definition·will·be·removed·automatically.)132 old·macro·definition·will·be·removed·automatically.)
129 <P>133 <P>
130 For·example:134 For·example:
131 ··<p><code>135 ··<p><code>
132 </code></p>136 </code></p>
133 <P>137 <P>
134 More·than·one·macro·may·be·removed·in·the·same·tag:138 More·than·one·macro·may·be·removed·in·the·same·tag:
135 ··<p><code>139 ··<p><code>
 140 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
 141 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
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">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br> 
137 &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> 
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
139 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br> 
141 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br> 
142 <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> 
143 </code></p>142 </code></p>
144 <p>143 <p>
145 </td>144 </td>
146 </tr>145 </tr>
147 <tr>146 <tr>
148 <td·width="20%"·bgcolor="white"·valign="bottom">147 <td·width="20%"·bgcolor="white"·valign="bottom">
149 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">148 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
3.32 KB
html2text {}
    
Offset 1, 28 lines modifiedOffset 1, 28 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·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_.E_.T·emailaddr="jnelson@crl.com">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.N_.C·i="1"·j="-1">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················ers·...]·[noexpand]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·$macroname·...>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<...·${macroname}·...>
 8  ·HTP·Tags
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*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*
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's10  · ···_.B_.L_.O_.C_.K·················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's
7  ·_.U_.s_.a_.g_.e·····················definition.·The·macro·is·subsequently·not·available11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············definition.·The·macro·is·subsequently·not·available
8  ·HTP·Tags··················for·use·in·the·pre-processed·files.·(Note·that12  · ···_.D_.E_.F···················for·use·in·the·pre-processed·files.·(Note·that
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or13  · ···_\x8F_.I_.L_.E··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or
10  · ···_\x8B_.L_.O_.C_.K·················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.14  · ···_\x8I_.F····················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············The·old·macro·definition·will·be·removed15  · ···_\x8I_.N_.C···················The·old·macro·definition·will·be·removed
12  · ···_\x8D_.E_.F···················automatically.)16  · ···_\x8I_.M_.G···················automatically.)
13  · ···_\x8F_.I_.L_.E··················For·example:17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············For·example:
14  · ···_\x8I_.F····················More·than·one·macro·may·be·removed·in·the·same·tag:18  · ···_\x8O_.P_.T···················More·than·one·macro·may·be·removed·in·the·same·tag:
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················<a·href="mailto:$email">mailto·hyperlink</a>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<a·href="http://$domain/~${username}/">another
 21  · ···_\x8S_\x8E_\x8T···················hyperlink</a>
15  · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> 
16  · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> 
18  · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> 
21  · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> 
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
8.15 KB
./usr/share/doc/htp/use.html
    
Offset 133, 14 lines modifiedOffset 133, 21 lines modified
133 attribute·to·prevent·further·expansion.··</p>133 attribute·to·prevent·further·expansion.··</p>
134 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros134 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
135 for·the·expanded·macro.··This·is·only·valid·for·<A135 for·the·expanded·macro.··This·is·only·valid·for·<A
136 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A136 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
137 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For137 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
138 example:</p>138 example:</p>
139 ··<p><code>139 ··<p><code>
 140 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 141 <font·size="-2">&nbsp;2.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br>
 142 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
 143 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br>
 144 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 145 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 146 <font·size="-2">&nbsp;7.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
140 </code></p>147 </code></p>
141 <P>148 <P>
142 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on149 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
143 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and150 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
144 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8151 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8
145 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is152 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
146 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.153 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
Offset 179, 18 lines modifiedOffset 186, 15 lines modified
179 delimiting·the·text·as·if·it·were·additional·markup·attributes.186 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),187 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),
181 quotation·marks·are·not·automatically·supplied.188 quotation·marks·are·not·automatically·supplied.
182 <P>189 <P>
183 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can190 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can
184 be·nested.··This·is·valid:191 be·nested.··This·is·valid:
185 ··<p><code>192 ··<p><code>
 193 &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>
186 &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> 
187 &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">i</span>&gt;</span><br> 
189 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
190 </code></p>194 </code></p>
191 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined195 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined
192 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX196 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX
193 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand197 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand
194 value1.198 value1.
195 <p>199 <p>
196 </td>200 </td>
4.3 KB
html2text {}
    
Offset 15, 22 lines modifiedOffset 15, 30 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.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0">
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section">
 24  ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················expand·global>
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· 5.· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 29  ·_\x8B_\x8u_\x8g_\x8s······················ 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
22  · ···_.U_.N_.D_.E_.F·················(See·below·for·a·description·of·the·'$'·operator.)30 ····························(See·below·for·a·description·of·the·'$'·operator.)
23  · ···_.U_.N_.S_.E_.T·················The·example·on·line·7·works·because·"stuff"·has31 ····························The·example·on·line·7·works·because·"stuff"·has
24  ·[>]·_.U_.S_.E_.,_.·_.$················been·declared·as·a·block·macro,·and·the·tag·is32 ····························been·declared·as·a·block·macro,·and·the·tag·is
25  · ···_.W_.H_.I_.L_.E·················passing·the·"email"·macro·to·the·"stuff"·macro.33 ····························passing·the·"email"·macro·to·the·"stuff"·macro.
26  · ···_.<_.!_.-_.-_.-·················Line·8·fails·because·the·"email"·macro·is34 ····························Line·8·fails·because·the·"email"·macro·is
27  ·_.H_.i_.s_.t_.o_.r_.y···················unavailable·once·the·block·macro·is·completely35 ····························unavailable·once·the·block·macro·is·completely
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················expanded,·and·cannot·be·passed·to·a·SET·macro.36 ····························expanded,·and·cannot·be·passed·to·a·SET·macro.
29  ·_.B_.u_.g_.s······················Note·that·the·"email"·macro·is·available·to·other37 ····························Note·that·the·"email"·macro·is·available·to·other
30 ····························macros·or·included·files·called·within·the·"stuff"38 ····························macros·or·included·files·called·within·the·"stuff"
31 ····························block.39 ····························block.
32 ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any40 ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any
33 ····························other·standard·HTML·or·htp·tag,·the·'$'·operator41 ····························other·standard·HTML·or·htp·tag,·the·'$'·operator
34 ····························must·be·used.·The·'$'·should·be·immediately42 ····························must·be·used.·The·'$'·should·be·immediately
35 ····························followed·by·the·macro·name,·which·may·or·may·not·be43 ····························followed·by·the·macro·name,·which·may·or·may·not·be
36 ····························surrounded·by·curly·braces.·When·htp·encounters44 ····························surrounded·by·curly·braces.·When·htp·encounters
Offset 58, 18 lines modifiedOffset 66, 15 lines modified
58 ····························it·with·quotation·marks·to·prevent·spaces·from66 ····························it·with·quotation·marks·to·prevent·spaces·from
59 ····························delimiting·the·text·as·if·it·were·additional·markup67 ····························delimiting·the·text·as·if·it·were·additional·markup
60 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other68 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other
61 ····························text·(as·in·the·two·examples·above),·quotation69 ····························text·(as·in·the·two·examples·above),·quotation
62 ····························marks·are·not·automatically·supplied.70 ····························marks·are·not·automatically·supplied.
63 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a71 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a
64 ····························markup·tag·and·can·be·nested.·This·is·valid:72 ····························markup·tag·and·can·be·nested.·This·is·valid:
 73 ···························· · ·<${tagName}·${attrName}=${value$ctr}>
65 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> 
66 ···························· · ·... 
67 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
68 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
69 ····························The·tagName·macro·can·contain·any·tag·name,·even·a74 ····························The·tagName·macro·can·contain·any·tag·name,·even·a
70 ····························self-defined·metatag.·Note·that·$ctr·is·expanded75 ····························self-defined·metatag.·Note·that·$ctr·is·expanded
71 ····························before·the·valueX·macro·is·expanded,·so·assuming76 ····························before·the·valueX·macro·is·expanded,·so·assuming
72 ····························that·ctr·was·set·to·1·it·will·expand·value1.77 ····························that·ctr·was·set·to·1·it·will·expand·value1.
  
  
  
10.7 KB
./usr/share/doc/htp/while.html
    
Offset 114, 44 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 &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>
 122 ers·...]·[noexpand]><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 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 125 <br>
121 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br> 
122 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br> 
123 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br> 
126 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br> 
127 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br> 
128 </code></p>126 </code></p>
129 <h2>synopsis</h2>127 <h2>synopsis</h2>
130 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.128 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.
131 The·basic·form·is·shown·above.129 The·basic·form·is·shown·above.
132 <P>130 <P>
133 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.131 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
134 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.132 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.
135 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the133 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
136 conditional·is·reversed:134 conditional·is·reversed:
137 ··<p><code>135 ··<p><code>
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
139 &nbsp;·&nbsp;·...<br> 
140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
141 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
142 </code></p>136 </code></p>
143 <P>137 <P>
144 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
145 macro's·existance:139 macro's·existance:
146 ··<p><code>140 ··<p><code>
 141 &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>
147 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>142 &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>
148 &nbsp;·&nbsp;·...<br> 
149 &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>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">sect-ctr</span>&gt;</span><br>
 144 &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>
 145 &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>
 146 &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>
150 &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>147 &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>
151 </code></p>148 </code></p>
152 <P>149 <P>
153 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the150 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
154 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the151 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
155 WHILE·tag·it·is·also·reevaluated·on·each·iteration.152 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
156 <P>153 <P>
157 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.154 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.
4.83 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_.]_.]_.f_.i_.l_.e·include="header.hti">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i="1"·j="-1">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················ers·...]·[noexpand]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·$macroname·...>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<...·${macroname}·...>
 8  ·HTP·Tags
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> 
8  ·HTP·Tags·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> 
11  · ···_\x8B_.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*9  · ···_\x8A_.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*
12  · ···_\x8D_.E_.F···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated10  · ···_\x8B_.L_.O_.C_.K·················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated
13  · ···_\x8F_.I_.L_.E··················processing.·The·basic·form·is·shown·above.11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············processing.·The·basic·form·is·shown·above.
14  · ···_\x8I_.F····················"Conditional"·is·either·a·"compare"·or·"is·defined"12  · ···_\x8D_.E_.F···················"Conditional"·is·either·a·"compare"·or·"is·defined"
15  · ···_\x8I_.N_.C···················operation.·A·compare·operator·is·a·test·of·the13  · ···_\x8F_.I_.L_.E··················operation.·A·compare·operator·is·a·test·of·the
16  · ···_\x8I_\x8M_.G···················value·of·a·macro·against·a·literal·string.·If·the14  · ···_\x8I_\x8F····················value·of·a·macro·against·a·literal·string.·If·the
17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············NOT·tag·is·present·in·the·WHILE·markup,·the15  · ···_\x8I_\x8N_.C···················NOT·tag·is·present·in·the·WHILE·markup,·the
18  · ···_\x8O_.P_.T···················evaluation·of·the·conditional·is·reversed:16  · ···_\x8I_.M_.G···················evaluation·of·the·conditional·is·reversed:
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·... 
21  · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
23  · ···_\x8U_.N_.S_.E_.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
24  · ···_\x8U_.S_.E_.,_.·_.$················macro's·existance:18  · ···_\x8O_.P_.T···················macro's·existance:
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0">
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section">
 21  · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················global>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·... 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
29  ·_\x8B_.u_.g_.s······················If·the·condition·is·true,·the·block·is·evaluated27  ·_\x8H_.i_.s_.t_.o_.r_.y···················If·the·condition·is·true,·the·block·is·evaluated
30 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················and·afterwards·the·WHILE·tag·is·evaluated·again.·If
31 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is29  ·_.B_.u_.g_.s······················the·'$'-operator·is·used·in·the·WHILE·tag·it·is
32 ····························also·reevaluated·on·each·iteration.30 ····························also·reevaluated·on·each·iteration.
33 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.31 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.