198 KB
/srv/reproducible-results/rbuild-debian/r-b-build.L0fpfAma/b1/htp_1.19-8_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.L0fpfAma/b2/htp_1.19-8_arm64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·feb469b50620186466826972ac3988e0·70468·debug·optional·htp-dbgsym_1.19-8_arm64.deb1 ·feb469b50620186466826972ac3988e0·70468·debug·optional·htp-dbgsym_1.19-8_arm64.deb
2 ·bfb59a73f683fa463b38ad6174c9bf32·116692·web·optional·htp_1.19-8_arm64.deb2 ·8343f9f951e381b3c547a5e214e6116e·116940·web·optional·htp_1.19-8_arm64.deb
198 KB
htp_1.19-8_arm64.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary
2 -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···112884·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···113132·2020-06-14·23:21:19.000000·data.tar.xz
563 B
control.tar.xz
535 B
control.tar
465 B
./control
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 Package:·htp1 Package:·htp
2 Version:·1.19-82 Version:·1.19-8
3 Architecture:·arm643 Architecture:·arm64
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6475 Installed-Size:·656
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
197 KB
data.tar.xz
197 KB
data.tar
15.0 KB
file list
    
Offset 1, 27 lines modifiedOffset 1, 27 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/
4 -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/
6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/
8 -rw-r--r--···0·root·········(0)·root·········(0)····10728·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)·····9546·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)·····9462·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····9462·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html
11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp
12 -rw-r--r--···0·root·········(0)·root·········(0)····10096·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····8100·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)·····9751·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)····14813·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)····14254·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····19910·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html
21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp
22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html
23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp
24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/
25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub
26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti
27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt
Offset 32, 64 lines modifiedOffset 32, 64 lines modified
32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp
33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html
34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp
35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def
36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html
37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp
38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt
39 -rw-r--r--···0·root·········(0)·root·········(0)····11553·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)····14682·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)····15646·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····14335·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)····12128·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)·····9039·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)·····9751·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)····12301·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)·····8781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8662·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)·····9087·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)····11607·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)····14338·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····16321·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)·····8141·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····8141·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)·····8130·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····8282·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp
75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/
76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png
77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png
78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png
79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png
80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png
81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png
82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png
83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png
84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png
85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····8008·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)·····8008·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html
87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp
88 -rw-r--r--···0·root·········(0)·root·········(0)····11277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····9189·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)·····9042·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····8015·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)····11129·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····9232·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)····12088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····12127·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)····10319·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)····10282·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/
10.1 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 41 lines modifiedOffset 114, 35 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br> 
122 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br>121 <span·class="htp-tag">&lt;<a·href="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">"blockname"</span>·<span·class="ebnf">[</span><span·class="htp-att[·...·truncated·by·diffoscope;·len:·149,·SHA:·49dfd84ac7aca5220a5f1bed63f440279d146be0ec423b34a57498d1917cf24e·...·]<br>
 122 text·block<br>
123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>123 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/BLOCK</a>&gt;</span><br>
124 <br>124 <br>
125 </code></p>125 </code></p>
126 <h2>synopsis</h2>126 <h2>synopsis</h2>
127 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A127 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
128 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.128 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
129 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the129 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
130 filename·is·considered·in·all·comparisons.130 filename·is·considered·in·all·comparisons.
131 <p>131 <p>
132 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT132 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT
133 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to133 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to
134 be·overridden·on·specific·images·and·default·text·on·all·others.134 be·overridden·on·specific·images·and·default·text·on·all·others.
135 <p>135 <p>
136 For·example:136 For·example:
137 ··<p><code>137 ··<p><code>
 138 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="htp-attrib">[option</span>=<span·class="htp-string">"option1·[option2·...]"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[global]</span>·<span·class="htp-attrib">[expand]</span>&gt;</span><br>
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br> 
139 <br> 
140 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>139 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br>
 140 <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 &nbsp;·becomes·this·after·processing:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br> 
142 <br> 
143 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>&gt;</span><br> 
144 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br> 
145 <br>141 <br>
146 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>&gt;</span><br> 
147 &nbsp;·remains·unchanged.<br> 
148 </code></p>142 </code></p>
149 <p>143 <p>
150 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT144 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT
151 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not145 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not
152 changed.146 changed.
153 <p>147 <p>
154 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,148 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,
5.21 KB
html2text {}
    
Offset 1, 45 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:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="tagname"·[option="option1 
5  ·_\x8L_.i_.c_.e_.n_.s_.e···················[option2·...]"·]·[global]·[expand]>4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············<_.[_.[_.r_.e_.f_.]_.]_.B_.L_.O_.C_.K·NAME="blockname"·[GLOBAL]·[EXPAND]>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················text·block
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·...·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·block> ...6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_.[_.[_.r_.e_.f_.]_.]_./_.B_.L_.O_.C_.K>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
8  ·HTP·Tags 
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*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
10  · ···_.B_.L_.O_.C_.K·················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag9  ·[>]·_.A_.L_.T_.T_.E_.X_.T···············A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············with·a·SRC·matching·the·ALTTEXT·NAME.·Since10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················with·a·SRC·matching·the·ALTTEXT·NAME.·Since
12  · ···_\x8D_.E_.F···················relative·paths·can·be·used·to·point·to·the·same11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············relative·paths·can·be·used·to·point·to·the·same
13  · ···_\x8F_.I_.L_.E··················image,·only·the·filename·is·considered·in·all12  · ···_\x8D_.E_.F···················image,·only·the·filename·is·considered·in·all
14  · ···_\x8I_.F····················comparisons.13  · ···_\x8F_.I_.L_.E··················comparisons.
15  · ···_\x8I_\x8N_.C···················When·an·IMG·tag·with·a·matching·source·is14  · ···_\x8I_\x8F····················When·an·IMG·tag·with·a·matching·source·is
16  · ···_\x8I_\x8M_.G···················encountered,·htp·will·add·an·ALT·attribute·only·if15  · ···_\x8I_\x8N_.C···················encountered,·htp·will·add·an·ALT·attribute·only·if
17  · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············one·is·not·already·present.·This·allows·for·ALT16  · ···_\x8I_\x8M_\x8G···················one·is·not·already·present.·This·allows·for·ALT
18  · ···_\x8O_.P_.T···················text·to·be·overridden·on·specific·images·and17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············text·to·be·overridden·on·specific·images·and
19  · ···_\x8O_\x8U_.T_.P_.U_.T················default·text·on·all·others.18  · ···_\x8O_\x8P_.T···················default·text·on·all·others.
20  · ···_\x8Q_.U_.O_.T_.E·················For·example:19  · ···_\x8O_.U_.T_.P_.U_.T················For·example:
21  · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_\x8l_\x8t_\x8t_\x8e_\x8x_\x8t·name="logo.gif"·text="Company 
22  · ···_\x8U_.N_.D_.E_.F·················logo">20  · ···_\x8Q_.U_.O_.T_.E·················<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="tagname"·[option="option1
 21  · ···_\x8S_\x8E_\x8T···················[option2·...]"·]·[global]·[expand]>
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·...·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> ...
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
23  · ···_\x8U_\x8N_.S_.E_.T24  · ···_\x8U_\x8S_.E_.,_.·_.$
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················src="logo.gif"·alt="Company·logo"> 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> 
29  ·_\x8B_\x8u_\x8g_\x8s······················ ·will·also·have·an·ALT·attribute·appended·to·it 
  
30 ···························· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click 
31 ····························here·for·more·information!"> 
32 ···························· ·remains·unchanged. 
33 ····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute25  · ···_.W_.H_.I_.L_.E·················An·ALTTEXT·tag·with·a·name·but·no·text·attribute
34 ····························removes·any·ALT·mapping·for·this·image.·Successing26  · ···_.<_.!_.-_.-_.-·················removes·any·ALT·mapping·for·this·image.·Successing
35 ····························IMG·tags·with·a·matching·SRC·name·are·not·changed.27  ·_.H_.i_.s_.t_.o_.r_.y···················IMG·tags·with·a·matching·SRC·name·are·not·changed.
36 ····························Since·this·is·useful·for·an·image·used·throughout·a28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Since·this·is·useful·for·an·image·used·throughout·a
37 ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an29  ·_.B_.u_.g_.s······················set·of·documents,·ALTTEXT·is·most·appropriate·in·an
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.30 ····························_\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.
39 ····························In·addition·to·ALTTEXT,·htp·can·also·automatically31 ····························In·addition·to·ALTTEXT,·htp·can·also·automatically
40 ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.32 ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.
  
  
  
  
7.37 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 37 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="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=[·...·truncated·by·diffoscope;·len:·46,·SHA:·0ff5d8d8937dfac2ca9aeec80933f1b3b39e9404952ecfbc793e1ae0e2883768·...·]&gt;</span><br>121 <span·class="comment">&lt;!---·comment·---&gt;</span><br>
122 <br>122 <br>
123 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br> 
124 &nbsp;·becomes·this·after·processing:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br> 
125 <br> 
126 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>&gt;</span><br> 
127 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br> 
128 <br> 
129 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>&gt;</span><br> 
130 &nbsp;·remains·unchanged.<br> 
131 </code></p>123 </code></p>
132 <h2>synopsis</h2>124 <h2>synopsis</h2>
133 <strong>BLOCKDEF</strong>·creates·block·<A125 <strong>BLOCKDEF</strong>·creates·block·<A
134 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it126 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
135 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block127 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
136 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and128 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
137 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored129 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
138 in·the·block·macro·named·BLOCK.130 in·the·block·macro·named·BLOCK.
139 <P>·For·example:</P>131 <P>·For·example:</P>
140 ··<p><code>132 ··<p><code>
 133 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
141 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="htp-attrib">[option</span>=<span·class="htp-string">"option1·[option2·...]"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[global]</span>·<span·class="htp-attrib">[expand]</span>&gt;</span><br> 
142 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
143 <br> 
144 </code></p>134 </code></p>
145 <p>135 <p>
146 All·block·metatags·have·the·implicit·option·<a136 All·block·metatags·have·the·implicit·option·<a
147 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents137 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
148 of·the·block·before·the·definition·is·expanded.138 of·the·block·before·the·definition·is·expanded.
149 </p>139 </p>
150 <p>140 <p>
4.23 KB
html2text {}
    
Offset 1, 49 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:·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··············<!---·comment·--->
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_\x8l_\x8t_\x8t_\x8e_\x8x_\x8t·name="logo.gif"·text="Company 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················logo"> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
8  ·HTP·Tags·················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo"> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K 
11  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> 
12  · ···_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click 
15  · ···_\x8I_\x8N_\x8C···················here·for·more·information!"> 
16  · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged. 
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
18  · ···_.O_.P_.T···················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy7  ·_.U_.s_.a_.g_.e·····················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy
19  · ···_.O_.U_.T_.P_.U_.T················way·of·saying·it·creates·new·block·tags.·A·block8  ·HTP·Tags··················way·of·saying·it·creates·new·block·tags.·A·block
20  · ···_\x8Q_.U_.O_.T_.E·················tag·is·a·tag·that·takes·a·whole·block·as·additional9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············tag·is·a·tag·that·takes·a·whole·block·as·additional
21  · ···_\x8S_.E_.T···················parameter.·This·block·is·surrounded·by·<tagname>10  · ···_\x8B_.L_.O_.C_.K·················parameter.·This·block·is·surrounded·by·<tagname>
22  · ···_.U_.N_.D_.E_.F·················and·</tagname>.·The·contents·of·this·block·are11  ·[>]·_.B_.L_.O_.C_.K_.D_.E_.F··············and·</tagname>.·The·contents·of·this·block·are
23  · ···_\x8U_.N_.S_.E_.T·················automatically·stored·in·the·block·macro·named12  · ···_\x8D_.E_.F···················automatically·stored·in·the·block·macro·named
24  · ···_\x8U_.S_.E_.,_.·_.$················BLOCK.13  · ···_\x8F_.I_.L_.E··················BLOCK.
25  · ···_\x8W_.H_.I_.L_.E·················For·example:14  · ···_\x8I_.F····················For·example:
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="tagname"·[option="option1 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················[option2·...]"·]·[global]·[expand]> 
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>15  · ···_.I_.N_.C···················<!---·This·comment·doesn't·appear·in·the·HTML·file
 16  · ···_\x8I_\x8M_\x8G···················--->
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,
 18  · ···_\x8O_\x8P_\x8T···················which·tells·htp·to·expand·the·contents·of·the·block
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················before·the·definition·is·expanded.
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················A·more·thorough·discussion·and·more·elaborate
 21  · ···_\x8S_\x8E_\x8T···················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.
 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  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
30 ····························All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, 
31 ····························which·tells·htp·to·expand·the·contents·of·the·block 
32 ····························before·the·definition·is·expanded. 
33 ····························A·more·thorough·discussion·and·more·elaborate 
34 ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
13.0 KB
./usr/share/doc/htp/comment.html
    
Offset 125, 40 lines modifiedOffset 125, 50 lines modified
125 <h2>synopsis</h2>125 <h2>synopsis</h2>
126 <p>126 <p>
127 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful127 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
128 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.128 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
129 Example:129 Example:
130 </p>130 </p>
131 ··<p><code>131 ··<p><code>
 132 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
132 &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> 
133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br> 
134 &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> 
135 <br> 
136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br> 
137 &nbsp;·&nbsp;·This·text·is·centered.<br> 
138 </code></p>133 </code></p>
139 <p>134 <p>
140 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you135 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
141 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something136 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
142 like·this:137 like·this:
143 </p>138 </p>
144 ··<p><code>139 ··<p><code>
145 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>140 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 141 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
 142 &nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
146 &nbsp;·&nbsp;·block·#1<br> 
147 [<br> 
148 <span·class="htp-tag">&lt;ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
149 &nbsp;·&nbsp;·block·#2<br> 
150 ...<br> 
151 ]<br> 
152 [<br> 
153 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
154 &nbsp;·&nbsp;·block·#3<br> 
155 ]<br> 
156 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>143 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
157 <br>144 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 145 &nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 146 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 147 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 148 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 149 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>&gt;</span><br>
 150 &nbsp;·contents·of·a:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 151 &nbsp;·contents·of·b:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 152 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 153 &nbsp;·&nbsp;·c·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 154 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 155 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 156 &nbsp;·&nbsp;·d·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 157 &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>
 158 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>&gt;</span><br>
 159 &nbsp;·&nbsp;·e·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 160 &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>
 161 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>&gt;</span><br>
 162 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
 163 &nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 164 &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>
 165 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>&gt;</span><br>
 166 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>&gt;</span><br>
 167 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>&gt;</span><br>
158 </code></p>168 </code></p>
159 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the169 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
160 reason·why·you·don't·want·to·include·this·block</p>170 reason·why·you·don't·want·to·include·this·block</p>
161 <p>171 <p>
162 </td>172 </td>
163 </tr>173 </tr>
164 <tr>174 <tr>
4.86 KB
html2text {}
    
Offset 6, 36 lines modifiedOffset 6, 51 lines modified
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>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_\x8e7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············This·is·a·simple·comment·that·is·not·included·in9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············This·is·a·simple·comment·that·is·not·included·in
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················the·output.·This·is·useful·when·commenting10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················the·output.·This·is·useful·when·commenting
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············metatags,·since·the·metatags·do·not·appear·the11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············metatags,·since·the·metatags·do·not·appear·the
12  · ···_\x8D_\x8E_\x8F···················output·either.·Example:12  · ···_\x8D_\x8E_\x8F···················output·either.·Example:
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="centered">13  · ···_\x8F_\x8I_\x8L_\x8E··················<!---·This·comment·doesn't·appear·in·the·HTML·file
14  · ···_\x8I_\x8F···················· · ·<p·align=center>14  · ···_\x8I_\x8F····················--->
15  · ···_\x8I_\x8N_\x8C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
16  · ···_\x8I_\x8M_\x8G 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<centered> 
18  · ···_\x8O_\x8P_\x8T··················· · ·This·text·is·centered. 
19  · ···_\x8O_.U_.T_.P_.U_.T················Note·that·these·comments·should·not·include·<·or·>,15  · ···_\x8I_.N_.C···················Note·that·these·comments·should·not·include·<·or·>,
20  · ···_\x8Q_.U_.O_.T_.E·················that·is·you·should·not·use·it·to·comment·out·htp16  · ···_\x8I_.M_.G···················that·is·you·should·not·use·it·to·comment·out·htp
21  · ···_\x8S_.E_.T···················code.·For·that·purpose·use·something·like·this:17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············code.·For·that·purpose·use·something·like·this:
 18  · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="0">
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
 21  · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<_.[_.[_.r_.e_.f_.]_.]_.I_.F·[NOT]·conditional>22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name=b·expand>
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·block·#1 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················[ 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················<ELSEIF·[NOT]·conditional> 
26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·block·#2 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················... 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················] 
29  ·_\x8B_\x8u_\x8g_\x8s······················[ 
30 ····························<ELSE> 
31 ···························· · ·block·#323  · ···_.U_.N_.S_.E_.T················· · ·b·is·expanded·at·time·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>.
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1">
 26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a>
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b>
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 29  ·_\x8B_\x8u_\x8g_\x8s······················ ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand>
 30 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand>
 31 ···························· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 32 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a>
 33 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 34 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand>
 35 ···························· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 36 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 37 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 38 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e>
 39 ···························· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 40 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 41 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 42 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2">
 43 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a>
 44 ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e
32 ····························]45 ····························time>.
 46 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
33 ····························<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>47 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·c>
 48 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d>
 49 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e>
34 ····························Make·sure·that·the·variable·is·never·defined·and50 ····························Make·sure·that·the·variable·is·never·defined·and
35 ····························xyz·should·be·the·reason·why·you·don't·want·to51 ····························xyz·should·be·the·reason·why·you·don't·want·to
36 ····························include·this·block52 ····························include·this·block
  
  
  
  
26.6 KB
./usr/share/doc/htp/def.html
    
Offset 114, 75 lines modifiedOffset 114, 96 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="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br>
 122 &nbsp;·...<br>
 123 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>&gt;</span><br>
122 </code></p>124 </code></p>
123 <h2>synopsis</h2>125 <h2>synopsis</h2>
124 <p>126 <p>
125 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a127 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
126 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to128 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
127 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>129 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
128 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.130 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
129 For·example:131 For·example:
130 </p>132 </p>
131 ··<p><code>133 ··<p><code>
132 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br> 
133 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br>134 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 135 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
134 &nbsp;·contents·of·a:·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>136 &nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
135 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br> 
136 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br> 
137 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br>137 &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>
 138 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 139 &nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 140 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 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">time</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 142 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 143 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>&gt;</span><br>
 144 &nbsp;·contents·of·a:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 145 &nbsp;·contents·of·b:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 146 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 147 &nbsp;·&nbsp;·c·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 148 &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>
 149 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 150 &nbsp;·&nbsp;·d·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 151 &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>
 152 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>&gt;</span><br>
 153 &nbsp;·&nbsp;·e·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 154 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 155 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>&gt;</span><br>
 156 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
138 &nbsp;·&nbsp;·e·is·expanded·at·time·2;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>157 &nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 158 &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>
 159 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>&gt;</span><br>
 160 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>&gt;</span><br>
 161 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>&gt;</span><br>
139 </code></p>162 </code></p>
140 <P>163 <P>
141 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to164 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
142 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A165 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
143 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster166 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
144 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing167 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
145 tag·with·a·preceding·slash.·For·example:168 tag·with·a·preceding·slash.·For·example:
146 </P>169 </P>
147 ··<p><code>170 ··<p><code>
 171 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="htp-attrib">(output</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">|</span>·<span·class="htp-attrib">redirect)</span>·<span·class="htp-attrib">[noerror]</span>&gt;</span><br>
 172 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>&gt;</span><br>
148 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>173 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>&gt;</span><br>
 174 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">size[</span>·=<span·class="htp-value"></span>·<span·class="htp-attrib">(byte|kbyte|mbyte|gbyte)</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[precision</span>=<span·class="htp-value">n]</span>&gt;</span><br>
 175 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">time[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
 176 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
 177 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>&gt;</span><br>
 178 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>&gt;</span><br>
149 <br>179 <br>
150 </code></p>180 </code></p>
151 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,181 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
152 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>182 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
153 <P>183 <P>
154 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were184 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·with185 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
156 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their186 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
157 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)187 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
158 </P>188 </P>
159 ··<p><code>189 ··<p><code>
160 &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> 
161 &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">pa[·...·truncated·by·diffoscope;·len:·59,·SHA:·141e91950fbfa67ca7660ed2bd739f937dab0dfa59d6e90c40951d5ace204880·...·]</span>&gt;</span><br>190 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 191 &nbsp;·&nbsp;·block·#1<br>
 192 [<br>
 193 <span·class="htp-tag">&lt;ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 194 &nbsp;·&nbsp;·block·#2<br>
 195 ...<br>
 196 ]<br>
 197 [<br>
 198 <span·class="htp-tag">&lt;ELSE&gt;</span><br>
 199 &nbsp;·&nbsp;·block·#3<br>
 200 ]<br>
 201 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
162 <br>202 <br>
163 &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> 
164 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
165 &nbsp;·(no·URL·replacement).<br> 
166 <br> 
167 &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> 
168 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
169 <br> 
170 &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> 
171 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
172 &nbsp;·will·not·be·added.<br> 
173 <br> 
174 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
175 &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> 
176 &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> 
177 <br> 
178 &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> 
179 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
180 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
181 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
182 </code></p>203 </code></p>
183 <P>204 <P>
184 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is205 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
185 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are206 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
186 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the207 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
187 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a208 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
188 parameter·is·required,·simply·expand·it·without·first·checking.··When209 parameter·is·required,·simply·expand·it·without·first·checking.··When
10.8 KB
html2text {}
    
Offset 1, 81 lines modifiedOffset 1, 91 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<!---·This·comment·doesn't·appear·in·the·HTML·file4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.i_.f·disabled_because_xyz>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················--->5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·...
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f>
6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
7  ·_.U_.s_.a_.g_.e·····················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of8  ·HTP·Tags··················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of
8  ·HTP·Tags··················saying·it·creates·new·tags.·The·mechanism·is·very9  · ···_.A_.L_.T_.T_.E_.X_.T···············saying·it·creates·new·tags.·The·mechanism·is·very
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is10  · ···_\x8B_.L_.O_.C_.K·················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················not·used·to·expand·them.·Instead,·they·are·expanded11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············not·used·to·expand·them.·Instead,·they·are·expanded
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············by·their·own·name.·For·example:12  ·[>]·_.D_.E_.F···················by·their·own·name.·For·example:
12  ·[>]·_\x8D_\x8E_\x8F··················· · ·a·is·expanded·at·time·1. 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·b·is·expanded·at·time·0. 
14  · ···_\x8I_.F···················· ·contents·of·a:· ·a·is·expanded·at·time·<_.[13  · ···_\x8F_.I_.L_.E·················· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·time="0">
 14  · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a>
 15  · ···_\x8I_\x8N_\x8C··················· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
 16  · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand>
 18  · ···_\x8O_\x8P_\x8T··················· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1">
15  · ···_\x8I_.N_.C···················_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>.21  · ···_\x8S_.E_.T··················· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·a>
16  · ···_\x8I_\x8M_\x8G··················· ·contents·of·b:· ·b·is·expanded·at·time·0. 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at 
18  · ···_\x8O_\x8P_\x8T···················time·1. 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·d·is·expanded·at·time·1;· ·a·is·expanded·at 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················time·2. 
21  · ···_\x8S_\x8E_\x8T··················· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················2nd·time·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>.22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·b>
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand>
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand>
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a>
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand>
 30 ···························· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 31 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 32 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 33 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e>
 34 ···························· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 35 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 37 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2">
 38 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a>
 39 ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e
 40 ····························time>.
 41 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 42 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c>
 43 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d>
 44 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e>
23  · ···_.U_.N_.S_.E_.T·················Some·metatags·will·require·an·opening·and·closing45 ····························Some·metatags·will·require·an·opening·and·closing
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················tag·(comparable·to 
25  · ···_.W_.H_.I_.L_.E·················and46 ····························tag·(comparable·to
 47 ····························and
26  · ···_.<_.!_.-_.-_.-·················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.48 ····························).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.
27  ·_.H_.i_.s_.t_.o_.r_.y···················Another·slightly·faster·alternative·is·to·use·two49 ····························Another·slightly·faster·alternative·is·to·use·two
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················metatags,·the·opening·tag·and·the·closing·tag·with50 ····························metatags,·the·opening·tag·and·the·closing·tag·with
29  ·_.B_.u_.g_.s······················a·preceding·slash.·For·example:51 ····························a·preceding·slash.·For·example:
 52 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·execute="command-line"
 53 ····························(output="filename"·|·redirect)·[noerror]>
 54 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="includefilename"·[parameters
 55 ····························...]>
30 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.m_.g·src="filename"·...>56 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_.i_.l_.e·name>
 57 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·size[·=
 58 ····························(byte|kbyte|mbyte|gbyte)·]·[precision=n]>
 59 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·time[·="format"·]>
 60 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date[·="format"·]>
 61 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·search="searchpath">
 62 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·template="templatefilename">
  
31 ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will63 ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will
32 ····························check·for·matching·end·tag.·It·is·not·that·slower.64 ····························check·for·matching·end·tag.·It·is·not·that·slower.
33 ····························Options·can·be·passed·to·a·metatag,·which·can·then65 ····························Options·can·be·passed·to·a·metatag,·which·can·then
34 ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are66 ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are
35 ····························parameterized·with·the·OPTION·attribute.·Multiple67 ····························parameterized·with·the·OPTION·attribute.·Multiple
36 ····························options·can·be·listed·by·separating·their·name·with68 ····························options·can·be·listed·by·separating·their·name·with
37 ····························a·space·(which·therefore·requires·they·be69 ····························a·space·(which·therefore·requires·they·be
38 ····························surrounded·by·quotes.)70 ····························surrounded·by·quotes.)
39 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ 
40 ····························"·path="/var/www/my.domain/"> 
41 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ 
42 ····························var/www/other.domain/">71 ····························<_.[_.[_.r_.e_.f_.]_.]_.I_.F·[NOT]·conditional>
 72 ···························· · ·block·#1
 73 ····························[
 74 ····························<ELSEIF·[NOT]·conditional>
 75 ···························· · ·block·#2
 76 ····························...
 77 ····························]
 78 ····························[
 79 ····························<ELSE>
 80 ···························· · ·block·#3
 81 ····························]
 82 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
  
43 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
44 ···························· ·the·local·filename·"logo.gif"·will·be·used·to 
45 ····························determine·image·dimensions 
46 ···························· ·(no·URL·replacement). 
  
47 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
48 ····························my.domain.org/logo.gif"> 
49 ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" 
50 ····························will·be·used. 
  
51 ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
52 ····························other.domain.org/logo.gif"> 
53 ···························· ·the·local·file·cannot·be·found·(no·prefix·match), 
54 ····························so·the·image·dimensions 
55 ···························· ·will·not·be·added. 
  
56 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes 
57 ····························precedence: 
58 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> 
59 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ 
60 ····························test/"> 
  
61 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
62 ····························src="/test/image.gif"> are·mapped·to 
63 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ 
64 ····························image.gif,·resp. 
65 ···························· ·If·the·order·of·the·imageurl·lines·would·be 
66 ····························swapped,·the·second 
67 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ 
68 ····························image.gif. 
69 ····························htp·will·do·very·specific·checking·of·parameters83 ····························htp·will·do·very·specific·checking·of·parameters
Max diff block lines reached; 394/11067 bytes (3.56%) of diff not shown.
8.44 KB
./usr/share/doc/htp/expand.html
    
Offset 110, 15 lines modifiedOffset 110, 38 lines modified
110 <font·size="-2">&nbsp;6.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>110 <font·size="-2">&nbsp;6.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
111 <font·size="-2">&nbsp;7.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>&gt;</span><br>111 <font·size="-2">&nbsp;7.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>&gt;</span><br>
112 <font·size="-2">&nbsp;8.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>&gt;</span><br>112 <font·size="-2">&nbsp;8.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>&gt;</span><br>
113 <font·size="-2">&nbsp;9.·</font><br>113 <font·size="-2">&nbsp;9.·</font><br>
114 </code></p>114 </code></p>
115 This·produces·the·following:115 This·produces·the·following:
116 ··<p><code>116 ··<p><code>
117 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;EM&gt;</span>File·"<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>&gt;</span>"·last·updated·<span·class="htp[·...·truncated·by·diffoscope;·len:·361,·SHA:·2580ee8acc81f2bca7b7717fc57033f92324b72f1d1858e5ca12f55eaea41952·...·]&gt;</span><br>117 &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=[·...·truncated·by·diffoscope;·len:·36,·SHA:·2b3634dcb34000edeab0722bb8112f565a78cccefe8c9fb773a991941fd50771·...·]&gt;</span><br>
 118 &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>
 119 &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>
 120 &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>
 121 &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>
 122 &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>
 123 &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>
 124 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 126 &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>
 127 <br>
 128 &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>
 129 <br>
 130 &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>
 131 <br>
 132 &nbsp;·This·will·fail:<br>
 133 &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>
 134 <br>
 135 &nbsp;·Instead,·use·*·like·this:<br>
 136 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<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>
 137 &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>
 138 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 139 &nbsp;·&nbsp;·<br>
 140 &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>
118 </code></p>141 </code></p>
119 <P>142 <P>
120 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a143 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
121 are·taken·literally,·however,·the·contents·for·b·are·already·expanded144 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
122 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it145 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
123 is·used,·while·the·contents·of·b·are·already·expanded.146 is·used,·while·the·contents·of·b·are·already·expanded.
124 </P>147 </P>
2.71 KB
html2text {}
    
Offset 39, 16 lines modifiedOffset 39, 42 lines modified
39 ····························[·="format"·]>39 ····························[·="format"·]>
40 ···························· 6.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date40 ···························· 6.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date
41 ····························[·="format"·]>41 ····························[·="format"·]>
42 ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·search="searchpath">42 ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·search="searchpath">
43 ···························· 8.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·template="templatefilename">43 ···························· 8.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·template="templatefilename">
44 ···························· 9.44 ···························· 9.
45 ····························This·produces·the·following:45 ····························This·produces·the·following:
 46 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE
 47 ····························SIZE">
 48 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 49 ···························· · · · ·<FONT·SIZE=${size}>
46 ···························· · ·<EM>File·"<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME>"·last·updated·<_.[50 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
47 ····························_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·TIME>,·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·DATE></EM>51 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.M_.G·SRC=pics/${src}>
 52 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 53 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 54 ···························· · · · ·</FONT>
 55 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 56 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
  
 57 ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 58 ····························title">
  
 59 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 60 ····························title">
  
 61 ···························· ·This·will·fail:
 62 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 63 ····························TITLE="Another·title">
  
 64 ···························· ·Instead,·use·*·like·this:
 65 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 66 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 67 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 68 ···························· · 
 69 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
48 ····························When·block·a·and·block·b·are·defined·in·lines·2-70 ····························When·block·a·and·block·b·are·defined·in·lines·2-
49 ····························7·the·contents·of·a·are·taken·literally,·however,71 ····························7·the·contents·of·a·are·taken·literally,·however,
50 ····························the·contents·for·b·are·already·expanded·so·the72 ····························the·contents·for·b·are·already·expanded·so·the
51 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it73 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it
52 ····························is·used,·while·the·contents·of·b·are·already74 ····························is·used,·while·the·contents·of·b·are·already
53 ····························expanded.75 ····························expanded.
54 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with76 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with
14.7 KB
./usr/share/doc/htp/file.html
    
Offset 114, 47 lines modifiedOffset 114, 53 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br>
 122 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br>
 123 &nbsp;·contents·of·a:·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 124 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br>
 125 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br>
 126 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br>
 127 &nbsp;·&nbsp;·e·is·expanded·at·time·2;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 128 </code></p>
 129 <h2>synopsis</h2>
 130 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
 131 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
 132 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
 133 added·to·the·output·file·as·well.
 134 <P>
 135 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
 136 following·is·perfectly·acceptable:
 137 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>138 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
122 &nbsp;·&nbsp;·block·#1<br>139 &nbsp;·&nbsp;·block·#1<br>
123 [<br>140 [<br>
124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>141 <span·class="htp-tag">&lt;ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
125 &nbsp;·&nbsp;·block·#2<br>142 &nbsp;·&nbsp;·block·#2<br>
126 ...<br>143 ...<br>
127 ]<br>144 ]<br>
128 [<br>145 [<br>
129 <span·class="htp-tag">&lt;ELSE&gt;</span><br>146 <span·class="htp-tag">&lt;ELSE&gt;</span><br>
130 &nbsp;·&nbsp;·block·#3<br>147 &nbsp;·&nbsp;·block·#3<br>
131 ]<br>148 ]<br>
132 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>149 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
133 <br>150 <br>
134 </code></p>151 </code></p>
135 <h2>synopsis</h2> 
136 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. 
137 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of 
138 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be 
139 added·to·the·output·file·as·well. 
140 <P> 
141 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the 
142 following·is·perfectly·acceptable: 
143 ··<p><code> 
144 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
145 </code></p> 
146 <P>152 <P>
147 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>153 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
148 <P>154 <P>
149 To·include·information·about·another·file,·such·as·an·archive·file·or155 To·include·information·about·another·file,·such·as·an·archive·file·or
150 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the156 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
151 type·of·information·to·be·displayed:157 type·of·information·to·be·displayed:
152 ··<p><code>158 ··<p><code>
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>·<span·class="htp-attrib">name</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>159 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
154 </code></p>160 </code></p>
155 <P>161 <P>
156 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the162 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
157 information·is·displayed.··In·anything·other·than·byte·format,·the·information163 information·is·displayed.··In·anything·other·than·byte·format,·the·information
158 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number164 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
159 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional165 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
160 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no166 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 183, 27 lines modifiedOffset 189, 15 lines modified
183 <P>189 <P>
184 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are190 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
185 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros191 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
186 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it192 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
187 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer193 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
188 available.··So:194 available.··So:
189 ··<p><code>195 ··<p><code>
 196 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
190 &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> 
191 &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> 
192 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br> 
193 &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> 
194 &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> 
195 &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> 
196 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br> 
197 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br> 
198 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
199 <br> 
200 &nbsp;paragraph<br> 
201 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br> 
202 &nbsp;paragraph<br> 
203 </code></p>197 </code></p>
204 <P>198 <P>
205 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included199 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
206 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the200 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
207 second·statement·will·fail.)201 second·statement·will·fail.)
208 <P>202 <P>
209 <h3><a·name="template">TEMPLATE</a></h3>203 <h3><a·name="template">TEMPLATE</a></h3>
7.31 KB
html2text {}
    
Offset 1, 39 lines modifiedOffset 1, 49 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.I_.F·[NOT]·conditional>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·a·is·expanded·at·time·1.
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block·#15  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·b·is·expanded·at·time·0.
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················[ 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<ELSEIF·[NOT]·conditional> 
8  ·HTP·Tags·················· · ·block·#2 
9  · ···_.A_.L_.T_.T_.E_.X_.T···············...6  ·_.T_.u_.t_.o_.r_.i_.a_.l·················· ·contents·of·a:· ·a·is·expanded·at·time·<_.[
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
 8  ·HTP·Tags·················· ·contents·of·b:· ·b·is·expanded·at·time·0.
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················]10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················time·1.
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············[11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at
12  · ···_\x8D_\x8E_\x8F···················<ELSE>12  · ···_\x8D_\x8E_\x8F···················time·2.
 13  ·[>]·_\x8F_\x8I_\x8L_\x8E·················· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the
13  ·[>]·_\x8F_\x8I_\x8L_\x8E·················· · ·block·#3 
14  · ···_\x8I_\x8F····················] 
15  · ···_\x8I_\x8N_.C···················<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>14  · ···_\x8I_\x8F····················2nd·time·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>.
16  · ···_\x8I_\x8M_\x8G 
17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*15  · ···_\x8I_\x8N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
18  · ···_\x8O_.P_.T···················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing16  · ···_\x8I_.M_.G···················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing
19  · ···_\x8O_.U_.T_.P_.U_.T················purpose.·The·output·file's·name,·the·current·date17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············purpose.·The·output·file's·name,·the·current·date
20  · ···_\x8Q_.U_.O_.T_.E·················and·time,·and·the·contents·of·another·file·may·be18  · ···_\x8O_.P_.T···················and·time,·and·the·contents·of·another·file·may·be
21  · ···_\x8S_.E_.T···················included.·Another·file's·time,·date,·or·size·may·be19  · ···_\x8O_.U_.T_.P_.U_.T················included.·Another·file's·time,·date,·or·size·may·be
22  · ···_\x8U_.N_.D_.E_.F·················added·to·the·output·file·as·well.20  · ···_\x8Q_.U_.O_.T_.E·················added·to·the·output·file·as·well.
23  · ···_\x8U_.N_.S_.E_.T·················As·with·all·HTML,·these·tags·do·not·have·to·be·on21  · ···_\x8S_.E_.T···················As·with·all·HTML,·these·tags·do·not·have·to·be·on
24  · ···_\x8U_\x8S_.E_.,_.·_.$················their·own·line,·so·the·following·is·perfectly22  · ···_\x8U_\x8N_.D_.E_.F·················their·own·line,·so·the·following·is·perfectly
25  · ···_\x8W_.H_.I_.L_.E·················acceptable:23  · ···_\x8U_.N_.S_.E_.T·················acceptable:
26  · ···_\x8<_.!_.-_.-_.-················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name="Jim">...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>24  · ···_\x8U_.S_.E_.,_.·_.$················<_.[_.[_.r_.e_.f_.]_.]_.I_.F·[NOT]·conditional>
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·block·#1
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················[
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················<ELSEIF·[NOT]·conditional>
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·block·#2
 29  ·_\x8B_\x8u_\x8g_\x8s······················...
 30 ····························]
 31 ····························[
 32 ····························<ELSE>
 33 ···························· · ·block·#3
 34 ····························]
 35 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
  
27  ·_.H_.i_.s_.t_.o_.r_.y···················*\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*36 ····························*\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*
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················To·include·information·about·another·file,·such·as37 ····························To·include·information·about·another·file,·such·as
29  ·_.B_.u_.g_.s······················an·archive·file·or·graphic·image,·specify·its·name38 ····························an·archive·file·or·graphic·image,·specify·its·name
30 ····························with·the·NAME·attribute·followed·by·the·type·of39 ····························with·the·NAME·attribute·followed·by·the·type·of
31 ····························information·to·be·displayed:40 ····························information·to·be·displayed:
32 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>41 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
33 ····························For·file·size·information,·the·value·BYTE,·KBYTE,42 ····························For·file·size·information,·the·value·BYTE,·KBYTE,
34 ····························etc.·dictates·how·the·information·is·displayed.·In43 ····························etc.·dictates·how·the·information·is·displayed.·In
35 ····························anything·other·than·byte·format,·the·information·is44 ····························anything·other·than·byte·format,·the·information·is
36 ····························displayed·in·floating-point·notation.·The·amount·of45 ····························displayed·in·floating-point·notation.·The·amount·of
37 ····························precision·(the·number·of·digits·to·the·right·of·the46 ····························precision·(the·number·of·digits·to·the·right·of·the
38 ····························decimal·point)·can·be·set·with·the·optional47 ····························decimal·point)·can·be·set·with·the·optional
39 ····························PRECISION·attribute.·The·default·precision·is·zero48 ····························PRECISION·attribute.·The·default·precision·is·zero
Offset 64, 31 lines modifiedOffset 74, 15 lines modified
64 ····························Additional·parameters·can·be·set·in·the·FILE74 ····························Additional·parameters·can·be·set·in·the·FILE
65 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that75 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that
66 ····························are·"passed"·to·the·included·file.·The·macros·are76 ····························are·"passed"·to·the·included·file.·The·macros·are
67 ····························available·only·to·the·include·file·(and·any·macros77 ····························available·only·to·the·include·file·(and·any·macros
68 ····························or·included·files·it·holds).·After·the·file·is78 ····························or·included·files·it·holds).·After·the·file·is
69 ····························completely·included,·the·macros·are·no·longer79 ····························completely·included,·the·macros·are·no·longer
70 ····························available.·So:80 ····························available.·So:
 81 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
71 ···························· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="imghr"> 
72 ···························· · <table·border="0"·cellspacing="0" 
73 ····························cellpadding="0"> 
74 ···························· · <tr> 
75 ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ 
76 ····························td> 
77 ···························· · ·<td·width="95%" 
78 ····························background="midsep.png">&nbsp;</td> 
79 ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ 
80 ····························td> 
81 ···························· · </tr> 
82 ···························· · </table> 
83 ···························· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
  
84 ···························· paragraph 
85 ···························· <imghr> 
86 ···························· paragraph 
87 ····························Macros·named·"name"·and·"email"·are·set,·and82 ····························Macros·named·"name"·and·"email"·are·set,·and
88 ····························available·inside·the·included·file.·They·are·not83 ····························available·inside·the·included·file.·They·are·not
89 ····························available,·however,·past·the·tag·(which·is·why·the84 ····························available,·however,·past·the·tag·(which·is·why·the
90 ····························second·statement·will·fail.)85 ····························second·statement·will·fail.)
91 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*86 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*
92 ····························A·template·file·is·nothing·more·than·a·default87 ····························A·template·file·is·nothing·more·than·a·default
93 ····························include·file,·one·that·is·included·once·the·input88 ····························include·file,·one·that·is·included·once·the·input
12.3 KB
./usr/share/doc/htp/if.html
    
Offset 114, 53 lines modifiedOffset 114, 33 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="ht[·...·truncated·by·diffoscope;·len:·64,·SHA:·5458c7318048c396336185e59bbfc8b6345dca93cc1e1aa675aeba6a7a3641be·...·]</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>
122 <br>122 <br>
123 </code></p>123 </code></p>
124 <h2>synopsis</h2>124 <h2>synopsis</h2>
125 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building125 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
126 blocks·for·conditional·processing.··The·basic·form·is·shown·above.126 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
127 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A127 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
128 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal128 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
129 string:129 string:
130 ··<p><code>130 ··<p><code>
 131 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
131 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br> 
132 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br> 
133 <br>132 <br>
134 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br> 
135 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
136 &nbsp;·(no·URL·replacement).<br> 
137 <br> 
138 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br> 
139 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
140 <br> 
141 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br> 
142 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
143 &nbsp;·will·not·be·added.<br> 
144 <br> 
145 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
146 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br> 
147 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br> 
148 <br> 
149 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br> 
150 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
151 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
152 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
153 </code></p>133 </code></p>
154 <P>134 <P>
155 and·a·defined·operator·is·a·test·of·a·macro's·existance:135 and·a·defined·operator·is·a·test·of·a·macro's·existance:
156 <P>136 <P>
157 ··<p><code>137 ··<p><code>
158 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
159 &nbsp;·&nbsp;·This·tag·will·fail:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">name</span>&gt;</span><br>138 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=[·...·truncated·by·diffoscope;·len:·148,·SHA:·0bd4001aa7116389675a913ec1cb37ee7a8b38f1a8069d3d55701a0ff2fe5674·...·]</span>&gt;</span><br>
 139 <br>
160 </code></p>140 </code></p>
161 <P>141 <P>
162 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the142 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
163 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that143 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
164 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the144 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
165 ELSE·block·is·taken·if·it·is·present.··A·conditional·block145 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
166 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.146 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
6.16 KB
html2text {}
    
Offset 1, 69 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_.g_.e_.u_.r_.l·url="imageurl"·[·path="path/in/4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="filename"·...>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················local/filesystem"·]> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building7  ·_.U_.s_.a_.g_.e·····················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building
9  · ···_.A_.L_.T_.T_.E_.X_.T···············blocks·for·conditional·processing.·The·basic·form8  ·HTP·Tags··················blocks·for·conditional·processing.·The·basic·form
10  · ···_\x8B_.L_.O_.C_.K·················is·shown·above.9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············is·shown·above.
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············"Conditional"·is·either·a·"compare"·or·"is·defined"10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················"Conditional"·is·either·a·"compare"·or·"is·defined"
12  · ···_\x8D_.E_.F···················operation.·A·compare·operator·is·a·test·of·the11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············operation.·A·compare·operator·is·a·test·of·the
13  · ···_\x8F_.I_.L_.E··················value·of·a·macro·against·a·literal·string:12  · ···_\x8D_.E_.F···················value·of·a·macro·against·a·literal·string:
14  ·[>]·_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ 
15  · ···_\x8I_\x8N_\x8C···················"·path="/var/www/my.domain/"> 
16  · ···_\x8I_.M_.G··················· ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="other.domain.org/"·path="/13  · ···_\x8F_.I_.L_.E··················<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="imageurl"·[·path="path/in/
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············var/www/other.domain/">14  ·[>]·_.I_.F····················local/filesystem"·]>
18  · ···_\x8O_.P_.T15  · ···_\x8I_.N_.C
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·the·local·filename·"logo.gif"·will·be·used·to 
21  · ···_\x8S_\x8E_\x8T···················determine·image·dimensions 
22  · ···_\x8U_.N_.D_.E_.F················· ·(no·URL·replacement).16  · ···_\x8I_.M_.G···················and·a·defined·operator·is·a·test·of·a·macro's
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············existance:
 18  · ···_\x8O_\x8P_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1"
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················[macroname2="increment2"·...·]·[GLOBAL]>
23  · ···_\x8U_.N_.S_.E_.T20  · ···_\x8Q_.U_.O_.T_.E
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················my.domain.org/logo.gif"> 
26  · ···_\x8<_.!_.-_.-_.-················· ·the·local·filename·"/var/www/my.domain/logo.gif"21  · ···_\x8S_.E_.T···················If·the·NOT·tag·is·present·in·the·IF·markup,·the
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················evaluation·of·the·conditional·is·reversed.·The
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················first·IF·or·ELSEIF·condition·that·evaluates·to·true
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················is·chosen.·If·none·of·the·conditions·is·true·the
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················ELSE·block·is·taken·if·it·is·present.·A·conditional
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················will·be·used.27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················be·nested.
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
29  ·_\x8B_\x8u_\x8g_\x8s······················ ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
30 ····························other.domain.org/logo.gif"> 
31 ···························· ·the·local·file·cannot·be·found·(no·prefix·match), 
32 ····························so·the·image·dimensions 
33 ···························· ·will·not·be·added. 
  
34 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes 
35 ····························precedence: 
36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> 
37 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ 
38 ····························test/"> 
  
39 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
40 ····························src="/test/image.gif"> are·mapped·to 
41 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ 
42 ····························image.gif,·resp. 
43 ···························· ·If·the·order·of·the·imageurl·lines·would·be 
44 ····························swapped,·the·second 
45 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ 
46 ····························image.gif. 
47 ····························and·a·defined·operator·is·a·test·of·a·macro's 
48 ····························existance: 
49 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim 
50 ····························Nelson"·email="jnelson@crl.com"> 
51 ···························· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> 
52 ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the 
53 ····························evaluation·of·the·conditional·is·reversed.·The 
54 ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true 
55 ····························is·chosen.·If·none·of·the·conditions·is·true·the 
56 ····························ELSE·block·is·taken·if·it·is·present.·A·conditional 
57 ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can 
58 ····························be·nested. 
  
  
  
  
  
  
  
  
  
8.01 KB
./usr/share/doc/htp/imageurl.html
    
Offset 137, 16 lines modifiedOffset 137, 36 lines modified
137 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC137 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC
138 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.138 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.
139 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and139 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
140 looked·up·in·the·current·directory.</P>140 looked·up·in·the·current·directory.</P>
141 <P>141 <P>
142 For·example:</P>142 For·example:</P>
143 ··<p><code>143 ··<p><code>
144 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
145 &nbsp;·&nbsp;·This·tag·will·fail:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">name</span>&gt;</span><br>144 &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<[·...·truncated·by·diffoscope;·len:·53,·SHA:·86c883bdee8402de4fb025e83a268d959894f39762ba8ab02b60f226172c9353·...·]</span>&gt;</span><br>
 145 &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>
 146 <br>
 147 &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>
 148 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 149 &nbsp;·(no·URL·replacement).<br>
 150 <br>
 151 &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>
 152 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 153 <br>
 154 &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>
 155 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 156 &nbsp;·will·not·be·added.<br>
 157 <br>
 158 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 159 &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>
 160 &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>
 161 <br>
 162 &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>
 163 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 164 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 165 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
146 </code></p>166 </code></p>
147 <P>167 <P>
148 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as168 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
149 an·undefine,·and·is·removed.</P>169 an·undefine,·and·is·removed.</P>
150 <P>170 <P>
151 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout171 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
152 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an172 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
3.66 KB
html2text {}
    
Offset 19, 18 lines modifiedOffset 19, 50 lines modified
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················defined·imageurl·it·checks·(case-insensitive)·if·it19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················defined·imageurl·it·checks·(case-insensitive)·if·it
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················is·a·prefix·of·the·image's·SRC·attribute.·If·it20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················is·a·prefix·of·the·image's·SRC·attribute.·If·it
21  · ···_\x8S_\x8E_\x8T···················matches·this·prefix·is·replaced·by·the·given·PATH.21  · ···_\x8S_\x8E_\x8T···················matches·this·prefix·is·replaced·by·the·given·PATH.
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················If·no·IMAGEURL·matches·the·SRC·is·considered·as22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················If·no·IMAGEURL·matches·the·SRC·is·considered·as
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················relative·link·and·looked·up·in·the·current23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················relative·link·and·looked·up·in·the·current
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················directory.24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················directory.
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················For·example:25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················For·example:
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················Nelson"·email="jnelson@crl.com"> 
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t················· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>26  · ···_.<_.!_.-_.-_.-················· ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="http://my.domain.org/
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················"·path="/var/www/my.domain/">
 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="other.domain.org/"·path="/
 29  ·_\x8B_\x8u_\x8g_\x8s······················var/www/other.domain/">
  
 30 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
 31 ···························· ·the·local·filename·"logo.gif"·will·be·used·to
 32 ····························determine·image·dimensions
 33 ···························· ·(no·URL·replacement).
  
 34 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
 35 ····························my.domain.org/logo.gif">
 36 ···························· ·the·local·filename·"/var/www/my.domain/logo.gif"
 37 ····························will·be·used.
  
 38 ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
 39 ····························other.domain.org/logo.gif">
 40 ···························· ·the·local·file·cannot·be·found·(no·prefix·match),
 41 ····························so·the·image·dimensions
 42 ···························· ·will·not·be·added.
  
 43 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes
 44 ····························precedence:
 45 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/">
 46 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/
 47 ····························test/">
  
 48 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 49 ····························src="/test/image.gif"> are·mapped·to
 50 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/
 51 ····························image.gif,·resp.
 52 ···························· ·If·the·order·of·the·imageurl·lines·would·be
 53 ····························swapped,·the·second
 54 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/
 55 ····························image.gif.
29  ·_.B_.u_.g_.s······················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH56 ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH
30 ····························attribute,·it·is·treated·as·an·undefine,·and·is57 ····························attribute,·it·is·treated·as·an·undefine,·and·is
31 ····························removed.58 ····························removed.
32 ····························Since·you·usually·need·the·url·mapping·for·a·number59 ····························Since·you·usually·need·the·url·mapping·for·a·number
33 ····························of·images·used·throughout·a·set·of·documents,60 ····························of·images·used·throughout·a·set·of·documents,
34 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e61 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
35 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.62 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.
36 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also63 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also
2.6 KB
./usr/share/doc/htp/img.html
    
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·clas[·...·truncated·by·diffoscope;·len:·164,·SHA:·770fc4be2492784ea0668edb391cff926c09d86cd3f422e839f9b20dc96b3ec2·...·]<span·class="ebnf">]</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="h[·...·truncated·by·diffoscope;·len:·45,·SHA:·498d0b1b49fab3aaa82ce4e5058178838ceebe5f133c09d49e055a5382e050d8·...·]<span·class="ebnf">]</span>&gt;</span><br>
122 <br>122 <br>
123 </code></p>123 </code></p>
124 <h2>synopsis</h2>124 <h2>synopsis</h2>
125 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified125 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified
126 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage126 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage
127 of·not·having·to·determine·each·image's·size·manually,·which·is·especially127 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
128 useful·if·the·image·may·change·frequently.·</P>128 useful·if·the·image·may·change·frequently.·</P>
1.19 KB
html2text {}
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1" 
5  ·_\x8L_.i_.c_.e_.n_.s_.e···················[macroname2="increment2"·...·]·[GLOBAL]>4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="imageurl"·[·path="path/in/
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················local/filesystem"·]>
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the8  ·HTP·Tags··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············specified·image's·width·and·height·to·the·tag9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············specified·image's·width·and·height·to·the·tag
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················automatically.·This·has·the·advantage·of·not·having10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················automatically.·This·has·the·advantage·of·not·having
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············to·determine·each·image's·size·manually,·which·is11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············to·determine·each·image's·size·manually,·which·is
12  · ···_\x8D_\x8E_\x8F···················especially·useful·if·the·image·may·change12  · ···_\x8D_\x8E_\x8F···················especially·useful·if·the·image·may·change
11.9 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 31 lines modifiedOffset 114, 51 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>&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="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<[·...·truncated·by·diffoscope;·len:·59,·SHA:·61bf49035be43bb6347d47f65bc916833cf1c23a03f2d006d45b33ee69a68944·...·]>&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>
122 </code></p>143 </code></p>
123 <h2>synopsis</h2>144 <h2>synopsis</h2>
124 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a145 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
125 variable·or·for·variable·addition.··The·basic·form·is·shown·above.146 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
126 <P>147 <P>
127 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a148 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
128 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The149 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
129 macroname·must·be·the·name·of·a·defined·macro·that·contains·an150 macroname·must·be·the·name·of·a·defined·macro·that·contains·an
130 integer.··If·the·increment·is·ommitted·it·defaults·to·1.151 integer.··If·the·increment·is·ommitted·it·defaults·to·1.
131 The·effect·of·this·operation·is·that·the·macro·is·redefined152 The·effect·of·this·operation·is·that·the·macro·is·redefined
132 to·contain·the·sum·of·its·previous·value·and·its·increment.153 to·contain·the·sum·of·its·previous·value·and·its·increment.
133 <P>154 <P>
134 To·increment·or·decrement·a·variable·you·can·use·this·form:155 To·increment·or·decrement·a·variable·you·can·use·this·form:
135 ··<p><code>156 ··<p><code>
 157 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>&gt;</span><br>
136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
137 &nbsp;·&nbsp;·This·tag·will·fail:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">name</span>&gt;</span><br> 
138 </code></p>158 </code></p>
139 <p>159 <p>
140 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It160 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It
141 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer161 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer
142 values·are·limited·to·the·range·-2^31..2^31.162 values·are·limited·to·the·range·-2^31..2^31.
143 <P>163 <P>
144 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.164 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.
6.47 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 68 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·············· · ·<_.[_.[_.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_.]_.]_.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_\x8E
 14  · ···_\x8I_\x8F···················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·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_\x8T
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·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$
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·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.
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*38 ····························*\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··················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a39 ····························The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a
7  ·_.U_.s_.a_.g_.e·····················variable·or·for·variable·addition.·The·basic·form40 ····························variable·or·for·variable·addition.·The·basic·form
8  ·HTP·Tags··················is·shown·above.41 ····························is·shown·above.
9  · ···_.A_.L_.T_.T_.E_.X_.T···············The·"increment"·is·anything·that·evaluates·to·a42 ····························The·"increment"·is·anything·that·evaluates·to·a
10  · ···_.B_.L_.O_.C_.K·················integer.·It·can·be·a·literal·string·or·a·macro43 ····························integer.·It·can·be·a·literal·string·or·a·macro
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············preceeded·by·the·'$'-operator.·The·macroname·must44 ····························preceeded·by·the·'$'-operator.·The·macroname·must
12  · ···_.D_.E_.F···················be·the·name·of·a·defined·macro·that·contains·an45 ····························be·the·name·of·a·defined·macro·that·contains·an
13  · ···_.F_.I_.L_.E··················integer.·If·the·increment·is·ommitted·it·defaults46 ····························integer.·If·the·increment·is·ommitted·it·defaults
14  · ···_.I_.F····················to·1.·The·effect·of·this·operation·is·that·the47 ····························to·1.·The·effect·of·this·operation·is·that·the
15  ·[>]·_.I_.N_.C···················macro·is·redefined·to·contain·the·sum·of·its48 ····························macro·is·redefined·to·contain·the·sum·of·its
16  · ···_.I_.M_.G···················previous·value·and·its·increment.49 ····························previous·value·and·its·increment.
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············To·increment·or·decrement·a·variable·you·can·use50 ····························To·increment·or·decrement·a·variable·you·can·use
18  · ···_.O_.P_.T···················this·form:51 ····························this·form:
 52 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1">
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················Nelson"·email="jnelson@crl.com"> 
21  · ···_\x8S_\x8E_\x8T··················· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> 
22  · ···_.U_.N_.D_.E_.F·················Note·that·INC·doesn't·check·if·the·strings·really53 ····························Note·that·INC·doesn't·check·if·the·strings·really
23  · ···_.U_.N_.S_.E_.T·················denote·integers.·It·may·give·weired·results·when54 ····························denote·integers.·It·may·give·weired·results·when
24  · ···_.U_.S_.E_.,_.·_.$················used·on·arbitrary·strings.·The·integer·values·are55 ····························used·on·arbitrary·strings.·The·integer·values·are
25  · ···_.W_.H_.I_.L_.E·················limited·to·the·range·-2^31..2^31.56 ····························limited·to·the·range·-2^31..2^31.
26  · ···_.<_.!_.-_.-_.-·················Note·further·that·htp·wasn't·designed·to·do57 ····························Note·further·that·htp·wasn't·designed·to·do
27  ·_.H_.i_.s_.t_.o_.r_.y···················extensive·calculations.·The·INC·tag·is·useful·in58 ····························extensive·calculations.·The·INC·tag·is·useful·in
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················conjunction·with·WHILE·to·iterate·over·the·defined59 ····························conjunction·with·WHILE·to·iterate·over·the·defined
29  ·_.B_.u_.g_.s······················blocks.60 ····························blocks.
  
  
  
  
  
  
  
14.3 KB
./usr/share/doc/htp/metatag.html
    
Offset 113, 39 lines modifiedOffset 113, 40 lines modified
113 file</a>.··</p>113 file</a>.··</p>
114 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing114 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing
115 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp115 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp
116 encounters·a·blockdef·tag·it·will·automatically·search·for·the116 encounters·a·blockdef·tag·it·will·automatically·search·for·the
117 matching·closing·tag·and·put·everything·between·these·tags·in·a·block117 matching·closing·tag·and·put·everything·between·these·tags·in·a·block
118 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>118 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>
119 ··<p><code>119 ··<p><code>
 120 <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>
120 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>&gt;</span><br> 
121 <font·size="-2">&nbsp;2.·</font>text·block<br> 
122 <font·size="-2">&nbsp;3.·</font><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> 
123 <font·size="-2">&nbsp;4.·</font><br>121 <font·size="-2">&nbsp;2.·</font><br>
124 </code></p>122 </code></p>
125 <h2>Using·parameters</h2>123 <h2>Using·parameters</h2>
126 <p>·More·sophisticated·tags·accept·parameters.··The124 <p>·More·sophisticated·tags·accept·parameters.··The
127 <code>option</code>·parameter·lets·multiple·metatag·parameters·be125 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
128 named·and·expanded·inside·the·<code>def</code>·or126 named·and·expanded·inside·the·<code>def</code>·or
129 <code>blockdef</code>·block:·</p>127 <code>blockdef</code>·block:·</p>
130 ··<p><code>128 ··<p><code>
 129 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
131 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[GLOBAL]</span>&gt;</span><br> 
132 <font·size="-2">&nbsp;2.·</font><br> 
133 </code></p>130 </code></p>
134 <h2>Saving·blocks·for·later</h2>131 <h2>Saving·blocks·for·later</h2>
135 <p>When·you·are·using·templates,·the·html·should·only·be·written·by132 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
136 the·template·file.··The·normal·htp·files·should·just·define·macros133 the·template·file.··The·normal·htp·files·should·just·define·macros
137 that·are·used·later·in·the·template.··So·you·may·want·to·write·block134 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
138 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this135 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
139 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to136 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
140 do·this:</p>137 do·this:</p>
141 ··<p><code>138 ··<p><code>
 139 <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>
 140 <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>
 141 <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>
 142 <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>
 143 <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>
 144 <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>
142 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br>145 <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>
143 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
144 <font·size="-2">&nbsp;3.·</font><br> 
145 </code></p>146 </code></p>
146 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a147 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
147 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is148 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
148 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is149 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
149 build·from·this·counter.··So·the·first·section·is·stored·in·block150 build·from·this·counter.··So·the·first·section·is·stored·in·block
150 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>·flag151 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
151 in·line·4·tells·htp·that·these·macros·should·be·defined·globally152 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
Offset 164, 18 lines modifiedOffset 165, 21 lines modified
164 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be165 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be
165 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the166 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the
166 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you167 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
167 use·expand·in·a·block·around·it.</p>168 use·expand·in·a·block·around·it.</p>
168 <p>To·close·this·example·we·show·how·to·expand·the169 <p>To·close·this·example·we·show·how·to·expand·the
169 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>170 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>
170 ··<p><code>171 ··<p><code>
171 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
172 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·block<br>172 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br>
 173 <font·size="-2">&nbsp;2.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 174 <font·size="-2">&nbsp;3.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 175 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 176 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
173 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>177 <font·size="-2">&nbsp;6.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>
174 <font·size="-2">&nbsp;4.·</font><br>178 <font·size="-2">&nbsp;7.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>
175 </code></p>179 </code></p>
176 <p>180 <p>
177 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether181 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether
178 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is182 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is
179 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards183 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards
180 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This184 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This
181 repeats·until·sect-${sect-ctr}·is·not·defined.185 repeats·until·sect-${sect-ctr}·is·not·defined.
5.64 KB
html2text {}
    
Offset 35, 38 lines modifiedOffset 35, 38 lines modified
35 ····························Often·you·want·to·define·tags·that·have·an·opening35 ····························Often·you·want·to·define·tags·that·have·an·opening
36 ····························and·a·closing·variant.·For·this·purpose·you·should36 ····························and·a·closing·variant.·For·this·purpose·you·should
37 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a37 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a
38 ····························blockdef·tag·it·will·automatically·search·for·the38 ····························blockdef·tag·it·will·automatically·search·for·the
39 ····························matching·closing·tag·and·put·everything·between39 ····························matching·closing·tag·and·put·everything·between
40 ····························these·tags·in·a·block·macro·named·block.·Here·is·an40 ····························these·tags·in·a·block·macro·named·block.·Here·is·an
41 ····························example·for·this.41 ····························example·for·this.
42 ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] 
43 ····························[EXPAND]> 
44 ···························· 2.·text·block 
45 ···························· 3.·<_.[_.[_.r_.e_.f_.]_.]_./_.O_.U_.T_.P_.U_.T>42 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]>
46 ···························· 4.43 ···························· 2.
47 ····························*\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*44 ····························*\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*
48 ····························More·sophisticated·tags·accept·parameters.·The45 ····························More·sophisticated·tags·accept·parameters.·The
49 ····························option·parameter·lets·multiple·metatag·parameters46 ····························option·parameter·lets·multiple·metatag·parameters
50 ····························be·named·and·expanded·inside·the·def·or·blockdef47 ····························be·named·and·expanded·inside·the·def·or·blockdef
51 ····························block:48 ····························block:
52 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·macroname1="macrovalue1"49 ···························· 1.· · ·<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·emailaddr="jnelson@crl.com">
53 ····························[macroname2="macrovalue2"·...]·[GLOBAL]> 
54 ···························· 2. 
55 ····························*\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*50 ····························*\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*
56 ····························When·you·are·using·templates,·the·html·should·only51 ····························When·you·are·using·templates,·the·html·should·only
57 ····························be·written·by·the·template·file.·The·normal·htp52 ····························be·written·by·the·template·file.·The·normal·htp
58 ····························files·should·just·define·macros·that·are·used·later53 ····························files·should·just·define·macros·that·are·used·later
59 ····························in·the·template.·So·you·may·want·to·write·block54 ····························in·the·template.·So·you·may·want·to·write·block
60 ····························tags·that·just·save·the·block·in·a·macro·for·later55 ····························tags·that·just·save·the·block·in·a·macro·for·later
61 ····························use.·Although·this·is·possible·with·htp·it·is·quite56 ····························use.·Although·this·is·possible·with·htp·it·is·quite
62 ····························tricky,·so·here·we·present·the·way·to·do·this:57 ····························tricky,·so·here·we·present·the·way·to·do·this:
63 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname>58 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0">
64 ···························· 2.·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname1·macroname2·...·>59 ···························· 2.· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section">
 60 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
 61 ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"
65 ···························· 3.62 ····························expand·global>
 63 ···························· 5.· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
 64 ···························· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 65 ···························· 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
66 ····························This·defines·a·block·macro·named·section.·This66 ····························This·defines·a·block·macro·named·section.·This
67 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the67 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the
68 ····························sections.·It·is·increased·for·every·section·(line68 ····························sections.·It·is·increased·for·every·section·(line
69 ····························3)·and·then·the·block·macro·name·is·build·from·this69 ····························3)·and·then·the·block·macro·name·is·build·from·this
70 ····························counter.·So·the·first·section·is·stored·in·block70 ····························counter.·So·the·first·section·is·stored·in·block
71 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[71 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[
72 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these72 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these
Offset 89, 18 lines modifiedOffset 89, 21 lines modified
89 ····························block·to·be·expanded·twice.·If·you·omit·it,·it89 ····························block·to·be·expanded·twice.·If·you·omit·it,·it
90 ····························would·be·expanded·when·defining·the·sect-1·macro90 ····························would·be·expanded·when·defining·the·sect-1·macro
91 ····························and·when·using·it·later·in·the·template.·Generally91 ····························and·when·using·it·later·in·the·template.·Generally
92 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use92 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use
93 ····························expand·in·a·block·around·it.93 ····························expand·in·a·block·around·it.
94 ····························To·close·this·example·we·show·how·to·expand·the94 ····························To·close·this·example·we·show·how·to·expand·the
95 ····························sect-${sect-ctr}·blocks·in·the·template:95 ····························sect-${sect-ctr}·blocks·in·the·template:
96 ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_.H_.I_.L_.E·[NOT]·conditional>96 ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_.i_.l_.e·include="header.hti">
97 ···························· 2.· · ·block97 ···························· 2.· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="1">
 98 ···························· 3.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}>
 99 ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}>
 100 ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
98 ···························· 3.·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>101 ···························· 6.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.w_.h_.i_.l_.e>
99 ···························· 4.102 ···························· 7.·<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="footer.hti">
100 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the103 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the
101 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined104 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined
102 ····························the·body·is·evaluated,·which·expands·the·macro·and105 ····························the·body·is·evaluated,·which·expands·the·macro·and
103 ····························increases·sect-ctr.·Afterwards·the·while·condition106 ····························increases·sect-ctr.·Afterwards·the·while·condition
104 ····························is·checked·again·to·check·for·sect-2·macro.·This107 ····························is·checked·again·to·check·for·sect-2·macro.·This
105 ····························repeats·until·sect-${sect-ctr}·is·not·defined.108 ····························repeats·until·sect-${sect-ctr}·is·not·defined.
106 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*109 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*
4.46 KB
./usr/share/doc/htp/output.html
    
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attr[·...·truncated·by·diffoscope;·len:·7,·SHA:·7a890a2d48ecdac0e20f98a52ec21a732c640d76b71156c3032ae809dac9dae7·...·]</span><span·class="ebnf">]</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·cl[·...·truncated·by·diffoscope;·len:·159,·SHA:·1bdc930d8f69f15ef626cb277065d7da1638cb237e142b2009cebee670ddcd17·...·]</span><span·class="ebnf">]</span>&gt;</span><br>
122 <br>122 <br>
123 </code></p>123 </code></p>
124 <h2>synopsis</h2>124 <h2>synopsis</h2>
125 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary125 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary
126 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the126 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the
127 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>127 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
128 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you128 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
3.07 KB
html2text {}
    
Offset 1, 25 lines modifiedOffset 1, 25 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]> 
5  ·_\x8L_.i_.c_.e_.n_.s_.e4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·macroname1="macrovalue1"
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="macrovalue2"·...]·[GLOBAL]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
7  ·_.U_.s_.a_.g_.e·····················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary8  ·HTP·Tags··················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary
8  ·HTP·Tags··················files·besides·the·main·HTML·file.·The·text·between9  · ···_.A_.L_.T_.T_.E_.X_.T···············files·besides·the·main·HTML·file.·The·text·between
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············this·tag·and·the·corresponding·</OUTPUT>·tag·is10  · ···_\x8B_.L_.O_.C_.K·················this·tag·and·the·corresponding·</OUTPUT>·tag·is
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················written·to·output·file.11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············written·to·output·file.
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············Normally·the·outputfile·is·cleared·before·writing12  · ···_\x8D_.E_.F···················Normally·the·outputfile·is·cleared·before·writing
12  · ···_\x8D_.E_.F···················to·it,·but·you·can·use·the·APPEND·attribute·to13  · ···_\x8F_.I_.L_.E··················to·it,·but·you·can·use·the·APPEND·attribute·to
13  · ···_\x8F_.I_.L_.E··················extend·an·existing·file.·The·text·written·to·the14  · ···_\x8I_.F····················extend·an·existing·file.·The·text·written·to·the
14  · ···_\x8I_\x8F····················file·is·normally·not·expanded,·i.e.·all·tags·inside15  · ···_\x8I_\x8N_.C···················file·is·normally·not·expanded,·i.e.·all·tags·inside
15  · ···_\x8I_\x8N_.C···················this·block·are·not·executed·but·written·unmodified16  · ···_\x8I_\x8M_.G···················this·block·are·not·executed·but·written·unmodified
16  · ···_\x8I_\x8M_\x8G···················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D17  · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············attribute·to·override·this·behaviour.18  · ···_\x8O_.P_.T···················attribute·to·override·this·behaviour.
18  · ···_\x8O_\x8P_\x8T 
19  ·[>]·_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  ·[>]·_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
Offset 30, 14 lines modifiedOffset 30, 15 lines modified
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
9.96 KB
./usr/share/doc/htp/set.html
    
Offset 114, 33 lines modifiedOffset 114, 24 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br>
 122 <br>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>&gt;</span><br> 
122 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br> 
124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br> 
125 &nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
127 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
128 </code></p>123 </code></p>
129 <h2>synopsis</h2>124 <h2>synopsis</h2>
130 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded125 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
131 anywhere·in·the·HTML·document.··To·create·a·macro:126 anywhere·in·the·HTML·document.··To·create·a·macro:
132 ··<p><code>127 ··<p><code>
133 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br> 
134 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br> 
135 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>128 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br>
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br> 
139 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>129 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
 130 <br>
140 </code></p>131 </code></p>
141 <P>132 <P>
142 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">133 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">
143 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular134 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular
144 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the135 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
145 <A·HREF="use.html">'$'</A>·operator.136 <A·HREF="use.html">'$'</A>·operator.
146 <P>137 <P>
5.35 KB
html2text {}
    
Offset 1, 45 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·macroname1="macrovalue1"
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="macrovalue2"·...]·[GLOBAL]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand 
8  ·HTP·Tags··················global> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
12  · ···_.D_.E_.F···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
13  · ···_.F_.I_.L_.E··················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be8  ·HTP·Tags··················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be
14  · ···_\x8I_.F····················expanded·anywhere·in·the·HTML·document.·To·create·a9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············expanded·anywhere·in·the·HTML·document.·To·create·a
15  · ···_\x8I_.N_.C···················macro:10  · ···_\x8B_.L_.O_.C_.K·················macro:
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname>
 12  · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·>
 13  · ···_\x8F_\x8I_\x8L_\x8E
16  · ···_\x8I_\x8M_\x8G···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> 
18  · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> 
21  ·[>]·_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> 
23  · ···_\x8U_.N_.S_.E_.T·················The·macro·"emailaddr"·can·then·be·expanded·later.14  · ···_\x8I_.F····················The·macro·"emailaddr"·can·then·be·expanded·later.
24  · ···_\x8U_.S_.E_.,_.·_.$················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a15  · ···_\x8I_.N_.C···················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a
25  · ···_\x8W_.H_.I_.L_.E·················tag·(i.e.,·into·the·regular·text).·If·the·macro16  · ···_\x8I_.M_.G···················tag·(i.e.,·into·the·regular·text).·If·the·macro
26  · ···_\x8<_.!_.-_.-_.-·················needs·to·be·expanded·inside·a·markup·tag,·use·the17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············needs·to·be·expanded·inside·a·markup·tag,·use·the
27  ·_.H_.i_.s_.t_.o_.r_.y···················_\x8'_\x8$_\x8'·operator.18  · ···_.O_.P_.T···················_\x8'_\x8$_\x8'·operator.
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Multiple·macros·can·be·declared·in·a·single·markup19  · ···_.O_.U_.T_.P_.U_.T················Multiple·macros·can·be·declared·in·a·single·markup
29  ·_.B_.u_.g_.s······················tag,·as·the·second·syntax·line·shows.20  · ···_.Q_.U_.O_.T_.E·················tag,·as·the·second·syntax·line·shows.
30 ····························SET·should·only·be·used·for·a·single·line's·worth21  ·[>]·_.S_.E_.T···················SET·should·only·be·used·for·a·single·line's·worth
31 ····························of·text.·Multi-line·macros·can·be·defined·with·the22  · ···_.U_.N_.D_.E_.F·················of·text.·Multi-line·macros·can·be·defined·with·the
32 ····························_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the23  · ···_.U_.N_.S_.E_.T·················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the
33 ····························macro·contains·a·quotation·character·and·you·don't24  · ···_.U_.S_.E_.,_.·_.$················macro·contains·a·quotation·character·and·you·don't
34 ····························want·to·fool·around·with·special·escape·characters.25  · ···_.W_.H_.I_.L_.E·················want·to·fool·around·with·special·escape·characters.
35 ····························Macros·can·be·redefined·by·using·another·SET26  · ···_.<_.!_.-_.-_.-·················Macros·can·be·redefined·by·using·another·SET
36 ····························command·with·the·same·macro·name.·The·prior27  ·_.H_.i_.s_.t_.o_.r_.y···················command·with·the·same·macro·name.·The·prior
37 ····························definition·will·be·destroyed,·however.·Also,·the28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················definition·will·be·destroyed,·however.·Also,·the
38 ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T29  ·_.B_.u_.g_.s······················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T
39 ····························tag.30 ····························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·Jan·25,·202523 ··last·updated·Fri·Feb·27,·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·Jan·25,·20258 last·updated·Fri·Feb·27,·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·Jan·25,·202512 last·updated·Fri·Feb·27,·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·Jan·25,·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·Feb·27,·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·Jan·25,·202520 ··last·updated·Fri·Feb·27,·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·Jan·25,·20256 last·updated·Fri·Feb·27,·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·Jan·25,·202520 ··last·updated·Fri·Feb·27,·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·Jan·25,·20256 last·updated·Fri·Feb·27,·2026
5.37 KB
./usr/share/doc/htp/undef.html
    
Offset 114, 21 lines modifiedOffset 114, 17 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="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>121 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br>
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>122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
 123 <br>
128 </code></p>124 </code></p>
129 <h2>synopsis</h2>125 <h2>synopsis</h2>
130 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags126 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags
131 created·by·<A·HREF="def.html">DEF</A>·and·<A127 created·by·<A·HREF="def.html">DEF</A>·and·<A
132 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF128 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF
133 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by129 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by
134 htp·until·it·is·reassigned.··</P>130 htp·until·it·is·reassigned.··</P>
2.92 KB
html2text {}
    
Offset 1, 24 lines modifiedOffset 1, 24 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]_\x8f_.i_.l_.e·include="header.hti">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.n_.s_.e_.t·macroname>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="1">5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname1·macroname2·...·>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
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  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
12  · ···_.D_.E_.F···················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags8  ·HTP·Tags··················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags
13  · ···_\x8F_.I_.L_.E··················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the
14  · ···_\x8I_.F····················UNDEF·command.·Once·removed,·the·metatag·will·no10  · ···_\x8B_.L_.O_.C_.K·················UNDEF·command.·Once·removed,·the·metatag·will·no
15  · ···_\x8I_.N_.C···················longer·be·recognized·by·htp·until·it·is·reassigned.11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············longer·be·recognized·by·htp·until·it·is·reassigned.
16  · ···_\x8I_.M_.G···················Multiple·metatags·can·be·removed·by·placing·each12  · ···_\x8D_.E_.F···················Multiple·metatags·can·be·removed·by·placing·each
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············name·as·an·attribute.13  · ···_\x8F_.I_.L_.E··················name·as·an·attribute.
 14  · ···_\x8I_\x8F
 15  · ···_\x8I_\x8N_\x8C
 16  · ···_\x8I_\x8M_\x8G
 17  · ···_\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
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$
Offset 27, 18 lines modifiedOffset 27, 14 lines modified
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]
10.1 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 48 lines modifiedOffset 114, 37 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noexpand</span><span·class="ebnf">]</span>&gt;</span><br>
 122 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 123 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 124 <br>
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>125 </code></p>
129 <h2>synopsis</h2>126 <h2>synopsis</h2>
130 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.127 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.
131 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.128 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
132 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or129 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
133 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The130 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
134 old·macro·definition·will·be·removed·automatically.)131 old·macro·definition·will·be·removed·automatically.)
135 <P>132 <P>
136 For·example:133 For·example:
137 ··<p><code>134 ··<p><code>
138 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>135 &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;·block<br> 
140 <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> 
141 <br> 
142 </code></p>136 </code></p>
143 <P>137 <P>
144 More·than·one·macro·may·be·removed·in·the·same·tag:138 More·than·one·macro·may·be·removed·in·the·same·tag:
145 ··<p><code>139 ··<p><code>
 140 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>
 141 &nbsp;·&nbsp;·...<br>
146 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br>142 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
147 &nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br> 
148 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>143 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
149 <br> 
150 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br> 
151 <br> 
152 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
153 But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br> 
154 And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
155 </code></p>144 </code></p>
156 <p>145 <p>
157 </td>146 </td>
158 </tr>147 </tr>
159 <tr>148 <tr>
160 <td·width="20%"·bgcolor="white"·valign="bottom">149 <td·width="20%"·bgcolor="white"·valign="bottom">
161 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">150 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
4.26 KB
html2text {}
    
Offset 1, 49 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:·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]_\x8f_.i_.l_.e·include="header.hti">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.s_.e·macroname·[parameters·...]·[noexpand]>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<...·$macroname·...>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·${macroname}·...>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
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  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
12  · ···_\x8D_.E_.F···················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's
13  · ···_\x8F_.I_.L_.E··················definition.·The·macro·is·subsequently·not·available10  · ···_\x8B_.L_.O_.C_.K·················definition.·The·macro·is·subsequently·not·available
14  · ···_\x8I_.F····················for·use·in·the·pre-processed·files.·(Note·that11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············for·use·in·the·pre-processed·files.·(Note·that
15  · ···_\x8I_.N_.C···················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or12  · ···_\x8D_.E_.F···················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or
16  · ···_\x8I_.M_.G···················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.13  · ···_\x8F_.I_.L_.E··················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.
17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············The·old·macro·definition·will·be·removed14  · ···_\x8I_\x8F····················The·old·macro·definition·will·be·removed
18  · ···_\x8O_.P_.T···················automatically.)15  · ···_\x8I_.N_.C···················automatically.)
19  · ···_\x8O_.U_.T_.P_.U_.T················For·example:16  · ···_\x8I_.M_.G···················For·example:
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr>
 18  · ···_\x8O_\x8P_\x8T···················More·than·one·macro·may·be·removed·in·the·same·tag:
20  · ···_\x8Q_.U_.O_.T_.E·················<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·[NOT]·conditional>19  · ···_\x8O_.U_.T_.P_.U_.T················ ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10">
21  · ···_\x8S_.E_.T··················· · ·block20  · ···_\x8Q_.U_.O_.T_.E················· · ·...
 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>22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················More·than·one·macro·may·be·removed·in·the·same·tag: 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<a·href=$email>send·email</a> 
27  ·_.H_.i_.s_.t_.o_.r_.y···················<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>24  · ···_.U_.S_.E_.,_.·_.$
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
29  ·_\x8B_\x8u_\x8g_\x8s······················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> 
  
30 ····························This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff 
31 ····························email="jnelson@crl.com"> 
32 ····························But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> 
33 ····························And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff 
34 ····························email="jnelson@crl.com"> 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
9.34 KB
./usr/share/doc/htp/use.html
    
Offset 114, 18 lines modifiedOffset 114, 18 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="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>121 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
122 &nbsp;·&nbsp;·...<br>122 &nbsp;·&nbsp;·block<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>123 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
 124 <br>
125 </code></p>125 </code></p>
126 <h2>synopsis</h2>126 <h2>synopsis</h2>
127 <strong>USE</strong>·will·expand·macros·that·have·been·previously127 <strong>USE</strong>·will·expand·macros·that·have·been·previously
128 declared·with·either·<A·HREF="set.html">SET</A>·or·<A128 declared·with·either·<A·HREF="set.html">SET</A>·or·<A
129 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other129 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other
130 markup·tags.130 markup·tags.
131 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will131 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will
Offset 135, 15 lines modifiedOffset 135, 15 lines modified
135 attribute·to·prevent·further·expansion.··</p>135 attribute·to·prevent·further·expansion.··</p>
136 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros136 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
137 for·the·expanded·macro.··This·is·only·valid·for·<A137 for·the·expanded·macro.··This·is·only·valid·for·<A
138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
139 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For139 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
140 example:</p>140 example:</p>
141 ··<p><code>141 ··<p><code>
142 <font·size="-2">&nbsp;1.·</font>&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 <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>
143 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>143 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
144 <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>144 <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>
145 <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>145 <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>
146 </code></p>146 </code></p>
147 <P>147 <P>
148 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on148 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
149 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and149 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
Offset 157, 16 lines modifiedOffset 157, 18 lines modified
157 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or157 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or
158 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.158 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.
159 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or159 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or
160 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it160 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it
161 replaces·the·macro·name·by·the·contents·of·the·macro·without·further161 replaces·the·macro·name·by·the·contents·of·the·macro·without·further
162 processing·the·contents.162 processing·the·contents.
163 ··<p><code>163 ··<p><code>
164 <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> 
165 <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>164 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>
 165 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
 166 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
 167 <font·size="-2">&nbsp;4.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
166 </code></p>168 </code></p>
167 <P>169 <P>
168 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and170 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
169 should·never·cause·confusion·with·surrounding·text.··If·no·curly171 should·never·cause·confusion·with·surrounding·text.··If·no·curly
170 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation172 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation
171 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;173 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;
172 and·&quot;_&quot;·that·follows·it.174 and·&quot;_&quot;·that·follows·it.
4.34 KB
html2text {}
    
Offset 1, 29 lines modifiedOffset 1, 29 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·[NOT]·conditional>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·...5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i>6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············used·outside·of·other·markup·tags.11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············used·outside·of·other·markup·tags.
12  · ···_\x8D_\x8E_\x8F···················If·you·USE·a·block·macro·the·value·of·expanded12  · ···_\x8D_\x8E_\x8F···················If·you·USE·a·block·macro·the·value·of·expanded
13  · ···_\x8F_\x8I_\x8L_\x8E··················block·macros·will·be·further·parsed·by·htp.·This·is13  · ···_\x8F_\x8I_\x8L_\x8E··················block·macros·will·be·further·parsed·by·htp.·This·is
14  · ···_\x8I_\x8F····················maybe·not·what·you·want,·for·example,·if·the·use·is14  · ···_\x8I_\x8F····················maybe·not·what·you·want,·for·example,·if·the·use·is
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]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i>22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10">
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· 2.· · ·...23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· 2.· · ·...
24  ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>24  ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················(See·below·for·a·description·of·the·'$'·operator.)26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················(See·below·for·a·description·of·the·'$'·operator.)
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················The·example·on·line·7·works·because·"stuff"·has27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················The·example·on·line·7·works·because·"stuff"·has
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················been·declared·as·a·block·macro,·and·the·tag·is28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················been·declared·as·a·block·macro,·and·the·tag·is
29  ·_\x8B_\x8u_\x8g_\x8s······················passing·the·"email"·macro·to·the·"stuff"·macro.29  ·_\x8B_\x8u_\x8g_\x8s······················passing·the·"email"·macro·to·the·"stuff"·macro.
Offset 36, 17 lines modifiedOffset 36, 18 lines modified
36 ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any36 ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any
37 ····························other·standard·HTML·or·htp·tag,·the·'$'·operator37 ····························other·standard·HTML·or·htp·tag,·the·'$'·operator
38 ····························must·be·used.·The·'$'·should·be·immediately38 ····························must·be·used.·The·'$'·should·be·immediately
39 ····························followed·by·the·macro·name,·which·may·or·may·not·be39 ····························followed·by·the·macro·name,·which·may·or·may·not·be
40 ····························surrounded·by·curly·braces.·When·htp·encounters40 ····························surrounded·by·curly·braces.·When·htp·encounters
41 ····························this·it·replaces·the·macro·name·by·the·contents·of41 ····························this·it·replaces·the·macro·name·by·the·contents·of
42 ····························the·macro·without·further·processing·the·contents.42 ····························the·macro·without·further·processing·the·contents.
43 ···························· 1.·<a·href="mailto:$email">mailto·hyperlink</a> 
44 ···························· 2.·<a·href="http://$domain/~${username}/">another 
45 ····························hyperlink</a>43 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>
 44 ···························· 2.· · ·...
 45 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
 46 ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
46 ····························The·use·of·curly·braces·is·encouraged,·since·it·is47 ····························The·use·of·curly·braces·is·encouraged,·since·it·is
47 ····························more·robust·and·should·never·cause·confusion·with48 ····························more·robust·and·should·never·cause·confusion·with
48 ····························surrounding·text.·If·no·curly·braces·are·used·the49 ····························surrounding·text.·If·no·curly·braces·are·used·the
49 ····························macro·name·consists·either·of·a·single·punctuation50 ····························macro·name·consists·either·of·a·single·punctuation
50 ····························character·or·the·maximum·sequence·of·letters,51 ····························character·or·the·maximum·sequence·of·letters,
51 ····························digits,·"-"·and·"_"·that·follows·it.52 ····························digits,·"-"·and·"_"·that·follows·it.
52 ····························If·a·'$'·character·needs·to·be·kept·in·the·final53 ····························If·a·'$'·character·needs·to·be·kept·in·the·final
10.1 KB
./usr/share/doc/htp/while.html
    
Offset 114, 41 lines modifiedOffset 114, 41 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br>
 122 &nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br>
 123 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 124 <br>
 125 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br>
 126 <br>
 127 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
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>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login[·...·truncated·by·diffoscope;·len:·5,·SHA:·61fc96d712bbcceb17bfe2debd9aa89feb1da54d2983a69b5a1cf78e114e2b12·...·]</span>&gt;</span><br>128 But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br>
 129 And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
122 </code></p>130 </code></p>
123 <h2>synopsis</h2>131 <h2>synopsis</h2>
124 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.132 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.
125 The·basic·form·is·shown·above.133 The·basic·form·is·shown·above.
126 <P>134 <P>
127 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.135 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
128 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.136 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.
129 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the137 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
130 conditional·is·reversed:138 conditional·is·reversed:
131 ··<p><code>139 ··<p><code>
132 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br> 
133 &nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br>140 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
 141 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
134 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
135 <br> 
136 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br> 
137 <br> 
138 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
139 But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br> 
140 And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
141 </code></p>142 </code></p>
142 <P>143 <P>
143 Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a144 Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a
144 macro's·existance:145 macro's·existance:
145 ··<p><code>146 ··<p><code>
 147 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>
146 <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> 
147 <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> 
148 </code></p>148 </code></p>
149 <P>149 <P>
150 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the150 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
151 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the151 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
152 WHILE·tag·it·is·also·reevaluated·on·each·iteration.152 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
153 <P>153 <P>
154 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.53 KB
html2text {}
    
Offset 1, 35 lines modifiedOffset 1, 35 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr·home_url·login_name>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················processing.·The·basic·form·is·shown·above. 
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·the 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················value·of·a·macro·against·a·literal·string.·If·the 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············NOT·tag·is·present·in·the·WHILE·markup,·the 
12  · ···_\x8D_\x8E_\x8F···················evaluation·of·the·conditional·is·reversed: 
13  · ···_\x8F_\x8I_\x8L_\x8E··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> 
14  · ···_.I_.F···················· ·<a·href=$email>send·email</a>5  ·_.L_.i_.c_.e_.n_.s_.e··················· ·<a·href=$email>send·email</a>
15  · ···_.I_.N_.C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
16  · ···_.I_.M_.G7  ·_.U_.s_.a_.g_.e
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email>8  ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email>
18  · ···_\x8O_.P_\x8T9  · ···_\x8A_.L_.T_.T_.E_.X_\x8T
19  · ···_\x8O_.U_.T_.P_.U_.T················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff10  · ···_\x8B_.L_.O_.C_.K·················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff
20  · ···_\x8Q_.U_.O_.T_.E·················email="jnelson@crl.com">11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············email="jnelson@crl.com">
21  · ···_\x8S_.E_.T···················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email>12  · ···_\x8D_.E_.F···················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email>
22  · ···_\x8U_.N_.D_.E_.F·················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff13  · ···_\x8F_.I_.L_.E··················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff
23  · ···_\x8U_.N_.S_.E_.T·················email="jnelson@crl.com">14  · ···_\x8I_.F····················email="jnelson@crl.com">
 15  · ···_\x8I_\x8N_\x8C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
 16  · ···_\x8I_\x8M_\x8G···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············processing.·The·basic·form·is·shown·above.
 18  · ···_\x8O_\x8P_\x8T···················"Conditional"·is·either·a·"compare"·or·"is·defined"
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················operation.·A·compare·operator·is·a·test·of·the
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················value·of·a·macro·against·a·literal·string.·If·the
 21  · ···_\x8S_\x8E_\x8T···················NOT·tag·is·present·in·the·WHILE·markup,·the
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················evaluation·of·the·conditional·is·reversed:
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<a·href="mailto:$email">mailto·hyperlink</a>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<a·href="http://$domain/~${username}/">another
 25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E·················hyperlink</a>
24  · ···_\x8U_.S_.E_.,_.·_.$················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a26  · ···_\x8<_.!_.-_.-_.-·················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a
25  ·[>]·_.W_.H_.I_.L_.E·················macro's·existance:27  ·_.H_.i_.s_.t_.o_.r_.y···················macro's·existance:
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<${tagName}·${attrName}=${value$ctr}>
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<a·href="mailto:$email">mailto·hyperlink</a> 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················<a·href="http://$domain/~${username}/">another 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················hyperlink</a> 
29  ·_\x8B_\x8u_\x8g_\x8s······················If·the·condition·is·true,·the·block·is·evaluated29  ·_\x8B_\x8u_\x8g_\x8s······················If·the·condition·is·true,·the·block·is·evaluated
30 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If30 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If
31 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is31 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is
32 ····························also·reevaluated·on·each·iteration.32 ····························also·reevaluated·on·each·iteration.
33 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.33 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.