143 KB
/srv/reproducible-results/rbuild-debian/r-b-build.hltRVo1G/b1/htp_1.19-8_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.hltRVo1G/b2/htp_1.19-8_amd64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·96c6f2fc18e863ab2764332660fa0b51·71076·debug·optional·htp-dbgsym_1.19-8_amd64.deb1 ·96c6f2fc18e863ab2764332660fa0b51·71076·debug·optional·htp-dbgsym_1.19-8_amd64.deb
2 ·ffb80603e289da3c4cb85d961e6f1dee·116392·web·optional·htp_1.19-8_amd64.deb2 ·146dd4b7eb025091e27de3aa4aaf6518·116876·web·optional·htp_1.19-8_amd64.deb
143 KB
htp_1.19-8_amd64.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary
2 -rw-r--r--···0········0········0·····3608·2020-06-14·23:21:19.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3620·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···112592·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···113064·2020-06-14·23:21:19.000000·data.tar.xz
563 B
control.tar.xz
535 B
control.tar
465 B
./control
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 Package:·htp1 Package:·htp
2 Version:·1.19-82 Version:·1.19-8
3 Architecture:·amd643 Architecture:·amd64
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6295 Installed-Size:·641
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
142 KB
data.tar.xz
142 KB
data.tar
13.7 KB
file list
    
Offset 5, 23 lines modifiedOffset 5, 23 lines modified
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/
6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/
8 -rw-r--r--···0·root·········(0)·root·········(0)·····8180·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)·····8180·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html
9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp
10 -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html
11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp
12 -rw-r--r--···0·root·········(0)·root·········(0)·····8225·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····7941·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html
13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp
14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html
15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp
16 -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz16 -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz
17 -rw-r--r--···0·root·········(0)·root·········(0)·····8300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)·····9733·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)····11636·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····11490·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html
21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp
22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html
23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp
24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/
25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub
26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti
27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt
Offset 32, 45 lines modifiedOffset 32, 45 lines modified
32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp
33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html
34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp
35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def
36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html
37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp
38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt
39 -rw-r--r--···0·root·········(0)·root·········(0)·····8490·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)·····7909·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html
40 -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp40 -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp
41 -rw-r--r--···0·root·········(0)·root·········(0)····14743·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····12933·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)·····9188·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)····11973·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)·····9082·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)·····8950·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)·····8733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html
53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp
54 -rw-r--r--···0·root·········(0)·root·········(0)·····8598·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····8142·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html
55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp
56 -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html56 -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html
57 -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp57 -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp
58 -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html58 -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html
59 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp59 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp
60 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html60 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html
61 -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp61 -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp
62 -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html62 -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html
63 -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp63 -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp
64 -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def64 -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def
65 -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html65 -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html
66 -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.htp66 -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.htp
67 -rw-r--r--···0·root·········(0)·root·········(0)····14256·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····18082·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)·····8454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····8624·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html
70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp
71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html
72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp
73 -rw-r--r--···0·root·········(0)·root·········(0)·····7777·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····7777·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp
75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/
76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png
82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png
83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png
84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png
85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····7503·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)·····7503·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html
87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp
88 -rw-r--r--···0·root·········(0)·root·········(0)·····8234·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)····12003·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html
89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp
90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css
91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html
92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz
93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def
94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/
95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti
Offset 104, 21 lines modifiedOffset 104, 21 lines modified
104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp
105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt
106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt
107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html
108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp
109 -rw-r--r--···0·root·········(0)·root·········(0)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html
110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp
111 -rw-r--r--···0·root·········(0)·root·········(0)·····9372·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)····12660·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)····13526·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····12664·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)·····9106·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)····12635·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/
2.85 KB
./usr/share/doc/htp/blockdef.html
    
Offset 124, 15 lines modifiedOffset 124, 14 lines modified
124 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it124 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
125 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block125 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
126 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and126 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
127 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored127 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
128 in·the·block·macro·named·BLOCK.128 in·the·block·macro·named·BLOCK.
129 <P>·For·example:</P>129 <P>·For·example:</P>
130 ··<p><code>130 ··<p><code>
131 &nbsp;·&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_name</span>&gt;</span><br> 
132 </code></p>131 </code></p>
133 <p>132 <p>
134 All·block·metatags·have·the·implicit·option·<a133 All·block·metatags·have·the·implicit·option·<a
135 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents134 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
136 of·the·block·before·the·definition·is·expanded.135 of·the·block·before·the·definition·is·expanded.
137 </p>136 </p>
138 <p>137 <p>
1.95 KB
html2text {}
    
Offset 6, 20 lines modifiedOffset 6, 20 lines modified
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················way·of·saying·it·creates·new·block·tags.·A·block6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················way·of·saying·it·creates·new·block·tags.·A·block
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················tag·is·a·tag·that·takes·a·whole·block·as·additional7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················tag·is·a·tag·that·takes·a·whole·block·as·additional
8  ·HTP·Tags··················parameter.·This·block·is·surrounded·by·<tagname>8  ·HTP·Tags··················parameter.·This·block·is·surrounded·by·<tagname>
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············and·</tagname>.·The·contents·of·this·block·are9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············and·</tagname>.·The·contents·of·this·block·are
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················automatically·stored·in·the·block·macro·named10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················automatically·stored·in·the·block·macro·named
11  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············BLOCK.11  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············BLOCK.
12  · ···_\x8D_\x8E_\x8F···················For·example:12  · ···_\x8D_\x8E_\x8F···················For·example:
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name> 
14  · ···_\x8I_.F····················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,13  · ···_\x8F_.I_.L_.E··················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,
15  · ···_\x8I_\x8N_.C···················which·tells·htp·to·expand·the·contents·of·the·block14  · ···_\x8I_\x8F····················which·tells·htp·to·expand·the·contents·of·the·block
16  · ···_\x8I_\x8M_.G···················before·the·definition·is·expanded.15  · ···_\x8I_\x8N_.C···················before·the·definition·is·expanded.
17  · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············A·more·thorough·discussion·and·more·elaborate16  · ···_\x8I_\x8M_\x8G···················A·more·thorough·discussion·and·more·elaborate
18  · ···_\x8O_.P_.T···················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.
 18  · ···_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
Offset 30, 15 lines modifiedOffset 30, 14 lines modified
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
7.08 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 33 lines modifiedOffset 114, 40 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>&gt;</span><br>
 122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;h1&gt;</span><span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>&gt;</span><span·class="htp-tag">&lt;/h1&gt;</span><br>
 123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br>
 124 &nbsp;·&nbsp;·&nbsp;<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br>
 125 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br>
 126 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
 127 <br>
 128 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br>
 129 &nbsp;·&nbsp;·This·is·a·fancy·section.<br>
 130 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br>
121 </code></p>131 </code></p>
122 <h2>synopsis</h2>132 <h2>synopsis</h2>
123 <p>133 <p>
124 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful134 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
125 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.135 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
126 Example:136 Example:
127 </p>137 </p>
128 ··<p><code>138 ··<p><code>
 139 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;EM&gt;</span>File·"<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>&gt;</span>"·last·updated·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">DATE</span>&gt;</span><span·class="htp-tag">&lt;/EM&gt;</span><br>
129 </code></p>140 </code></p>
130 <p>141 <p>
131 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you142 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
132 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something143 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
133 like·this:144 like·this:
134 </p>145 </p>
135 ··<p><code>146 ··<p><code>
136 &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> 
137 &nbsp;·&nbsp;·...<br> 
138 &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> 
139 &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> 
140 </code></p>147 </code></p>
141 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the148 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
142 reason·why·you·don't·want·to·include·this·block</p>149 reason·why·you·don't·want·to·include·this·block</p>
143 <p>150 <p>
144 </td>151 </td>
145 </tr>152 </tr>
146 <tr>153 <tr>
3.72 KB
html2text {}
    
Offset 1, 43 lines modifiedOffset 1, 51 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"·option="title">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <h1><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·title></h1>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · <p·class="section">
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block>
 8  ·HTP·Tags·················· · </p>
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<section·title="My·Section">
 12  · ···_\x8D_\x8E_\x8F··················· · ·This·is·a·fancy·section.
 13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·</section>
4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*14  · ···_.I_.F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_.L_.i_.c_.e_.n_.s_.e···················This·is·a·simple·comment·that·is·not·included·in15  · ···_.I_.N_.C···················This·is·a·simple·comment·that·is·not·included·in
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················the·output.·This·is·useful·when·commenting16  · ···_.I_.M_.G···················the·output.·This·is·useful·when·commenting
7  ·_.U_.s_.a_.g_.e·····················metatags,·since·the·metatags·do·not·appear·the17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············metatags,·since·the·metatags·do·not·appear·the
8  ·HTP·Tags··················output·either.·Example:18  · ···_.O_.P_.T···················output·either.·Example:
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated·<_\x8[
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM>
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············Note·that·these·comments·should·not·include·<·or·>,21  · ···_\x8S_.E_.T···················Note·that·these·comments·should·not·include·<·or·>,
10  · ···_\x8B_.L_.O_.C_.K·················that·is·you·should·not·use·it·to·comment·out·htp22  · ···_\x8U_.N_.D_.E_.F·················that·is·you·should·not·use·it·to·comment·out·htp
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············code.·For·that·purpose·use·something·like·this:23  · ···_\x8U_.N_.S_.E_.T·················code.·For·that·purpose·use·something·like·this:
12  · ···_\x8D_\x8E_\x8F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·... 
14  · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
15  · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
16  · ···_\x8I_.M_.G···················Make·sure·that·the·variable·is·never·defined·and24  · ···_\x8U_.S_.E_.,_.·_.$················Make·sure·that·the·variable·is·never·defined·and
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············xyz·should·be·the·reason·why·you·don't·want·to25  · ···_\x8W_.H_.I_.L_.E·················xyz·should·be·the·reason·why·you·don't·want·to
18  · ···_.O_.P_.T···················include·this·block26  ·[>]·_.<_.!_.-_.-_.-·················include·this·block
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E 
21  · ···_\x8S_\x8E_\x8T 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E 
26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8- 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\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
8.33 KB
./usr/share/doc/htp/def.html
    
Offset 133, 33 lines modifiedOffset 133, 31 lines modified
133 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to133 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
134 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A134 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
135 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster135 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
136 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing136 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
137 tag·with·a·preceding·slash.·For·example:137 tag·with·a·preceding·slash.·For·example:
138 </P>138 </P>
139 ··<p><code>139 ··<p><code>
 140 <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>
 141 &nbsp;·...<br>
 142 <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 if"·SIZE=KBYTE>·kilobytes<br>
 144 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
140 </code></p>145 </code></p>
141 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,146 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
142 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>147 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
143 <P>148 <P>
144 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were149 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
145 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with150 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
146 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their151 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
147 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)152 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
148 </P>153 </P>
149 ··<p><code>154 ··<p><code>
 155 &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>
150 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br> 
151 &nbsp;·&nbsp;·...<br> 
152 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>156 &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>
153 &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> 
154 &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> 
155 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<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> 
156 &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> 
157 &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> 
158 &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> 
159 </code></p>157 </code></p>
160 <P>158 <P>
161 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is159 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
162 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are160 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
163 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the161 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
164 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a162 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
165 parameter·is·required,·simply·expand·it·without·first·checking.··When163 parameter·is·required,·simply·expand·it·without·first·checking.··When
3.95 KB
html2text {}
    
Offset 10, 32 lines modifiedOffset 10, 31 lines modified
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················Some·metatags·will·require·an·opening·and·closing10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················Some·metatags·will·require·an·opening·and·closing
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············tag·(comparable·to11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············tag·(comparable·to
12  ·[>]·_\x8D_\x8E_\x8F···················and12  ·[>]·_\x8D_\x8E_\x8F···················and
13  · ···_\x8F_\x8I_\x8L_\x8E··················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.13  · ···_\x8F_\x8I_\x8L_\x8E··················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.
14  · ···_\x8I_\x8F····················Another·slightly·faster·alternative·is·to·use·two14  · ···_\x8I_\x8F····················Another·slightly·faster·alternative·is·to·use·two
15  · ···_\x8I_\x8N_\x8C···················metatags,·the·opening·tag·and·the·closing·tag·with15  · ···_\x8I_\x8N_\x8C···················metatags,·the·opening·tag·and·the·closing·tag·with
16  · ···_\x8I_\x8M_\x8G···················a·preceding·slash.·For·example:16  · ···_\x8I_\x8M_\x8G···················a·preceding·slash.·For·example:
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz>
 18  · ···_\x8O_\x8P_\x8T··················· ·...
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················if"·SIZE=KBYTE>·kilobytes
 21  · ···_\x8S_\x8E_\x8T··················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE>
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will23  · ···_\x8U_.N_.S_.E_.T·················You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will
18  · ···_\x8O_.P_.T···················check·for·matching·end·tag.·It·is·not·that·slower.24  · ···_\x8U_.S_.E_.,_.·_.$················check·for·matching·end·tag.·It·is·not·that·slower.
19  · ···_\x8O_.U_.T_.P_.U_.T················Options·can·be·passed·to·a·metatag,·which·can·then25  · ···_\x8W_.H_.I_.L_.E·················Options·can·be·passed·to·a·metatag,·which·can·then
20  · ···_\x8Q_.U_.O_.T_.E·················expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are26  · ···_\x8<_.!_.-_.-_.-·················expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are
21  · ···_.S_.E_.T···················parameterized·with·the·OPTION·attribute.·Multiple27  ·_.H_.i_.s_.t_.o_.r_.y···················parameterized·with·the·OPTION·attribute.·Multiple
22  · ···_.U_.N_.D_.E_.F·················options·can·be·listed·by·separating·their·name·with28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················options·can·be·listed·by·separating·their·name·with
23  · ···_.U_.N_.S_.E_.T·················a·space·(which·therefore·requires·they·be29  ·_.B_.u_.g_.s······················a·space·(which·therefore·requires·they·be
24  · ···_.U_.S_.E_.,_.·_.$················surrounded·by·quotes.)30 ····························surrounded·by·quotes.)
 31 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim
 32 ····························Nelson"·email="jnelson@crl.com">
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·... 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
29  ·_\x8B_\x8u_\x8g_\x8s······················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> 
30 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand 
31 ····························global> 
32 ···························· · · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·block·noexpand>33 ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>
33 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> 
34 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
35 ····························htp·will·do·very·specific·checking·of·parameters34 ····························htp·will·do·very·specific·checking·of·parameters
36 ····························when·a·metatag·is·invoked.·htp·assumes·that·all35 ····························when·a·metatag·is·invoked.·htp·assumes·that·all
37 ····························parameter·options·to·the·metatag·are·optional.·This36 ····························parameter·options·to·the·metatag·are·optional.·This
38 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify37 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify
39 ····························the·SIZE·option·is·defined·before·expanding·it·in38 ····························the·SIZE·option·is·defined·before·expanding·it·in
40 ····························the·block.·If·a·parameter·is·required,·simply39 ····························the·block.·If·a·parameter·is·required,·simply
41 ····························expand·it·without·first·checking.·When·htp·expands40 ····························expand·it·without·first·checking.·When·htp·expands
2.5 KB
./usr/share/doc/htp/expand.html
    
Offset 101, 18 lines modifiedOffset 101, 14 lines modified
101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value
102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when
103 the·htp·tags·are·expanded:·</P>103 the·htp·tags·are·expanded:·</P>
104 ··<p><code>104 ··<p><code>
105 </code></p>105 </code></p>
106 This·produces·the·following:106 This·produces·the·following:
107 ··<p><code>107 ··<p><code>
108 &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> 
109 &nbsp;·&nbsp;·...<br> 
110 &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> 
111 &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> 
112 </code></p>108 </code></p>
113 <P>109 <P>
114 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a110 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
115 are·taken·literally,·however,·the·contents·for·b·are·already·expanded111 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
116 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it112 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
117 is·used,·while·the·contents·of·b·are·already·expanded.113 is·used,·while·the·contents·of·b·are·already·expanded.
118 </P>114 </P>
1.33 KB
html2text {}
    
Offset 25, 18 lines modifiedOffset 25, 14 lines modified
25 ····························modifier·it·is·expanded·immediately.·This·is·useful25 ····························modifier·it·is·expanded·immediately.·This·is·useful
26 ····························if·you·want·to·store·something·in·a·block·macro,26 ····························if·you·want·to·store·something·in·a·block·macro,
27 ····························that·depends·on·the·current·value·of·another·macro.27 ····························that·depends·on·the·current·value·of·another·macro.
28 ····························This·other·macro·may·no·longer·have·the·correct28 ····························This·other·macro·may·no·longer·have·the·correct
29 ····························value·when·the·macro·is·expanded.·Here·is·some·code29 ····························value·when·the·macro·is·expanded.·Here·is·some·code
30 ····························that·demonstrate·when·the·htp·tags·are·expanded:30 ····························that·demonstrate·when·the·htp·tags·are·expanded:
31 ····························This·produces·the·following:31 ····························This·produces·the·following:
32 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> 
33 ···························· · ·... 
34 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
35 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
36 ····························When·block·a·and·block·b·are·defined·in·lines·2-32 ····························When·block·a·and·block·b·are·defined·in·lines·2-
37 ····························7·the·contents·of·a·are·taken·literally,·however,33 ····························7·the·contents·of·a·are·taken·literally,·however,
38 ····························the·contents·for·b·are·already·expanded·so·the34 ····························the·contents·for·b·are·already·expanded·so·the
39 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it35 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it
40 ····························is·used,·while·the·contents·of·b·are·already36 ····························is·used,·while·the·contents·of·b·are·already
41 ····························expanded.37 ····························expanded.
42 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with38 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with
11.6 KB
./usr/share/doc/htp/file.html
    
Offset 114, 17 lines modifiedOffset 114, 14 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="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> 
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> 
124 </code></p>121 </code></p>
125 <h2>synopsis</h2>122 <h2>synopsis</h2>
126 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.123 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
127 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of124 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
128 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be125 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
129 added·to·the·output·file·as·well.126 added·to·the·output·file·as·well.
130 <P>127 <P>
Offset 135, 18 lines modifiedOffset 132, 19 lines modified
135 <P>132 <P>
136 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>133 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
137 <P>134 <P>
138 To·include·information·about·another·file,·such·as·an·archive·file·or135 To·include·information·about·another·file,·such·as·an·archive·file·or
139 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the136 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
140 type·of·information·to·be·displayed:137 type·of·information·to·be·displayed:
141 ··<p><code>138 ··<p><code>
142 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br> 
143 &nbsp;·&nbsp;·...<br> 
144 &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 &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·<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>
 140 <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>
 141 f><br>
 142 <br>
 143 &nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br>
146 </code></p>144 </code></p>
147 <P>145 <P>
148 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the146 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
149 information·is·displayed.··In·anything·other·than·byte·format,·the·information147 information·is·displayed.··In·anything·other·than·byte·format,·the·information
150 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number148 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
151 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional149 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
152 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no150 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 175, 21 lines modifiedOffset 173, 14 lines modified
175 <P>173 <P>
176 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are174 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
177 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros175 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
178 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it176 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
179 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer177 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
180 available.··So:178 available.··So:
181 ··<p><code>179 ··<p><code>
182 <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> 
183 &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> 
184 &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> 
185 &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> 
186 &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> 
187 &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> 
188 <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> 
189 </code></p>180 </code></p>
190 <P>181 <P>
191 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included182 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
192 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the183 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
193 second·statement·will·fail.)184 second·statement·will·fail.)
194 <P>185 <P>
195 <h3><a·name="template">TEMPLATE</a></h3>186 <h3><a·name="template">TEMPLATE</a></h3>
6.63 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing5  ·_.L_.i_.c_.e_.n_.s_.e···················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing
9  · ···_.A_.L_.T_.T_.E_.X_.T···············purpose.·The·output·file's·name,·the·current·date6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················purpose.·The·output·file's·name,·the·current·date
10  · ···_.B_.L_.O_.C_.K·················and·time,·and·the·contents·of·another·file·may·be7  ·_.U_.s_.a_.g_.e·····················and·time,·and·the·contents·of·another·file·may·be
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············included.·Another·file's·time,·date,·or·size·may·be8  ·HTP·Tags··················included.·Another·file's·time,·date,·or·size·may·be
12  · ···_\x8D_.E_.F···················added·to·the·output·file·as·well.9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············added·to·the·output·file·as·well.
13  ·[>]·_.F_.I_.L_.E··················As·with·all·HTML,·these·tags·do·not·have·to·be·on10  · ···_.B_.L_.O_.C_.K·················As·with·all·HTML,·these·tags·do·not·have·to·be·on
14  · ···_\x8I_.F····················their·own·line,·so·the·following·is·perfectly11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············their·own·line,·so·the·following·is·perfectly
15  · ···_\x8I_.N_.C···················acceptable:12  · ···_\x8D_.E_.F···················acceptable:
16  · ···_.I_.M_.G···················*\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*13  ·[>]·_.F_.I_.L_.E··················*\x8**\x8**\x8**\x8*·N\x8NA\x8AM\x8ME\x8E,\x8,·T\x8TI\x8IM\x8ME\x8E,\x8,·S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8*
17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············To·include·information·about·another·file,·such·as14  · ···_\x8I_\x8F····················To·include·information·about·another·file,·such·as
18  · ···_\x8O_.P_.T···················an·archive·file·or·graphic·image,·specify·its·name15  · ···_\x8I_.N_.C···················an·archive·file·or·graphic·image,·specify·its·name
19  · ···_\x8O_.U_.T_.P_.U_.T················with·the·NAME·attribute·followed·by·the·type·of16  · ···_\x8I_.M_.G···················with·the·NAME·attribute·followed·by·the·type·of
20  · ···_\x8Q_.U_.O_.T_.E·················information·to·be·displayed:17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············information·to·be·displayed:
21  · ···_\x8S_.E_.T··················· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>18  · ···_\x8O_.P_.T···················<a·href="mailto:$email">mailto·hyperlink</a>
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················<a·href="http://$domain/~${username}/">another
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················hyperlink</a>
22  · ···_\x8U_.N_.D_.E_.F················· · ·...21  · ···_\x8S_.E_.T···················f>
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
24  · ···_\x8U_\x8S_.E_.,_.·_.$················ ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>22  · ···_\x8U_\x8N_.D_.E_.F
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image">
25  · ···_\x8W_.H_.I_.L_.E·················For·file·size·information,·the·value·BYTE,·KBYTE,24  · ···_\x8U_.S_.E_.,_.·_.$················For·file·size·information,·the·value·BYTE,·KBYTE,
26  · ···_\x8<_.!_.-_.-_.-·················etc.·dictates·how·the·information·is·displayed.·In25  · ···_\x8W_.H_.I_.L_.E·················etc.·dictates·how·the·information·is·displayed.·In
27  ·_.H_.i_.s_.t_.o_.r_.y···················anything·other·than·byte·format,·the·information·is26  · ···_.<_.!_.-_.-_.-·················anything·other·than·byte·format,·the·information·is
28  ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················displayed·in·floating-point·notation.·The·amount·of27  ·_\x8H_.i_.s_.t_.o_.r_.y···················displayed·in·floating-point·notation.·The·amount·of
29  ·_\x8B_.u_.g_.s······················precision·(the·number·of·digits·to·the·right·of·the28  ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················precision·(the·number·of·digits·to·the·right·of·the
30 ····························decimal·point)·can·be·set·with·the·optional29  ·_.B_.u_.g_.s······················decimal·point)·can·be·set·with·the·optional
31 ····························PRECISION·attribute.·The·default·precision·is·zero30 ····························PRECISION·attribute.·The·default·precision·is·zero
32 ····························(0),·which·means·no·fractional·portion·is31 ····························(0),·which·means·no·fractional·portion·is
33 ····························displayed.32 ····························displayed.
34 ····························At·the·request·of·many·people,·the·TIME·and·DATE33 ····························At·the·request·of·many·people,·the·TIME·and·DATE
35 ····························attributes·will·now·accept·formatting·characters34 ····························attributes·will·now·accept·formatting·characters
36 ····························that·are·passed·directly·into·the·ANSI·C·library35 ····························that·are·passed·directly·into·the·ANSI·C·library
37 ····························function.·This·allows·for·the·time·and·date·to·be36 ····························function.·This·allows·for·the·time·and·date·to·be
Offset 56, 21 lines modifiedOffset 55, 14 lines modified
56 ····························Additional·parameters·can·be·set·in·the·FILE55 ····························Additional·parameters·can·be·set·in·the·FILE
57 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that56 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that
58 ····························are·"passed"·to·the·included·file.·The·macros·are57 ····························are·"passed"·to·the·included·file.·The·macros·are
59 ····························available·only·to·the·include·file·(and·any·macros58 ····························available·only·to·the·include·file·(and·any·macros
60 ····························or·included·files·it·holds).·After·the·file·is59 ····························or·included·files·it·holds).·After·the·file·is
61 ····························completely·included,·the·macros·are·no·longer60 ····························completely·included,·the·macros·are·no·longer
62 ····························available.·So:61 ····························available.·So:
63 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> 
64 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> 
65 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> 
66 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> 
67 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> 
68 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> 
69 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> 
70 ····························Macros·named·"name"·and·"email"·are·set,·and62 ····························Macros·named·"name"·and·"email"·are·set,·and
71 ····························available·inside·the·included·file.·They·are·not63 ····························available·inside·the·included·file.·They·are·not
72 ····························available,·however,·past·the·tag·(which·is·why·the64 ····························available,·however,·past·the·tag·(which·is·why·the
73 ····························second·statement·will·fail.)65 ····························second·statement·will·fail.)
74 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*66 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*
75 ····························A·template·file·is·nothing·more·than·a·default67 ····························A·template·file·is·nothing·more·than·a·default
76 ····························include·file,·one·that·is·included·once·the·input68 ····························include·file,·one·that·is·included·once·the·input
11.6 KB
./usr/share/doc/htp/if.html
    
Offset 114, 35 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 <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> 
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> 
124 </code></p>121 </code></p>
125 <h2>synopsis</h2>122 <h2>synopsis</h2>
126 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building123 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
127 blocks·for·conditional·processing.··The·basic·form·is·shown·above.124 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
128 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A125 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
129 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal126 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
130 string:127 string:
131 ··<p><code>128 ··<p><code>
 129 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br>
 130 &nbsp;·...<br>
 131 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>&gt;</span><br>
 132 if"·SIZE=KBYTE>·kilobytes<br>
 133 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
 134 ><br>
132 &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>135 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 136 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 138 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 139 <br>
 140 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br>
 141 <br>
 142 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br>
 143 <br>
 144 &nbsp;·This·will·fail:<br>
 145 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br>
 146 <br>
 147 &nbsp;·Instead,·use·*·like·this:<br>
 148 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br>
 149 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br>
 150 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 151 &nbsp;·&nbsp;·<br>
 152 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br>
133 </code></p>153 </code></p>
134 <P>154 <P>
135 and·a·defined·operator·is·a·test·of·a·macro's·existance:155 and·a·defined·operator·is·a·test·of·a·macro's·existance:
136 <P>156 <P>
137 ··<p><code>157 ··<p><code>
 158 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="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>
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br> 
139 &nbsp;·&nbsp;·...<br> 
140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>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>
141 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
142 </code></p>160 </code></p>
143 <P>161 <P>
144 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the162 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
145 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that163 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
146 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the164 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
147 ELSE·block·is·taken·if·it·is·present.··A·conditional·block165 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
148 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.166 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
5.48 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 59 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building5  ·_.L_.i_.c_.e_.n_.s_.e···················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building
9  · ···_.A_.L_.T_.T_.E_.X_.T···············blocks·for·conditional·processing.·The·basic·form6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················blocks·for·conditional·processing.·The·basic·form
10  · ···_.B_.L_.O_.C_.K·················is·shown·above.7  ·_.U_.s_.a_.g_.e·····················is·shown·above.
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············"Conditional"·is·either·a·"compare"·or·"is·defined"8  ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined"
12  · ···_\x8D_.E_.F···················operation.·A·compare·operator·is·a·test·of·the9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············operation.·A·compare·operator·is·a·test·of·the
13  · ···_\x8F_.I_.L_.E··················value·of·a·macro·against·a·literal·string:10  · ···_\x8B_.L_.O_.C_.K·················value·of·a·macro·against·a·literal·string:
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz>
14  ·[>]·_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr> 
15  · ···_\x8I_\x8N_\x8C···················and·a·defined·operator·is·a·test·of·a·macro's 
16  · ···_\x8I_\x8M_\x8G···················existance: 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> 
18  · ···_\x8O_.P_.T··················· · ·...12  · ···_\x8D_.E_.F··················· ·...
 13  · ···_\x8F_\x8I_\x8L_\x8E··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f>
 14  ·[>]·_\x8I_\x8F····················if"·SIZE=KBYTE>·kilobytes
 15  · ···_\x8I_\x8N_\x8C··················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"
 16  · ···_\x8I_\x8M_\x8G···················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············>
19  · ···_\x8O_\x8U_.T_.P_.U_.T················ · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i>18  · ···_\x8O_\x8P_.T··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·size>
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · · · ·</FONT>
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
21  · ···_\x8S_\x8E_\x8T···················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<_.!_.-_.-_.-·················block·m.mu.us.st.t·be·closed·with·the·/IF·tag.·IF·tags·can21  · ···_\x8S_.E_.T··················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.D_.E_.F>
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················title">
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················be·nested.27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················title">
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······················ ·This·will·fail:
 30 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 31 ····························TITLE="Another·title">
  
 32 ···························· ·Instead,·use·*·like·this:
 33 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 34 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 35 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 36 ···························· · 
 37 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
 38 ····························and·a·defined·operator·is·a·test·of·a·macro's
 39 ····························existance:
 40 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim
 41 ····························Nelson"·email="jnelson@crl.com">
 42 ···························· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name>
 43 ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the
 44 ····························evaluation·of·the·conditional·is·reversed.·The
 45 ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true
 46 ····························is·chosen.·If·none·of·the·conditions·is·true·the
 47 ····························ELSE·block·is·taken·if·it·is·present.·A·conditional
 48 ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can
 49 ····························be·nested.
  
  
  
  
  
  
  
  
  
6.93 KB
./usr/share/doc/htp/imageurl.html
    
Offset 114, 17 lines modifiedOffset 114, 14 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="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> 
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> 
124 </code></p>121 </code></p>
125 <h2>synopsis</h2>122 <h2>synopsis</h2>
126 <P>123 <P>
127 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local124 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local
128 file·system.··declares·an·URL·replacement·that·is·used·for125 file·system.··declares·an·URL·replacement·that·is·used·for
129 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions126 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions
130 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is127 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is
Offset 138, 14 lines modifiedOffset 135, 15 lines modified
138 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC135 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC
139 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.136 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.
140 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and137 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
141 looked·up·in·the·current·directory.</P>138 looked·up·in·the·current·directory.</P>
142 <P>139 <P>
143 For·example:</P>140 For·example:</P>
144 ··<p><code>141 ··<p><code>
 142 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>&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>143 </code></p>
146 <P>144 <P>
147 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as145 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
148 an·undefine,·and·is·removed.</P>146 an·undefine,·and·is·removed.</P>
149 <P>147 <P>
150 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout148 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
151 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an149 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
5.05 KB
html2text {}
    
Offset 1, 38 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the5  ·_.L_.i_.c_.e_.n_.s_.e···················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the
9  · ···_.A_.L_.T_.T_.E_.X_.T···············local·file·system.·declares·an·URL·replacement·that6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················local·file·system.·declares·an·URL·replacement·that
10  · ···_.B_.L_.O_.C_.K·················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This7  ·_.U_.s_.a_.g_.e·····················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option8  ·HTP·Tags··················definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option
12  · ···_\x8D_.E_.F···················is·enabled.·Beacause·htp·can't·lookup·files·in·the9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············is·enabled.·Beacause·htp·can't·lookup·files·in·the
13  · ···_\x8F_.I_.L_.E··················world·wide·web·you·have·to·map·absolute·image·URLs10  · ···_\x8B_.L_.O_.C_.K·················world·wide·web·you·have·to·map·absolute·image·URLs
14  · ···_\x8I_.F····················to·a·directory·in·the·local·file·system.11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············to·a·directory·in·the·local·file·system.
15  · ···_\x8I_.N_.C···················When·an·IMG·tag·is·encountered·where·htp·has·to12  · ···_\x8D_.E_.F···················When·an·IMG·tag·is·encountered·where·htp·has·to
16  · ···_\x8I_.M_.G···················insert·width·and·height·the·defined·URL13  · ···_\x8F_.I_.L_.E··················insert·width·and·height·the·defined·URL
17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············replacements·will·be·taken·into·account·(later14  · ···_.I_.F····················replacements·will·be·taken·into·account·(later
18  · ···_\x8O_.P_.T···················definitions·take·precedence·to·earlier):·For·each15  · ···_\x8I_.N_.C···················definitions·take·precedence·to·earlier):·For·each
19  · ···_\x8O_.U_.T_.P_.U_.T················defined·imageurl·it·checks·(case-insensitive)·if·it16  · ···_\x8I_.M_.G···················defined·imageurl·it·checks·(case-insensitive)·if·it
20  · ···_.Q_.U_.O_.T_.E·················is·a·prefix·of·the·image's·SRC·attribute.·If·it17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············is·a·prefix·of·the·image's·SRC·attribute.·If·it
21  · ···_\x8S_.E_\x8T···················matches·this·prefix·is·replaced·by·the·given·PATH.18  · ···_\x8O_.P_\x8T···················matches·this·prefix·is·replaced·by·the·given·PATH.
22  · ···_\x8U_.N_.D_.E_.F·················If·no·IMAGEURL·matches·the·SRC·is·considered·as19  · ···_\x8O_.U_.T_.P_.U_.T················If·no·IMAGEURL·matches·the·SRC·is·considered·as
23  · ···_\x8U_.N_.S_.E_.T·················relative·link·and·looked·up·in·the·current20  · ···_\x8Q_.U_.O_.T_.E·················relative·link·and·looked·up·in·the·current
24  · ···_\x8U_.S_.E_.,_.·_.$················directory.21  · ···_\x8S_.E_.T···················directory.
25  · ···_\x8W_.H_.I_.L_.E·················For·example:22  · ···_\x8U_.N_.D_.E_.F·················For·example:
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
26  · ···_\x8<_.!_.-_.-_.-·················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH24  · ···_\x8U_.S_.E_.,_.·_.$················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH
27  ·_.H_.i_.s_.t_.o_.r_.y···················attribute,·it·is·treated·as·an·undefine,·and·is25  · ···_.W_.H_.I_.L_.E·················attribute,·it·is·treated·as·an·undefine,·and·is
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················removed.26  · ···_.<_.!_.-_.-_.-·················removed.
29  ·_\x8B_.u_.g_.s······················Since·you·usually·need·the·url·mapping·for·a·number27  ·_\x8H_.i_.s_.t_.o_.r_.y···················Since·you·usually·need·the·url·mapping·for·a·number
30 ····························of·images·used·throughout·a·set·of·documents,28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················of·images·used·throughout·a·set·of·documents,
31 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e29  ·_.B_.u_.g_.s······················IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
32 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.30 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.
33 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also31 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also
34 ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to32 ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to
35 ····························_\x8I_\x8M_\x8G·tags.33 ····························_\x8I_\x8M_\x8G·tags.
  
  
  
5.45 KB
./usr/share/doc/htp/img.html
    
Offset 114, 17 lines modifiedOffset 114, 14 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="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> 
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> 
124 </code></p>121 </code></p>
125 <h2>synopsis</h2>122 <h2>synopsis</h2>
126 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified123 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified
127 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage124 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage
128 of·not·having·to·determine·each·image's·size·manually,·which·is·especially125 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
129 useful·if·the·image·may·change·frequently.·</P>126 useful·if·the·image·may·change·frequently.·</P>
130 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup127 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup
4.4 KB
html2text {}
    
Offset 1, 39 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\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]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the5  ·_.L_.i_.c_.e_.n_.s_.e···················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the
9  · ···_.A_.L_.T_.T_.E_.X_.T···············specified·image's·width·and·height·to·the·tag6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················specified·image's·width·and·height·to·the·tag
10  · ···_.B_.L_.O_.C_.K·················automatically.·This·has·the·advantage·of·not·having7  ·_.U_.s_.a_.g_.e·····················automatically.·This·has·the·advantage·of·not·having
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············to·determine·each·image's·size·manually,·which·is8  ·HTP·Tags··················to·determine·each·image's·size·manually,·which·is
12  · ···_\x8D_.E_.F···················especially·useful·if·the·image·may·change9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············especially·useful·if·the·image·may·change
13  · ···_\x8F_.I_.L_.E··················frequently.10  · ···_\x8B_.L_.O_.C_.K·················frequently.
14  · ···_\x8I_.F····················htp·adds·this·information·with·the·WIDTH·and·HEIGHT11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············htp·adds·this·information·with·the·WIDTH·and·HEIGHT
15  · ···_\x8I_.N_.C···················markup·attributes.·If·htp·detects·these·attributes12  · ···_\x8D_.E_.F···················markup·attributes.·If·htp·detects·these·attributes
16  ·[>]·_.I_.M_.G···················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify13  · ···_.F_.I_.L_.E··················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify
17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············the·values.·If·htp·cannot·find·the·image·file,·it14  · ···_\x8I_\x8F····················the·values.·If·htp·cannot·find·the·image·file,·it
18  · ···_\x8O_.P_.T···················will·issue·a·warning·but·not·halt·processing.15  · ···_\x8I_.N_.C···················will·issue·a·warning·but·not·halt·processing.
19  · ···_.O_.U_.T_.P_.U_.T················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG16  ·[>]·_.I_.M_.G···················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG
20  · ···_\x8Q_.U_.O_.T_.E·················(Portable·Network·Graphics),·and·JFIF·(JPEG·File17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············(Portable·Network·Graphics),·and·JFIF·(JPEG·File
21  · ···_\x8S_.E_\x8T···················Interchange·Format)·are·supported.18  · ···_\x8O_.P_\x8T···················Interchange·Format)·are·supported.
22  · ···_\x8U_.N_.D_.E_.F·················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or19  · ···_\x8O_.U_.T_.P_.U_.T················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or
23  · ···_\x8U_.N_.S_.E_.T·················not·htp·actually·adds·this·information·as·it20  · ···_\x8Q_.U_.O_.T_.E·················not·htp·actually·adds·this·information·as·it
24  · ···_\x8U_.S_.E_.,_.·_.$················executes.21  · ···_\x8S_.E_.T···················executes.
25  · ···_\x8W_.H_.I_.L_.E·················Since·htp·is·able·to·lookup·files·only·in·the·local22  · ···_\x8U_.N_.D_.E_.F·················Since·htp·is·able·to·lookup·files·only·in·the·local
26  · ···_\x8<_.!_.-_.-_.-·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map23  · ···_\x8U_.N_.S_.E_.T·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map
27  ·_.H_.i_.s_.t_.o_.r_.y···················URLs·to·local·files.24  · ···_.U_.S_.E_.,_.·_.$················URLs·to·local·files.
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················htp·can·also·add·default·ALT·text·to·IMG·tags·using25  · ···_.W_.H_.I_.L_.E·················htp·can·also·add·default·ALT·text·to·IMG·tags·using
29  ·_.B_.u_.g_.s······················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T.26  · ···_.<_.!_.-_.-_.-·················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T.
  
  
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
5.14 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 17 lines modifiedOffset 114, 14 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="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> 
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> 
124 </code></p>121 </code></p>
125 <h2>synopsis</h2>122 <h2>synopsis</h2>
126 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a123 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
127 variable·or·for·variable·addition.··The·basic·form·is·shown·above.124 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
128 <P>125 <P>
129 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a126 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
130 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The127 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
4.15 KB
html2text {}
    
Offset 1, 46 lines modifiedOffset 1, 43 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a5  ·_.L_.i_.c_.e_.n_.s_.e···················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a
9  · ···_.A_.L_.T_.T_.E_.X_.T···············variable·or·for·variable·addition.·The·basic·form6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················variable·or·for·variable·addition.·The·basic·form
10  · ···_.B_.L_.O_.C_.K·················is·shown·above.7  ·_.U_.s_.a_.g_.e·····················is·shown·above.
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············The·"increment"·is·anything·that·evaluates·to·a8  ·HTP·Tags··················The·"increment"·is·anything·that·evaluates·to·a
12  · ···_\x8D_.E_.F···················integer.·It·can·be·a·literal·string·or·a·macro9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············integer.·It·can·be·a·literal·string·or·a·macro
13  · ···_\x8F_.I_.L_.E··················preceeded·by·the·'$'-operator.·The·macroname·must10  · ···_\x8B_.L_.O_.C_.K·················preceeded·by·the·'$'-operator.·The·macroname·must
14  · ···_\x8I_.F····················be·the·name·of·a·defined·macro·that·contains·an11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············be·the·name·of·a·defined·macro·that·contains·an
15  ·[>]·_.I_.N_.C···················integer.·If·the·increment·is·ommitted·it·defaults12  · ···_.D_.E_.F···················integer.·If·the·increment·is·ommitted·it·defaults
16  · ···_\x8I_.M_.G···················to·1.·The·effect·of·this·operation·is·that·the13  · ···_\x8F_.I_.L_.E··················to·1.·The·effect·of·this·operation·is·that·the
17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············macro·is·redefined·to·contain·the·sum·of·its14  · ···_\x8I_\x8F····················macro·is·redefined·to·contain·the·sum·of·its
18  · ···_.O_.P_.T···················previous·value·and·its·increment.15  ·[>]·_.I_.N_.C···················previous·value·and·its·increment.
19  · ···_\x8O_.U_.T_.P_.U_.T················To·increment·or·decrement·a·variable·you·can·use16  · ···_\x8I_.M_.G···················To·increment·or·decrement·a·variable·you·can·use
20  · ···_\x8Q_.U_.O_.T_.E·················this·form:17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············this·form:
21  · ···_\x8S_.E_\x8T···················Note·that·INC·doesn't·check·if·the·strings·really18  · ···_\x8O_.P_\x8T···················Note·that·INC·doesn't·check·if·the·strings·really
22  · ···_\x8U_.N_.D_.E_.F·················denote·integers.·It·may·give·weired·results·when19  · ···_\x8O_.U_.T_.P_.U_.T················denote·integers.·It·may·give·weired·results·when
23  · ···_\x8U_.N_.S_.E_.T·················used·on·arbitrary·strings.·The·integer·values·are20  · ···_\x8Q_.U_.O_.T_.E·················used·on·arbitrary·strings.·The·integer·values·are
24  · ···_\x8U_.S_.E_.,_.·_.$················limited·to·the·range·-2^31..2^31.21  · ···_\x8S_.E_.T···················limited·to·the·range·-2^31..2^31.
25  · ···_\x8W_.H_.I_.L_.E·················Note·further·that·htp·wasn't·designed·to·do22  · ···_\x8U_.N_.D_.E_.F·················Note·further·that·htp·wasn't·designed·to·do
26  · ···_\x8<_.!_.-_.-_.-·················extensive·calculations.·The·INC·tag·is·useful·in23  · ···_\x8U_.N_.S_.E_.T·················extensive·calculations.·The·INC·tag·is·useful·in
27  ·_.H_.i_.s_.t_.o_.r_.y···················conjunction·with·WHILE·to·iterate·over·the·defined24  · ···_.U_.S_.E_.,_.·_.$················conjunction·with·WHILE·to·iterate·over·the·defined
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················blocks.25  · ···_.W_.H_.I_.L_.E·················blocks.
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
17.1 KB
./usr/share/doc/htp/metatag.html
    
Offset 88, 22 lines modifiedOffset 88, 14 lines modified
88 <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and88 <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and
89 undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P>89 undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P>
90 <P>90 <P>
91 As·an·example·we·show·how·to·define·a·tag·that·builds·a91 As·an·example·we·show·how·to·define·a·tag·that·builds·a
92 fancy·horizontal·rule·out·of·several·images.92 fancy·horizontal·rule·out·of·several·images.
93 </P>93 </P>
94 ··<p><code>94 ··<p><code>
95 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="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> 
96 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·block<br> 
97 <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> 
98 <font·size="-2">&nbsp;4.·</font><br> 
99 <font·size="-2">&nbsp;5.·</font>ion2·...]"·]·[global]·[expand]><br> 
100 <font·size="-2">&nbsp;6.·</font>&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> 
101 <font·size="-2">&nbsp;7.·</font><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> 
102 <font·size="-2">&nbsp;8.·</font><br> 
103 </code></p>95 </code></p>
104 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.96 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.
105 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.97 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.
106 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and98 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and
107 <code>/def</code></a>·tags.··You·don't·have·to·understand·this99 <code>/def</code></a>·tags.··You·don't·have·to·understand·this
108 html·code,·but·you·should·understand·that·this·is·just·pure·html·to100 html·code,·but·you·should·understand·that·this·is·just·pure·html·to
109 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>101 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>
Offset 113, 35 lines modifiedOffset 105, 60 lines modified
113 file</a>.··</p>105 file</a>.··</p>
114 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing106 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing
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·htp107 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp
116 encounters·a·blockdef·tag·it·will·automatically·search·for·the108 encounters·a·blockdef·tag·it·will·automatically·search·for·the
117 matching·closing·tag·and·put·everything·between·these·tags·in·a·block109 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>110 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>
119 ··<p><code>111 ··<p><code>
 112 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br>
 113 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 114 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br>
 115 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 116 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br>
 117 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br>
 118 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 119 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 120 <font·size="-2">&nbsp;9.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 121 <font·size="-2">10.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 122 <font·size="-2">11.·</font><br>
 123 <font·size="-2">12.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br>
 124 <font·size="-2">13.·</font><br>
 125 <font·size="-2">14.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br>
 126 <font·size="-2">15.·</font><br>
 127 <font·size="-2">16.·</font>&nbsp;·This·will·fail:<br>
 128 <font·size="-2">17.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br>
 129 <font·size="-2">18.·</font><br>
 130 <font·size="-2">19.·</font>&nbsp;·Instead,·use·*·like·this:<br>
 131 <font·size="-2">20.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br>
 132 <font·size="-2">21.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br>
 133 <font·size="-2">22.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 134 <font·size="-2">23.·</font>&nbsp;·&nbsp;·<br>
 135 <font·size="-2">24.·</font>&nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br>
120 </code></p>136 </code></p>
121 <h2>Using·parameters</h2>137 <h2>Using·parameters</h2>
122 <p>·More·sophisticated·tags·accept·parameters.··The138 <p>·More·sophisticated·tags·accept·parameters.··The
123 <code>option</code>·parameter·lets·multiple·metatag·parameters·be139 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
124 named·and·expanded·inside·the·<code>def</code>·or140 named·and·expanded·inside·the·<code>def</code>·or
125 <code>blockdef</code>·block:·</p>141 <code>blockdef</code>·block:·</p>
126 ··<p><code>142 ··<p><code>
 143 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
127 <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> 
128 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br> 
129 <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;2.·</font>&nbsp;·&nbsp;·This·tag·will·fail:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">name</span>&gt;</span><br>
130 <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> 
131 </code></p>145 </code></p>
132 <h2>Saving·blocks·for·later</h2>146 <h2>Saving·blocks·for·later</h2>
133 <p>When·you·are·using·templates,·the·html·should·only·be·written·by147 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
134 the·template·file.··The·normal·htp·files·should·just·define·macros148 the·template·file.··The·normal·htp·files·should·just·define·macros
135 that·are·used·later·in·the·template.··So·you·may·want·to·write·block149 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
136 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this150 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
137 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to151 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
138 do·this:</p>152 do·this:</p>
139 ··<p><code>153 ··<p><code>
140 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>154 <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>
 155 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
 156 <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>
 157 <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>
141 </code></p>158 </code></p>
142 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a159 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
143 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is160 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
144 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is161 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
145 build·from·this·counter.··So·the·first·section·is·stored·in·block162 build·from·this·counter.··So·the·first·section·is·stored·in·block
146 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>·flag163 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
147 in·line·4·tells·htp·that·these·macros·should·be·defined·globally164 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
6.56 KB
html2text {}
    
Offset 9, 23 lines modifiedOffset 9, 15 lines modified
9  · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality.9  · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality.
10  · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[10  · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[
11  ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[11  ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[
12  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag.12  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag.
13  ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that13  ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that
14  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several14  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several
15  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images.15  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images.
16  ·_\x8B_\x8u_\x8g_\x8s······················ 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·[NOT]·conditional> 
17 ···························· 2.· · ·block 
18 ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
19 ···························· 4. 
20 ···························· 5.·ion2·...]"·]·[global]·[expand]> 
21 ···························· 6.· ·...·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> ... 
22 ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
23 ···························· 8. 
24 ····························In·line·1·of·the·above·example·a·new·tag·named16  ·_.B_.u_.g_.s······················In·line·1·of·the·above·example·a·new·tag·named
25 ····························imghr·is·defined.·The·html·code·which·implements17 ····························imghr·is·defined.·The·html·code·which·implements
26 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[18 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[
27 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to19 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to
28 ····························understand·this·html·code,·but·you·should20 ····························understand·this·html·code,·but·you·should
29 ····························understand·that·this·is·just·pure·html·to·draw·the21 ····························understand·that·this·is·just·pure·html·to·draw·the
30 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line22 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line
31 ····························12·htp·will·replace·this·tag·with·the·corresponding23 ····························12·htp·will·replace·this·tag·with·the·corresponding
Offset 35, 32 lines modifiedOffset 27, 62 lines modified
35 ····························Often·you·want·to·define·tags·that·have·an·opening27 ····························Often·you·want·to·define·tags·that·have·an·opening
36 ····························and·a·closing·variant.·For·this·purpose·you·should28 ····························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·a29 ····························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·the30 ····························blockdef·tag·it·will·automatically·search·for·the
39 ····························matching·closing·tag·and·put·everything·between31 ····························matching·closing·tag·and·put·everything·between
40 ····························these·tags·in·a·block·macro·named·block.·Here·is·an32 ····························these·tags·in·a·block·macro·named·block.·Here·is·an
41 ····························example·for·this.33 ····························example·for·this.
 34 ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC
 35 ····························TITLE·SIZE">
 36 ···························· 2.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 37 ···························· 3.· · · · ·<FONT·SIZE=${size}>
 38 ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 39 ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 40 ···························· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 41 ···························· 7.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 42 ···························· 8.· · · · ·</FONT>
 43 ···························· 9.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 44 ····························10.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 45 ····························11.
 46 ····························12.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 47 ····························title">
 48 ····························13.
 49 ····························14.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 50 ····························title">
 51 ····························15.
 52 ····························16.· ·This·will·fail:
 53 ····························17.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 54 ····························TITLE="Another·title">
 55 ····························18.
 56 ····························19.· ·Instead,·use·*·like·this:
 57 ····························20.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 58 ····························21.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 59 ····························22.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 60 ····························23.· · 
 61 ····························24.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
42 ····························*\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*62 ····························*\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*
43 ····························More·sophisticated·tags·accept·parameters.·The63 ····························More·sophisticated·tags·accept·parameters.·The
44 ····························option·parameter·lets·multiple·metatag·parameters64 ····························option·parameter·lets·multiple·metatag·parameters
45 ····························be·named·and·expanded·inside·the·def·or·blockdef65 ····························be·named·and·expanded·inside·the·def·or·blockdef
46 ····························block:66 ····························block:
47 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>67 ···························· 1.· · ·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·INCLUDE="include.hti"
48 ···························· 2.· · ·...68 ····························name="Jim·Nelson"·email="jnelson@crl.com">
49 ···························· 3.· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i>69 ···························· 2.· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>
50 ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
51 ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8*70 ····························*\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*
52 ····························When·you·are·using·templates,·the·html·should·only71 ····························When·you·are·using·templates,·the·html·should·only
53 ····························be·written·by·the·template·file.·The·normal·htp72 ····························be·written·by·the·template·file.·The·normal·htp
54 ····························files·should·just·define·macros·that·are·used·later73 ····························files·should·just·define·macros·that·are·used·later
55 ····························in·the·template.·So·you·may·want·to·write·block74 ····························in·the·template.·So·you·may·want·to·write·block
56 ····························tags·that·just·save·the·block·in·a·macro·for·later75 ····························tags·that·just·save·the·block·in·a·macro·for·later
57 ····························use.·Although·this·is·possible·with·htp·it·is·quite76 ····························use.·Although·this·is·possible·with·htp·it·is·quite
58 ····························tricky,·so·here·we·present·the·way·to·do·this:77 ····························tricky,·so·here·we·present·the·way·to·do·this:
59 ···························· 1.· · ·<${tagName}·${attrName}=${value$ctr}>78 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>
 79 ···························· 2.· · ·...
 80 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
 81 ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
60 ····························This·defines·a·block·macro·named·section.·This82 ····························This·defines·a·block·macro·named·section.·This
61 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the83 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the
62 ····························sections.·It·is·increased·for·every·section·(line84 ····························sections.·It·is·increased·for·every·section·(line
63 ····························3)·and·then·the·block·macro·name·is·build·from·this85 ····························3)·and·then·the·block·macro·name·is·build·from·this
64 ····························counter.·So·the·first·section·is·stored·in·block86 ····························counter.·So·the·first·section·is·stored·in·block
65 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[87 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[
66 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these88 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these
5.61 KB
./usr/share/doc/htp/opt.html
    
Offset 114, 21 lines modifiedOffset 114, 23 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>121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>
 123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
124 <br>124 <br>
125 block>·...<br>125 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>&gt;</span><br>
 126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br>
126 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>127 &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 <br>
 129 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
128 </code></p>130 </code></p>
129 <h2>synopsis</h2>131 <h2>synopsis</h2>
130 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing132 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing
131 options·inside·the·actual·document·being·processed.··The·options·are133 options·inside·the·actual·document·being·processed.··The·options·are
132 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not134 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not
133 preceded·by·a·&lsquo;-&rsquo;·character.135 preceded·by·a·&lsquo;-&rsquo;·character.
134 <P>136 <P>
3.16 KB
html2text {}
    
Offset 1, 27 lines modifiedOffset 1, 27 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·macroname·[parameters·...]·[noexpand]>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="bigfont">
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<...·$macroname·...>5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<font·size="+4">
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·${macroname}·...>6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
8  ·HTP·Tags··················block>·...8  ·HTP·Tags·················· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="/bigfont">
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·</font>
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k_\x8d_\x8e_\x8f>10  · ···_\x8B_.L_.O_.C_.K················· ·<_.[_.[_.r_.e_.f_.]_.]_./_\x8d_\x8e_\x8f>
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F
 12  · ···_\x8D_\x8E_\x8F··················· ·<bigfont>Some·large·text</bigfont>
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*13  · ···_\x8F_.I_.L_.E··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
12  · ···_\x8D_.E_.F···················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify14  · ···_\x8I_.F····················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify
13  · ···_\x8F_.I_.L_.E··················processing·options·inside·the·actual·document·being15  · ···_\x8I_.N_.C···················processing·options·inside·the·actual·document·being
14  · ···_\x8I_\x8F····················processed.·The·options·are·used·exactly·as·they16  · ···_\x8I_\x8M_.G···················processed.·The·options·are·used·exactly·as·they
15  · ···_\x8I_\x8N_.C···················would·be·on·the·command-line,·although·they·are·not17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············would·be·on·the·command-line,·although·they·are·not
16  · ···_.I_.M_.G···················preceded·by·a·‘-’·character.18  ·[>]·_.O_.P_.T···················preceded·by·a·‘-’·character.
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g19  · ···_\x8O_.U_.T_.P_.U_.T················Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g
18  ·[>]·_.O_.P_.T···················_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p.20  · ···_.Q_.U_.O_.T_.E·················_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p.
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E 
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
Offset 30, 14 lines modifiedOffset 30, 16 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
9.36 KB
./usr/share/doc/htp/set.html
    
Offset 119, 14 lines modifiedOffset 119, 38 lines modified
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 </code></p>121 </code></p>
122 <h2>synopsis</h2>122 <h2>synopsis</h2>
123 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded123 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
124 anywhere·in·the·HTML·document.··To·create·a·macro:124 anywhere·in·the·HTML·document.··To·create·a·macro:
125 ··<p><code>125 ··<p><code>
 126 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br>
 127 &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>
 128 &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>
 129 &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>
 130 &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>
 131 &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>
 132 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 133 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 134 &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>
 135 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 136 <br>
 137 &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>
 138 <br>
 139 &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>
 140 <br>
 141 &nbsp;·This·will·fail:<br>
 142 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">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>
 143 <br>
 144 &nbsp;·Instead,·use·*·like·this:<br>
 145 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<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>
 146 &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>
 147 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 148 &nbsp;·&nbsp;·<br>
 149 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br>
126 </code></p>150 </code></p>
127 <P>151 <P>
128 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">152 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">
129 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular153 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular
130 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the154 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
131 <A·HREF="use.html">'$'</A>·operator.155 <A·HREF="use.html">'$'</A>·operator.
132 <P>156 <P>
5.1 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 64 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················expanded·anywhere·in·the·HTML·document.·To·create·a6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················expanded·anywhere·in·the·HTML·document.·To·create·a
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················macro:7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················macro:
8  ·HTP·Tags··················The·macro·"emailaddr"·can·then·be·expanded·later. 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················tag·(i.e.,·into·the·regular·text).·If·the·macro 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············needs·to·be·expanded·inside·a·markup·tag,·use·the 
12  · ···_\x8D_\x8E_\x8F···················_\x8'_\x8$_\x8'·operator. 
13  · ···_\x8F_\x8I_\x8L_\x8E··················Multiple·macros·can·be·declared·in·a·single·markup 
14  · ···_\x8I_\x8F····················tag,·as·the·second·syntax·line·shows. 
15  · ···_\x8I_\x8N_\x8C···················SET·should·only·be·used·for·a·single·line's·worth 
16  · ···_\x8I_\x8M_\x8G···················of·text.·Multi-line·macros·can·be·defined·with·the 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the 
18  · ···_\x8O_\x8P_\x8T···················macro·contains·a·quotation·character·and·you·don't 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················want·to·fool·around·with·special·escape·characters. 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················Macros·can·be·redefined·by·using·another·SET 
21  ·[>]·_\x8S_\x8E_\x8T···················command·with·the·same·macro·name.·The·prior 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················definition·will·be·destroyed,·however.·Also,·the 
23  · ···_.U_.N_.S_.E_.T·················macro·can·be·removed·(destroyed)·with·the·_.U_.N_.S_.E_.T8  ·HTP·Tags·················· ·<_.[_.[_.r_.e_.f_.]_.]_.D_.E_.F·NAME="HEADERIMG"·OPTION="SRC·TITLE
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············SIZE">
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · · · ·<FONT·SIZE=${size}>
 12  · ···_\x8D_\x8E_\x8F··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 14  · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 15  · ···_\x8I_\x8N_\x8C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 16  · ···_\x8I_\x8M_\x8G··················· · · · ·</FONT>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 18  · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 21  ·[>]·_\x8S_\x8E_\x8T···················title">
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················tag.24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················title">
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8- 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t26  · ···_.<_.!_.-_.-_.-················· ·This·will·fail:
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················TITLE="Another·title">
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
 30 ···························· ·Instead,·use·*·like·this:
 31 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 32 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 33 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 34 ···························· · 
 35 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
 36 ····························The·macro·"emailaddr"·can·then·be·expanded·later.
 37 ····························The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a
 38 ····························tag·(i.e.,·into·the·regular·text).·If·the·macro
 39 ····························needs·to·be·expanded·inside·a·markup·tag,·use·the
 40 ····························_\x8'_\x8$_\x8'·operator.
 41 ····························Multiple·macros·can·be·declared·in·a·single·markup
 42 ····························tag,·as·the·second·syntax·line·shows.
 43 ····························SET·should·only·be·used·for·a·single·line's·worth
 44 ····························of·text.·Multi-line·macros·can·be·defined·with·the
 45 ····························_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the
 46 ····························macro·contains·a·quotation·character·and·you·don't
 47 ····························want·to·fool·around·with·special·escape·characters.
 48 ····························Macros·can·be·redefined·by·using·another·SET
 49 ····························command·with·the·same·macro·name.·The·prior
 50 ····························definition·will·be·destroyed,·however.·Also,·the
 51 ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T
 52 ····························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·Fri·Oct·02,·202623 ··last·updated·Sat·Aug·30,·2025
24 ·</body>24 ·</body>
25 </html>25 </html>
511 B
html2text {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*1 ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
2 Navigation·bar·[Photo]2 Navigation·bar·[Photo]
3 _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-0203 _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020
4 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-82434 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243
5 ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-82425 ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242
6 ===============================================================================6 ===============================================================================
7 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.7 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
8 last·updated·Fri·Oct·02,·20268 last·updated·Sat·Aug·30,·2025
723 B
./usr/share/doc/htp/tut/tut1.html
    
Offset 5, 9 lines modifiedOffset 5, 9 lines modified
5 <meta·name="Generator"·content="htp·1.19">5 <meta·name="Generator"·content="htp·1.19">
6 </head>6 </head>
7 <body>7 <body>
8 This·page·was·produced·by·htp.8 This·page·was·produced·by·htp.
9 <hr>9 <hr>
10 Copyright·by·Joe·Doe,10 Copyright·by·Joe·Doe,
11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,
12 last·updated·Fri·Oct·02,·202612 last·updated·Sat·Aug·30,·2025
13 </body>13 </body>
383 B
html2text {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 This·page·was·produced·by·htp.1 This·page·was·produced·by·htp.
2 ===============================================================================2 ===============================================================================
3 Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Fri·Oct·02,·20263 Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Sat·Aug·30,·2025
774 B
./usr/share/doc/htp/tut/tut2.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 <p>13 <p>
14 As·you·can·see·the·file·contains·almost·only·the·contents.14 As·you·can·see·the·file·contains·almost·only·the·contents.
15 </p>15 </p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Fri·Oct·02,·202620 ··last·updated·Sat·Aug·30,·2025
21 ·</body>21 ·</body>
22 </html>22 </html>
426 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*
2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e
4 ===============================================================================4 ===============================================================================
5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
6 last·updated·Fri·Oct·02,·20266 last·updated·Sat·Aug·30,·2025
776 B
./usr/share/doc/htp/tut/tut3.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 ·<p>13 ·<p>
14 ·As·you·can·see·the·file·contains·almost·only·the·contents.14 ·As·you·can·see·the·file·contains·almost·only·the·contents.
15 ·</p>15 ·</p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Fri·Oct·02,·202620 ··last·updated·Sat·Aug·30,·2025
21 ·</body>21 ·</body>
22 </html>22 </html>
432 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8*1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8*
2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e
4 ===============================================================================4 ===============================================================================
5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
6 last·updated·Fri·Oct·02,·20266 last·updated·Sat·Aug·30,·2025
11.9 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 37 lines modifiedOffset 114, 58 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br>
 122 &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>
 123 &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>
 124 &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>
 125 &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>
 126 &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>
 127 &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>
 128 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 129 &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>
 130 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 131 <br>
 132 &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>
 133 <br>
 134 &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>
 135 <br>
 136 &nbsp;·This·will·fail:<br>
 137 &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>
 138 <br>
 139 &nbsp;·Instead,·use·*·like·this:<br>
 140 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<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>
 141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br>
 142 &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>
 143 &nbsp;·&nbsp;·<br>
 144 &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>
121 </code></p>145 </code></p>
122 <h2>synopsis</h2>146 <h2>synopsis</h2>
123 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.147 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.
124 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.148 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
125 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or149 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
126 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The150 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
127 old·macro·definition·will·be·removed·automatically.)151 old·macro·definition·will·be·removed·automatically.)
128 <P>152 <P>
129 For·example:153 For·example:
130 ··<p><code>154 ··<p><code>
 155 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
 156 &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>
131 </code></p>157 </code></p>
132 <P>158 <P>
133 More·than·one·macro·may·be·removed·in·the·same·tag:159 More·than·one·macro·may·be·removed·in·the·same·tag:
134 ··<p><code>160 ··<p><code>
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">$i</span></span>&gt;</span><br>161 &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>
136 &nbsp;·&nbsp;·...<br>162 &nbsp;·&nbsp;·...<br>
137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>163 &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>
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>164 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
139 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br> 
140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br> 
141 &nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
142 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
143 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
144 </code></p>165 </code></p>
145 <p>166 <p>
146 </td>167 </td>
147 </tr>168 </tr>
148 <tr>169 <tr>
149 <td·width="20%"·bgcolor="white"·valign="bottom">170 <td·width="20%"·bgcolor="white"·valign="bottom">
150 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">171 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
5.05 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 61 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]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················SIZE">
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · · ·<FONT·SIZE=${size}>
 8  ·HTP·Tags·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 12  · ···_\x8D_\x8E_\x8F··················· · · · ·</FONT>
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················definition.·The·macro·is·subsequently·not·available 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················for·use·in·the·pre-processed·files.·(Note·that 
8  ·HTP·Tags··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable. 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················The·old·macro·definition·will·be·removed 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············automatically.) 
12  · ···_\x8D_\x8E_\x8F···················For·example: 
13  · ···_\x8F_\x8I_\x8L_\x8E··················More·than·one·macro·may·be·removed·in·the·same·tag: 
14  · ···_\x8I_.F···················· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>13  · ···_\x8F_.I_.L_.E·················· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
15  · ···_\x8I_\x8N_\x8C··················· · ·... 
16  · ···_\x8I_\x8M_.G··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i>14  · ···_\x8I_\x8F···················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.D_.E_.F>
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
18  · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> 
19  · ···_\x8O_.U_.T_.P_.U_.T················ · ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name="sect-${sect-ctr}"·expand15  · ···_\x8I_.N_.C
 16  · ···_\x8I_\x8M_\x8G··················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············title">
 18  · ···_\x8O_\x8P_\x8T
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················global>20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················title">
21  · ···_\x8S_\x8E_\x8T··················· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> 
23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
24  · ···_\x8U_.S_.E_.,_.·_.$21  · ···_\x8S_.E_.T
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·This·will·fail:
 23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················TITLE="Another·title">
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8- 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_.B_.u_.g_.s26  · ···_.<_.!_.-_.-_.-················· ·Instead,·use·*·like·this:
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 30 ···························· · 
 31 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
 32 ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
 33 ····························U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's
 34 ····························definition.·The·macro·is·subsequently·not·available
 35 ····························for·use·in·the·pre-processed·files.·(Note·that
 36 ····························simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or
 37 ····························_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.
 38 ····························The·old·macro·definition·will·be·removed
 39 ····························automatically.)
 40 ····························For·example:
 41 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim
 42 ····························Nelson"·email="jnelson@crl.com">
 43 ···························· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name>
 44 ····························More·than·one·macro·may·be·removed·in·the·same·tag:
 45 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i>
 46 ···························· · ·...
 47 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
 48 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
  
  
  
  
  
  
  
  
  
  
  
  
  
7.4 KB
./usr/share/doc/htp/use.html
    
Offset 140, 15 lines modifiedOffset 140, 15 lines modified
140 attribute·to·prevent·further·expansion.··</p>140 attribute·to·prevent·further·expansion.··</p>
141 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros141 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
142 for·the·expanded·macro.··This·is·only·valid·for·<A142 for·the·expanded·macro.··This·is·only·valid·for·<A
143 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A143 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
144 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For144 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
145 example:</p>145 example:</p>
146 ··<p><code>146 ··<p><code>
147 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>&gt;</span><br>147 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">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<[·...·truncated·by·diffoscope;·len:·2,·SHA:·6a50dc8584134c7de537c0052ff6d236bf874355e050c90523e0c5ff2a543a28·...·]>&gt;</span><br>
148 </code></p>148 </code></p>
149 <P>149 <P>
150 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on150 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
151 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and151 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
152 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8152 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8
153 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is153 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
154 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.154 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
Offset 182, 21 lines modifiedOffset 182, 18 lines modified
182 delimiting·the·text·as·if·it·were·additional·markup·attributes.182 delimiting·the·text·as·if·it·were·additional·markup·attributes.
183 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),183 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),
184 quotation·marks·are·not·automatically·supplied.184 quotation·marks·are·not·automatically·supplied.
185 <P>185 <P>
186 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can186 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can
187 be·nested.··This·is·valid:187 be·nested.··This·is·valid:
188 ··<p><code>188 ··<p><code>
189 <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> 
190 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br> 
191 &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>189 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>
192 &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>190 &nbsp;·&nbsp;·...<br>
193 &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>191 &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>
194 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>192 &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>
195 <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> 
196 </code></p>193 </code></p>
197 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined194 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined
198 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX195 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX
199 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand196 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand
200 value1.197 value1.
201 <p>198 <p>
202 </td>199 </td>
3.42 KB
html2text {}
    
Offset 20, 18 lines modifiedOffset 20, 17 lines modified
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use
21  · ···_\x8S_\x8E_\x8T···················the·noexpand·attribute·to·prevent·further21  · ···_\x8S_\x8E_\x8T···················the·noexpand·attribute·to·prevent·further
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················expansion.22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················expansion.
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················USE·will·accept·additional·parameters,·which·are23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················USE·will·accept·additional·parameters,·which·are
24  ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················"local"·macros·for·the·expanded·macro.·This·is·only24  ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················"local"·macros·for·the·expanded·macro.·This·is·only
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················cannot·have·parameters·passed.·For·example:26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················cannot·have·parameters·passed.·For·example:
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· 1.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.n_.s_.e_.t·email_addr·home_url27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· 1.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.F·name>...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················login_name> 
29  ·_\x8B_.u_.g_.s······················(See·below·for·a·description·of·the·'$'·operator.)28  ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················(See·below·for·a·description·of·the·'$'·operator.)
30 ····························The·example·on·line·7·works·because·"stuff"·has29  ·_.B_.u_.g_.s······················The·example·on·line·7·works·because·"stuff"·has
31 ····························been·declared·as·a·block·macro,·and·the·tag·is30 ····························been·declared·as·a·block·macro,·and·the·tag·is
32 ····························passing·the·"email"·macro·to·the·"stuff"·macro.31 ····························passing·the·"email"·macro·to·the·"stuff"·macro.
33 ····························Line·8·fails·because·the·"email"·macro·is32 ····························Line·8·fails·because·the·"email"·macro·is
34 ····························unavailable·once·the·block·macro·is·completely33 ····························unavailable·once·the·block·macro·is·completely
35 ····························expanded,·and·cannot·be·passed·to·a·SET·macro.34 ····························expanded,·and·cannot·be·passed·to·a·SET·macro.
36 ····························Note·that·the·"email"·macro·is·available·to·other35 ····························Note·that·the·"email"·macro·is·available·to·other
37 ····························macros·or·included·files·called·within·the·"stuff"36 ····························macros·or·included·files·called·within·the·"stuff"
Offset 61, 21 lines modifiedOffset 60, 18 lines modified
61 ····························it·with·quotation·marks·to·prevent·spaces·from60 ····························it·with·quotation·marks·to·prevent·spaces·from
62 ····························delimiting·the·text·as·if·it·were·additional·markup61 ····························delimiting·the·text·as·if·it·were·additional·markup
63 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other62 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other
64 ····························text·(as·in·the·two·examples·above),·quotation63 ····························text·(as·in·the·two·examples·above),·quotation
65 ····························marks·are·not·automatically·supplied.64 ····························marks·are·not·automatically·supplied.
66 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a65 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a
67 ····························markup·tag·and·can·be·nested.·This·is·valid:66 ····························markup·tag·and·can·be·nested.·This·is·valid:
68 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> 
69 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> 
70 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_.h_.i_.l_.e·sect-${sect-ctr}>67 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_.H_.I_.L_.E·sect-$i>
71 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·sect-${sect-ctr}>68 ···························· · ·...
72 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.n_.c·sect-ctr>69 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.N_.C·i>
73 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_.h_.i_.l_.e>70 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_.H_.I_.L_.E>
74 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> 
75 ····························The·tagName·macro·can·contain·any·tag·name,·even·a71 ····························The·tagName·macro·can·contain·any·tag·name,·even·a
76 ····························self-defined·metatag.·Note·that·$ctr·is·expanded72 ····························self-defined·metatag.·Note·that·$ctr·is·expanded
77 ····························before·the·valueX·macro·is·expanded,·so·assuming73 ····························before·the·valueX·macro·is·expanded,·so·assuming
78 ····························that·ctr·was·set·to·1·it·will·expand·value1.74 ····························that·ctr·was·set·to·1·it·will·expand·value1.
  
  
  
11.8 KB
./usr/share/doc/htp/while.html
    
Offset 114, 15 lines modifiedOffset 114, 38 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br>
 122 &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>
 123 &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>
 124 &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>
 125 &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>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>126 &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>
 127 &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>
 128 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 129 &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>
 130 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 131 <br>
 132 &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>
 133 <br>
 134 &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>
 135 <br>
 136 &nbsp;·This·will·fail:<br>
 137 &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>
 138 <br>
 139 &nbsp;·Instead,·use·*·like·this:<br>
 140 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<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>
 141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br>
 142 &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>
 143 &nbsp;·&nbsp;·<br>
 144 &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>
122 </code></p>145 </code></p>
123 <h2>synopsis</h2>146 <h2>synopsis</h2>
124 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.147 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.
125 The·basic·form·is·shown·above.148 The·basic·form·is·shown·above.
126 <P>149 <P>
127 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.150 "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.151 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.
Offset 131, 16 lines modifiedOffset 154, 18 lines modified
131 ··<p><code>154 ··<p><code>
132 &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_name</span>&gt;</span><br>155 &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_name</span>&gt;</span><br>
133 </code></p>156 </code></p>
134 <P>157 <P>
135 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·a158 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
136 macro's·existance:159 macro's·existance:
137 ··<p><code>160 ··<p><code>
138 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=[·...·truncated·by·diffoscope;·len:·125,·SHA:·f0264ebd15b5e8d600e3d516e9c6df18313dab005a83b39bd59c809f9076b634·...·]</span>&gt;</span><br>161 &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>
 162 &nbsp;·&nbsp;·...<br>
139 &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>163 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
 164 &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>
140 </code></p>165 </code></p>
141 <P>166 <P>
142 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the167 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
143 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the168 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
144 WHILE·tag·it·is·also·reevaluated·on·each·iteration.169 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
145 <P>170 <P>
146 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.171 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.
5.45 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 64 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················SIZE">
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · · ·<FONT·SIZE=${size}>
 8  ·HTP·Tags·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr> 
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]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name> 
14  · ···_\x8I_\x8F····················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a 
15  · ···_\x8I_\x8N_\x8C···················macro's·existance: 
16  · ···_\x8I_\x8M_\x8G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············Nelson"·email="jnelson@crl.com"> 
18  · ···_\x8O_.P_.T··················· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>10  · ···_\x8B_.L_.O_.C_.K················· · ·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·title>
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················If·the·condition·is·true,·the·block·is·evaluated 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················and·afterwards·the·WHILE·tag·is·evaluated·again.·If 
21  · ···_\x8S_\x8E_\x8T···················the·'$'-operator·is·used·in·the·WHILE·tag·it·is 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················also·reevaluated·on·each·iteration. 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. 
24  · ···_\x8U_.S_.E_.,_.·_.$11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·size>
 12  · ···_\x8D_\x8E_\x8F··················· · · · ·</FONT>
 13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 14  · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 15  · ···_\x8I_\x8N_\x8C
 16  · ···_\x8I_\x8M_\x8G··················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············title">
 18  · ···_\x8O_\x8P_\x8T
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················title">
 21  · ···_\x8S_\x8E_\x8T
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·This·will·fail:
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················TITLE="Another·title">
25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8- 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_.B_.u_.g_.s26  · ···_.<_.!_.-_.-_.-················· ·Instead,·use·*·like·this:
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 30 ···························· · 
 31 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
 32 ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
 33 ····························W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated
 34 ····························processing.·The·basic·form·is·shown·above.
 35 ····························"Conditional"·is·either·a·"compare"·or·"is·defined"
 36 ····························operation.·A·compare·operator·is·a·test·of·the
 37 ····························value·of·a·macro·against·a·literal·string.·If·the
 38 ····························NOT·tag·is·present·in·the·WHILE·markup,·the
 39 ····························evaluation·of·the·conditional·is·reversed:
 40 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name>
 41 ····························Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a
 42 ····························macro's·existance:
 43 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i>
 44 ···························· · ·...
 45 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
 46 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
 47 ····························If·the·condition·is·true,·the·block·is·evaluated
 48 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If
 49 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is
 50 ····························also·reevaluated·on·each·iteration.
 51 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.