154 KB
/srv/reproducible-results/rbuild-debian/r-b-build.0irsaJh7/b1/htp_1.19-8_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.0irsaJh7/b2/htp_1.19-8_amd64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·4682c39bd695e83baa9df0c2a8cf2e48·71088·debug·optional·htp-dbgsym_1.19-8_amd64.deb1 ·4682c39bd695e83baa9df0c2a8cf2e48·71088·debug·optional·htp-dbgsym_1.19-8_amd64.deb
2 ·9c3526ece0e6b124775eae4a3568dcce·116216·web·optional·htp_1.19-8_amd64.deb2 ·69336d193ebc054a9899aec96a0f8eda·116620·web·optional·htp_1.19-8_amd64.deb
153 KB
htp_1.19-8_amd64.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary
2 -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···112408·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···112812·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:·6315 Installed-Size:·638
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
152 KB
data.tar.xz
152 KB
data.tar
13.7 KB
file list
    
Offset 10, 18 lines modifiedOffset 10, 18 lines modified
10 -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html
11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp
12 -rw-r--r--···0·root·········(0)·root·········(0)·····7941·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····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)·····8793·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)·····7719·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html
18 -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp18 -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp
19 -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright19 -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright
20 -rw-r--r--···0·root·········(0)·root·········(0)····11853·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····13665·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html
21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp
22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html
23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp
24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/
25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub
26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti
27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt
Offset 32, 64 lines modifiedOffset 32, 64 lines modified
32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp
33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html
34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp
35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def
36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html
37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp
38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt
39 -rw-r--r--···0·root·········(0)·root·········(0)·····8868·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)····14123·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····12223·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)····10357·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)····11032·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)·····9700·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)····13358·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html
51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp
52 -rw-r--r--···0·root·········(0)·root·········(0)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html
53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp
54 -rw-r--r--···0·root·········(0)·root·········(0)·····9216·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····9793·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)····13090·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····16658·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)·····8517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····9209·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)·····9428·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp
75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/
76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png
77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png
78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png
79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png
80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png
81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png
82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png
83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png
84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png
85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····8462·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)·····9308·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····8234·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html
89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp
90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css
91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html
92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz
93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def
94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/
95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti
Offset 104, 21 lines modifiedOffset 104, 21 lines modified
104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp
105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt
106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt
107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html
108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp
109 -rw-r--r--···0·root·········(0)·root·········(0)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html
110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp
111 -rw-r--r--···0·root·········(0)·root·········(0)·····9502·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)····10770·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)····12315·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····13688·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)·····9901·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)·····8001·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html
118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp
119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html
120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp
121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/
122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp
123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/
124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/
4.2 KB
./usr/share/doc/htp/comment.html
    
Offset 122, 19 lines modifiedOffset 122, 14 lines modified
122 <h2>synopsis</h2>122 <h2>synopsis</h2>
123 <p>123 <p>
124 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful124 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
125 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.125 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
126 Example:126 Example:
127 </p>127 </p>
128 ··<p><code>128 ··<p><code>
129 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br> 
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-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br> 
131 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
132 <br> 
133 &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> 
134 </code></p>129 </code></p>
135 <p>130 <p>
136 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you131 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
137 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something132 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
138 like·this:133 like·this:
139 </p>134 </p>
140 ··<p><code>135 ··<p><code>
2.67 KB
html2text {}
    
Offset 2, 46 lines modifiedOffset 2, 40 lines modified
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················This·is·a·simple·comment·that·is·not·included·in5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················This·is·a·simple·comment·that·is·not·included·in
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················the·output.·This·is·useful·when·commenting6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················the·output.·This·is·useful·when·commenting
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················metatags,·since·the·metatags·do·not·appear·the7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················metatags,·since·the·metatags·do·not·appear·the
8  ·HTP·Tags··················output·either.·Example:8  ·HTP·Tags··················output·either.·Example:
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············alt="${alt}">; 
12  · ···_\x8D_\x8E_\x8F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_\x8I_\x8F···················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
15  · ···_\x8I_.N_.C···················Note·that·these·comments·should·not·include·<·or·>,9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············Note·that·these·comments·should·not·include·<·or·>,
16  · ···_\x8I_.M_.G···················that·is·you·should·not·use·it·to·comment·out·htp10  · ···_\x8B_.L_.O_.C_.K·················that·is·you·should·not·use·it·to·comment·out·htp
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············code.·For·that·purpose·use·something·like·this:11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············code.·For·that·purpose·use·something·like·this:
18  · ···_\x8O_.P_.T···················Make·sure·that·the·variable·is·never·defined·and12  · ···_\x8D_.E_.F···················Make·sure·that·the·variable·is·never·defined·and
19  · ···_\x8O_.U_.T_.P_.U_.T················xyz·should·be·the·reason·why·you·don't·want·to13  · ···_\x8F_.I_.L_.E··················xyz·should·be·the·reason·why·you·don't·want·to
20  · ···_\x8Q_.U_.O_.T_.E·················include·this·block14  · ···_\x8I_.F····················include·this·block
 15  · ···_\x8I_\x8N_\x8C
 16  · ···_\x8I_\x8M_\x8G
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
 18  · ···_\x8O_\x8P_\x8T
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
11.6 KB
./usr/share/doc/htp/def.html
    
Offset 133, 35 lines modifiedOffset 133, 49 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 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br> 
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">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br> 
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 <br> 
144 &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> 
145 </code></p>140 </code></p>
146 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,141 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
147 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>142 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
148 <P>143 <P>
149 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were144 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
150 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with145 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
151 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their146 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
152 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)147 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
153 </P>148 </P>
154 ··<p><code>149 ··<p><code>
155 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br> 
156 &nbsp;·&nbsp;·...<br>150 &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>
 151 SIZE"><br>
157 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>152 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 153 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br>
 154 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 155 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br>
 156 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br>
 157 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 158 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 159 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
158 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>160 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
159 &nbsp;email="jnelson@crl.com"><br>161 <br>
 162 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br>
 163 <br>
 164 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br>
 165 <br>
 166 &nbsp;·This·will·fail:<br>
 167 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br>
 168 <br>
 169 &nbsp;·Instead,·use·*·like·this:<br>
 170 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br>
 171 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br>
160 &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>172 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 173 &nbsp;·&nbsp;·<br>
 174 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br>
161 </code></p>175 </code></p>
162 <P>176 <P>
163 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is177 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
164 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are178 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
165 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the179 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
166 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a180 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
167 parameter·is·required,·simply·expand·it·without·first·checking.··When181 parameter·is·required,·simply·expand·it·without·first·checking.··When
4.85 KB
html2text {}
    
Offset 10, 34 lines modifiedOffset 10, 50 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]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> 
18  · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················alt="${alt}">; 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
21  · ···_\x8S_\x8E_\x8T 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
23  · ···_\x8U_.N_.S_.E_.T·················You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will
24  · ···_\x8U_.S_.E_.,_.·_.$················check·for·matching·end·tag.·It·is·not·that·slower.18  · ···_\x8O_.P_.T···················check·for·matching·end·tag.·It·is·not·that·slower.
25  · ···_\x8W_.H_.I_.L_.E·················Options·can·be·passed·to·a·metatag,·which·can·then19  · ···_\x8O_.U_.T_.P_.U_.T················Options·can·be·passed·to·a·metatag,·which·can·then
26  · ···_\x8<_.!_.-_.-_.-·················expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are20  · ···_\x8Q_.U_.O_.T_.E·················expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are
27  ·_.H_.i_.s_.t_.o_.r_.y···················parameterized·with·the·OPTION·attribute.·Multiple21  · ···_.S_.E_.T···················parameterized·with·the·OPTION·attribute.·Multiple
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················options·can·be·listed·by·separating·their·name·with22  · ···_.U_.N_.D_.E_.F·················options·can·be·listed·by·separating·their·name·with
29  ·_.B_.u_.g_.s······················a·space·(which·therefore·requires·they·be23  · ···_.U_.N_.S_.E_.T·················a·space·(which·therefore·requires·they·be
30 ····························surrounded·by·quotes.)24  · ···_.U_.S_.E_.,_.·_.$················surrounded·by·quotes.)
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<${tagName}·${attrName}=${value$ctr}>
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················SIZE">
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · · · ·<FONT·SIZE=${size}>
 29  ·_\x8B_\x8u_\x8g_\x8s······················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 30 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
31 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>31 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·title>
32 ···························· · ·... 
33 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_.C·i>32 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 33 ···························· · · · ·</FONT>
34 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>34 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
35 ···························· email="jnelson@crl.com"> 
36 ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>35 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.D_.E_.F>
  
 36 ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 37 ····························title">
  
 38 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 39 ····························title">
  
 40 ···························· ·This·will·fail:
 41 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 42 ····························TITLE="Another·title">
  
 43 ···························· ·Instead,·use·*·like·this:
 44 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 45 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 46 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 47 ···························· · 
 48 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
37 ····························htp·will·do·very·specific·checking·of·parameters49 ····························htp·will·do·very·specific·checking·of·parameters
38 ····························when·a·metatag·is·invoked.·htp·assumes·that·all50 ····························when·a·metatag·is·invoked.·htp·assumes·that·all
39 ····························parameter·options·to·the·metatag·are·optional.·This51 ····························parameter·options·to·the·metatag·are·optional.·This
40 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify52 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify
41 ····························the·SIZE·option·is·defined·before·expanding·it·in53 ····························the·SIZE·option·is·defined·before·expanding·it·in
42 ····························the·block.·If·a·parameter·is·required,·simply54 ····························the·block.·If·a·parameter·is·required,·simply
43 ····························expand·it·without·first·checking.·When·htp·expands55 ····························expand·it·without·first·checking.·When·htp·expands
3.07 KB
./usr/share/doc/htp/expand.html
    
Offset 101, 24 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;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
109 me1·tagname2·...·><br> 
110 <br> 
111 def><br> 
112 <br> 
113 &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> 
114 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
115 &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> 
116 <br> 
117 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
118 </code></p>108 </code></p>
119 <P>109 <P>
120 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
121 are·taken·literally,·however,·the·contents·for·b·are·already·expanded111 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
122 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it112 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
123 is·used,·while·the·contents·of·b·are·already·expanded.113 is·used,·while·the·contents·of·b·are·already·expanded.
124 </P>114 </P>
1.52 KB
html2text {}
    
Offset 25, 24 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]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
33 ····························me1·tagname2·...·> 
  
34 ····························def> 
  
35 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> 
36 ···························· · ·</font> 
37 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
  
38 ···························· ·<bigfont>Some·large·text</bigfont> 
39 ····························When·block·a·and·block·b·are·defined·in·lines·2-32 ····························When·block·a·and·block·b·are·defined·in·lines·2-
40 ····························7·the·contents·of·a·are·taken·literally,·however,33 ····························7·the·contents·of·a·are·taken·literally,·however,
41 ····························the·contents·for·b·are·already·expanded·so·the34 ····························the·contents·for·b·are·already·expanded·so·the
42 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it35 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it
43 ····························is·used,·while·the·contents·of·b·are·already36 ····························is·used,·while·the·contents·of·b·are·already
44 ····························expanded.37 ····························expanded.
45 ····························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
8.86 KB
./usr/share/doc/htp/file.html
    
Offset 124, 19 lines modifiedOffset 124, 14 lines modified
124 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of124 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
125 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be125 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
126 added·to·the·output·file·as·well.126 added·to·the·output·file·as·well.
127 <P>127 <P>
128 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the128 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
129 following·is·perfectly·acceptable:129 following·is·perfectly·acceptable:
130 ··<p><code>130 ··<p><code>
131 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br> 
132 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br> 
133 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
134 <br> 
135 &nbsp;·<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> 
136 </code></p>131 </code></p>
137 <P>132 <P>
138 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>133 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
139 <P>134 <P>
140 To·include·information·about·another·file,·such·as·an·archive·file·or135 To·include·information·about·another·file,·such·as·an·archive·file·or
141 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the136 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
142 type·of·information·to·be·displayed:137 type·of·information·to·be·displayed:
Offset 173, 20 lines modifiedOffset 168, 14 lines modified
173 <P>168 <P>
174 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are169 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
175 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros170 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
176 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it171 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
177 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer172 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
178 available.··So:173 available.··So:
179 ··<p><code>174 ··<p><code>
180 &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> 
181 &nbsp;·&nbsp;·...<br> 
182 &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> 
183 &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> 
184 &nbsp;email="jnelson@crl.com"><br> 
185 &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> 
186 </code></p>175 </code></p>
187 <P>176 <P>
188 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included177 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
189 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the178 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
190 second·statement·will·fail.)179 second·statement·will·fail.)
191 <P>180 <P>
192 <h3><a·name="template">TEMPLATE</a></h3>181 <h3><a·name="template">TEMPLATE</a></h3>
5.79 KB
html2text {}
    
Offset 6, 37 lines modifiedOffset 6, 31 lines modified
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················purpose.·The·output·file's·name,·the·current·date6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················purpose.·The·output·file's·name,·the·current·date
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················and·time,·and·the·contents·of·another·file·may·be7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················and·time,·and·the·contents·of·another·file·may·be
8  ·HTP·Tags··················included.·Another·file's·time,·date,·or·size·may·be8  ·HTP·Tags··················included.·Another·file's·time,·date,·or·size·may·be
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············added·to·the·output·file·as·well.9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············added·to·the·output·file·as·well.
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················As·with·all·HTML,·these·tags·do·not·have·to·be·on10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················As·with·all·HTML,·these·tags·do·not·have·to·be·on
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············their·own·line,·so·the·following·is·perfectly11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············their·own·line,·so·the·following·is·perfectly
12  · ···_\x8D_\x8E_\x8F···················acceptable:12  · ···_\x8D_\x8E_\x8F···················acceptable:
13  ·[>]·_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> 
14  · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
15  · ···_\x8I_\x8N_\x8C···················alt="${alt}">; 
16  · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L 
18  · ···_\x8O_\x8P_\x8T··················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
19  · ···_.O_.U_.T_.P_.U_.T················*\x8**\x8**\x8**\x8*·N\x8NA\x8AM\x8ME\x8E,\x8,·T\x8TI\x8IM\x8ME\x8E,\x8,·S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8*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*
20  · ···_\x8Q_.U_.O_.T_.E·················To·include·information·about·another·file,·such·as14  · ···_\x8I_.F····················To·include·information·about·another·file,·such·as
21  · ···_\x8S_.E_.T···················an·archive·file·or·graphic·image,·specify·its·name15  · ···_\x8I_.N_.C···················an·archive·file·or·graphic·image,·specify·its·name
22  · ···_\x8U_.N_.D_.E_.F·················with·the·NAME·attribute·followed·by·the·type·of16  · ···_\x8I_.M_.G···················with·the·NAME·attribute·followed·by·the·type·of
23  · ···_\x8U_.N_.S_.E_.T·················information·to·be·displayed:17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············information·to·be·displayed:
24  · ···_\x8U_.S_.E_.,_.·_.$················For·file·size·information,·the·value·BYTE,·KBYTE,18  · ···_\x8O_.P_.T···················For·file·size·information,·the·value·BYTE,·KBYTE,
25  · ···_\x8W_.H_.I_.L_.E·················etc.·dictates·how·the·information·is·displayed.·In19  · ···_\x8O_.U_.T_.P_.U_.T················etc.·dictates·how·the·information·is·displayed.·In
26  · ···_\x8<_.!_.-_.-_.-·················anything·other·than·byte·format,·the·information·is20  · ···_\x8Q_.U_.O_.T_.E·················anything·other·than·byte·format,·the·information·is
27  ·_.H_.i_.s_.t_.o_.r_.y···················displayed·in·floating-point·notation.·The·amount·of21  · ···_.S_.E_.T···················displayed·in·floating-point·notation.·The·amount·of
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················precision·(the·number·of·digits·to·the·right·of·the22  · ···_.U_.N_.D_.E_.F·················precision·(the·number·of·digits·to·the·right·of·the
29  ·_.B_.u_.g_.s······················decimal·point)·can·be·set·with·the·optional23  · ···_.U_.N_.S_.E_.T·················decimal·point)·can·be·set·with·the·optional
30 ····························PRECISION·attribute.·The·default·precision·is·zero24  · ···_.U_.S_.E_.,_.·_.$················PRECISION·attribute.·The·default·precision·is·zero
31 ····························(0),·which·means·no·fractional·portion·is25  · ···_.W_.H_.I_.L_.E·················(0),·which·means·no·fractional·portion·is
32 ····························displayed.26  · ···_.<_.!_.-_.-_.-·················displayed.
33 ····························At·the·request·of·many·people,·the·TIME·and·DATE27  ·_.H_.i_.s_.t_.o_.r_.y···················At·the·request·of·many·people,·the·TIME·and·DATE
34 ····························attributes·will·now·accept·formatting·characters28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················attributes·will·now·accept·formatting·characters
35 ····························that·are·passed·directly·into·the·ANSI·C·library29  ·_.B_.u_.g_.s······················that·are·passed·directly·into·the·ANSI·C·library
36 ····························function.·This·allows·for·the·time·and·date·to·be30 ····························function.·This·allows·for·the·time·and·date·to·be
37 ····························displayed·in·virtually·any·format.·Users·not31 ····························displayed·in·virtually·any·format.·Users·not
38 ····························wishing·to·mess·around·with·this·should·stick·to32 ····························wishing·to·mess·around·with·this·should·stick·to
39 ····························the·default·format,·which·is·used·if·no·formatting33 ····························the·default·format,·which·is·used·if·no·formatting
40 ····························value·is·specified·(i.e.,·just·using·05:04:11·PM).34 ····························value·is·specified·(i.e.,·just·using·05:04:11·PM).
41 ····························Consult·any·C·programmer's·guide·discussing·the35 ····························Consult·any·C·programmer's·guide·discussing·the
42 ····························standard·C·library·function·strftime()·for36 ····························standard·C·library·function·strftime()·for
Offset 55, 20 lines modifiedOffset 49, 14 lines modified
55 ····························Additional·parameters·can·be·set·in·the·FILE49 ····························Additional·parameters·can·be·set·in·the·FILE
56 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that50 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that
57 ····························are·"passed"·to·the·included·file.·The·macros·are51 ····························are·"passed"·to·the·included·file.·The·macros·are
58 ····························available·only·to·the·include·file·(and·any·macros52 ····························available·only·to·the·include·file·(and·any·macros
59 ····························or·included·files·it·holds).·After·the·file·is53 ····························or·included·files·it·holds).·After·the·file·is
60 ····························completely·included,·the·macros·are·no·longer54 ····························completely·included,·the·macros·are·no·longer
61 ····························available.·So:55 ····························available.·So:
62 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> 
63 ···························· · ·... 
64 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
65 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
66 ···························· email="jnelson@crl.com"> 
67 ···························· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> 
68 ····························Macros·named·"name"·and·"email"·are·set,·and56 ····························Macros·named·"name"·and·"email"·are·set,·and
69 ····························available·inside·the·included·file.·They·are·not57 ····························available·inside·the·included·file.·They·are·not
70 ····························available,·however,·past·the·tag·(which·is·why·the58 ····························available,·however,·past·the·tag·(which·is·why·the
71 ····························second·statement·will·fail.)59 ····························second·statement·will·fail.)
72 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*60 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*
73 ····························A·template·file·is·nothing·more·than·a·default61 ····························A·template·file·is·nothing·more·than·a·default
74 ····························include·file,·one·that·is·included·once·the·input62 ····························include·file,·one·that·is·included·once·the·input
12.4 KB
./usr/share/doc/htp/if.html
    
Offset 114, 43 lines modifiedOffset 114, 50 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br> 
122 <br> 
123 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br> 
124 &nbsp;·becomes·this·after·processing:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br> 
125 <br> 
126 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>&gt;</span><br> 
127 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br> 
128 <br> 
129 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>&gt;</span><br> 
130 &nbsp;·remains·unchanged.<br> 
131 </code></p>121 </code></p>
132 <h2>synopsis</h2>122 <h2>synopsis</h2>
133 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building123 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
134 blocks·for·conditional·processing.··The·basic·form·is·shown·above.124 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
135 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A125 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
136 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
137 string:127 string:
138 ··<p><code>128 ··<p><code>
139 </code></p>129 </code></p>
140 <P>130 <P>
141 and·a·defined·operator·is·a·test·of·a·macro's·existance:131 and·a·defined·operator·is·a·test·of·a·macro's·existance:
142 <P>132 <P>
143 ··<p><code>133 ··<p><code>
144 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br> 
145 &nbsp;·&nbsp;·...<br> 
146 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>134 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>
147 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
148 &nbsp;email="jnelson@crl.com"><br> 
149 &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>135 /my.domain.org/"·path="/var/www/my.domain/"><br>
 136 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br>
 137 <br>
 138 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 139 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 140 &nbsp;·(no·URL·replacement).<br>
 141 <br>
 142 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br>
 143 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 144 <br>
 145 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br>
 146 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 147 &nbsp;·will·not·be·added.<br>
 148 <br>
 149 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 150 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br>
 151 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br>
 152 <br>
 153 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br>
 154 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 155 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 156 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
150 </code></p>157 </code></p>
151 <P>158 <P>
152 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the159 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
153 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that160 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
154 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the161 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
155 ELSE·block·is·taken·if·it·is·present.··A·conditional·block162 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
156 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.163 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
5.99 KB
html2text {}
    
Offset 1, 38 lines modifiedOffset 1, 54 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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]_\x8a_\x8l_\x8t_\x8t_\x8e_\x8x_\x8t·name="logo.gif"·text="Company 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················logo"> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
8  ·HTP·Tags·················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo"> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> 
12  · ···_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  ·[>]·_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click 
15  · ···_\x8I_\x8N_\x8C···················here·for·more·information!"> 
16  · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged. 
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*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*
18  · ···_.O_.P_.T···················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
19  · ···_.O_.U_.T_.P_.U_.T················blocks·for·conditional·processing.·The·basic·form6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················blocks·for·conditional·processing.·The·basic·form
20  · ···_.Q_.U_.O_.T_.E·················is·shown·above.7  ·_.U_.s_.a_.g_.e·····················is·shown·above.
21  · ···_.S_.E_.T···················"Conditional"·is·either·a·"compare"·or·"is·defined"8  ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined"
22  · ···_\x8U_.N_.D_.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
23  · ···_\x8U_.N_.S_.E_.T·················value·of·a·macro·against·a·literal·string:10  · ···_\x8B_.L_.O_.C_.K·················value·of·a·macro·against·a·literal·string:
24  · ···_\x8U_.S_.E_.,_.·_.$················and·a·defined·operator·is·a·test·of·a·macro's11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············and·a·defined·operator·is·a·test·of·a·macro's
25  · ···_\x8W_.H_.I_.L_.E·················existance:12  · ···_\x8D_.E_.F···················existance:
26  · ···_\x8<_.!_.-_.-_.-················· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>13  · ···_\x8F_.I_.L_.E·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr>
27  ·_.H_.i_.s_.t_.o_.r_.y··················· · ·...14  ·[>]·_.I_.F····················/my.domain.org/"·path="/var/www/my.domain/">
 15  · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/
 16  · ···_\x8I_\x8M_\x8G···················var/www/other.domain/">
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
 18  · ···_\x8O_\x8P_\x8T··················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·the·local·filename·"logo.gif"·will·be·used·to
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················determine·image·dimensions
 21  · ···_\x8S_\x8E_\x8T··················· ·(no·URL·replacement).
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················my.domain.org/logo.gif">
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·the·local·filename·"/var/www/my.domain/logo.gif"
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················will·be·used.
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i>28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·But·for·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="http://
29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
30 ···························· email="jnelson@crl.com"> 
31 ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>29  ·_.B_.u_.g_.s······················other.domain.org/logo.gif">
 30 ···························· ·the·local·file·cannot·be·found·(no·prefix·match),
 31 ····························so·the·image·dimensions
 32 ···························· ·will·not·be·added.
  
 33 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes
 34 ····························precedence:
 35 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/">
 36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/
 37 ····························test/">
  
 38 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 39 ····························src="/test/image.gif"> are·mapped·to
 40 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/
 41 ····························image.gif,·resp.
 42 ···························· ·If·the·order·of·the·imageurl·lines·would·be
 43 ····························swapped,·the·second
 44 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/
 45 ····························image.gif.
32 ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the46 ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the
33 ····························evaluation·of·the·conditional·is·reversed.·The47 ····························evaluation·of·the·conditional·is·reversed.·The
34 ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true48 ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true
35 ····························is·chosen.·If·none·of·the·conditions·is·true·the49 ····························is·chosen.·If·none·of·the·conditions·is·true·the
36 ····························ELSE·block·is·taken·if·it·is·present.·A·conditional50 ····························ELSE·block·is·taken·if·it·is·present.·A·conditional
37 ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can51 ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can
38 ····························be·nested.52 ····························be·nested.
14.1 KB
./usr/share/doc/htp/imageurl.html
    
Offset 114, 14 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="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">APPEND</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>&gt;</span><br>
 122 text·block<br>
 123 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br>
 124 <br>
 125 T·(PRECIOUS|NOPRECIOUS)><br>
 126 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>&gt;</span><br>
 127 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>&gt;</span><br>
 128 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>&gt;</span><br>
 129 <br>
121 </code></p>130 </code></p>
122 <h2>synopsis</h2>131 <h2>synopsis</h2>
123 <P>132 <P>
124 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local133 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local
125 file·system.··declares·an·URL·replacement·that·is·used·for134 file·system.··declares·an·URL·replacement·that·is·used·for
126 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions135 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions
127 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is136 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is
Offset 135, 19 lines modifiedOffset 144, 37 lines modified
135 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC144 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC
136 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.145 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.
137 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and146 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
138 looked·up·in·the·current·directory.</P>147 looked·up·in·the·current·directory.</P>
139 <P>148 <P>
140 For·example:</P>149 For·example:</P>
141 ··<p><code>150 ··<p><code>
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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br> 
143 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br> 
144 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>151 &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>
 152 /my.domain.org/"·path="/var/www/my.domain/"><br>
 153 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br>
 154 <br>
 155 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 156 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 157 &nbsp;·(no·URL·replacement).<br>
 158 <br>
 159 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br>
 160 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 161 <br>
 162 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br>
 163 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 164 &nbsp;·will·not·be·added.<br>
 165 <br>
 166 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 167 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br>
 168 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br>
145 <br>169 <br>
146 &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>170 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="p[·...·truncated·by·diffoscope;·len:·182,·SHA:·7f8313d2186fec22907a535a77db16961b29569d9bdf7684f9134e6837d467cc·...·]<br>
 171 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 172 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 173 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
147 </code></p>174 </code></p>
148 <P>175 <P>
149 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as176 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
150 an·undefine,·and·is·removed.</P>177 an·undefine,·and·is·removed.</P>
151 <P>178 <P>
152 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout179 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
153 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an180 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
7.32 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 75 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]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND]
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[EXPAND]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················text·block
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T>
 8  ·HTP·Tags
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············T·(PRECIOUS|NOPRECIOUS)>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)>
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)>
 12  · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)>
 13  · ···_\x8F_\x8I_\x8L_\x8E
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···················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the15  · ···_.I_.N_.C···················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················local·file·system.·declares·an·URL·replacement·that16  · ···_.I_.M_.G···················local·file·system.·declares·an·URL·replacement·that
7  ·_.U_.s_.a_.g_.e·····················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This
8  ·HTP·Tags··················definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option18  · ···_.O_.P_.T···················definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············is·enabled.·Beacause·htp·can't·lookup·files·in·the19  · ···_\x8O_.U_.T_.P_.U_.T················is·enabled.·Beacause·htp·can't·lookup·files·in·the
10  · ···_\x8B_.L_.O_.C_.K·················world·wide·web·you·have·to·map·absolute·image·URLs20  · ···_\x8Q_.U_.O_.T_.E·················world·wide·web·you·have·to·map·absolute·image·URLs
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············to·a·directory·in·the·local·file·system.21  · ···_\x8S_.E_.T···················to·a·directory·in·the·local·file·system.
12  · ···_\x8D_.E_.F···················When·an·IMG·tag·is·encountered·where·htp·has·to22  · ···_\x8U_.N_.D_.E_.F·················When·an·IMG·tag·is·encountered·where·htp·has·to
13  · ···_\x8F_.I_.L_.E··················insert·width·and·height·the·defined·URL23  · ···_\x8U_.N_.S_.E_.T·················insert·width·and·height·the·defined·URL
14  · ···_\x8I_.F····················replacements·will·be·taken·into·account·(later24  · ···_\x8U_.S_.E_.,_.·_.$················replacements·will·be·taken·into·account·(later
15  · ···_\x8I_.N_.C···················definitions·take·precedence·to·earlier):·For·each25  · ···_\x8W_.H_.I_.L_.E·················definitions·take·precedence·to·earlier):·For·each
16  · ···_\x8I_.M_.G···················defined·imageurl·it·checks·(case-insensitive)·if·it26  · ···_\x8<_.!_.-_.-_.-·················defined·imageurl·it·checks·(case-insensitive)·if·it
17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············is·a·prefix·of·the·image's·SRC·attribute.·If·it27  ·_.H_.i_.s_.t_.o_.r_.y···················is·a·prefix·of·the·image's·SRC·attribute.·If·it
18  · ···_.O_.P_.T···················matches·this·prefix·is·replaced·by·the·given·PATH.28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················matches·this·prefix·is·replaced·by·the·given·PATH.
19  · ···_.O_.U_.T_.P_.U_.T················If·no·IMAGEURL·matches·the·SRC·is·considered·as29  ·_.B_.u_.g_.s······················If·no·IMAGEURL·matches·the·SRC·is·considered·as
20  · ···_.Q_.U_.O_.T_.E·················relative·link·and·looked·up·in·the·current30 ····························relative·link·and·looked·up·in·the·current
21  · ···_.S_.E_.T···················directory.31 ····························directory.
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················For·example: 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················alt="${alt}">; 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image">32 ····························For·example:
 33 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr>
 34 ····························/my.domain.org/"·path="/var/www/my.domain/">
 35 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/
 36 ····························var/www/other.domain/">
  
 37 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
 38 ···························· ·the·local·filename·"logo.gif"·will·be·used·to
 39 ····························determine·image·dimensions
 40 ···························· ·(no·URL·replacement).
  
 41 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
 42 ····························my.domain.org/logo.gif">
 43 ···························· ·the·local·filename·"/var/www/my.domain/logo.gif"
 44 ····························will·be·used.
  
 45 ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
 46 ····························other.domain.org/logo.gif">
 47 ···························· ·the·local·file·cannot·be·found·(no·prefix·match),
 48 ····························so·the·image·dimensions
 49 ···························· ·will·not·be·added.
  
 50 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes
 51 ····························precedence:
 52 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/">
 53 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/
 54 ····························test/">
  
 55 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 56 ····························src="/test/image.gif"> are·mapped·to
 57 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/
 58 ····························image.gif,·resp.
 59 ···························· ·If·the·order·of·the·imageurl·lines·would·be
 60 ····························swapped,·the·second
 61 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/
 62 ····························image.gif.
29  ·_.B_.u_.g_.s······················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH63 ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH
30 ····························attribute,·it·is·treated·as·an·undefine,·and·is64 ····························attribute,·it·is·treated·as·an·undefine,·and·is
31 ····························removed.65 ····························removed.
32 ····························Since·you·usually·need·the·url·mapping·for·a·number66 ····························Since·you·usually·need·the·url·mapping·for·a·number
33 ····························of·images·used·throughout·a·set·of·documents,67 ····························of·images·used·throughout·a·set·of·documents,
34 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e68 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
35 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.69 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.
36 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also70 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also
8.58 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 33 lines modifiedOffset 114, 37 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">APPEND</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>&gt;</span><br>
 122 text·block<br>
 123 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br>
 124 <br>
 125 T·(PRECIOUS|NOPRECIOUS)><br>
 126 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>&gt;</span><br>
 127 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>&gt;</span><br>
 128 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>&gt;</span><br>
 129 <br>
121 </code></p>130 </code></p>
122 <h2>synopsis</h2>131 <h2>synopsis</h2>
123 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a132 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
124 variable·or·for·variable·addition.··The·basic·form·is·shown·above.133 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
125 <P>134 <P>
126 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a135 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
127 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The136 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
128 macroname·must·be·the·name·of·a·defined·macro·that·contains·an137 macroname·must·be·the·name·of·a·defined·macro·that·contains·an
129 integer.··If·the·increment·is·ommitted·it·defaults·to·1.138 integer.··If·the·increment·is·ommitted·it·defaults·to·1.
130 The·effect·of·this·operation·is·that·the·macro·is·redefined139 The·effect·of·this·operation·is·that·the·macro·is·redefined
131 to·contain·the·sum·of·its·previous·value·and·its·increment.140 to·contain·the·sum·of·its·previous·value·and·its·increment.
132 <P>141 <P>
133 To·increment·or·decrement·a·variable·you·can·use·this·form:142 To·increment·or·decrement·a·variable·you·can·use·this·form:
134 ··<p><code>143 ··<p><code>
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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br> 
136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br> 
137 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
138 <br> 
139 &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> 
140 </code></p>144 </code></p>
141 <p>145 <p>
142 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It146 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It
143 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer147 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer
144 values·are·limited·to·the·range·-2^31..2^31.148 values·are·limited·to·the·range·-2^31..2^31.
145 <P>149 <P>
146 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.150 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.
4.77 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 40 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND]
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[EXPAND]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················text·block
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T>
 8  ·HTP·Tags
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············T·(PRECIOUS|NOPRECIOUS)>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)>
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)>
 12  · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)>
 13  · ···_\x8F_\x8I_\x8L_\x8E
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···················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a15  ·[>]·_.I_.N_.C···················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················variable·or·for·variable·addition.·The·basic·form16  · ···_.I_.M_.G···················variable·or·for·variable·addition.·The·basic·form
7  ·_.U_.s_.a_.g_.e·····················is·shown·above.17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············is·shown·above.
8  ·HTP·Tags··················The·"increment"·is·anything·that·evaluates·to·a18  · ···_.O_.P_.T···················The·"increment"·is·anything·that·evaluates·to·a
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············integer.·It·can·be·a·literal·string·or·a·macro19  · ···_\x8O_.U_.T_.P_.U_.T················integer.·It·can·be·a·literal·string·or·a·macro
10  · ···_\x8B_.L_.O_.C_.K·················preceeded·by·the·'$'-operator.·The·macroname·must20  · ···_\x8Q_.U_.O_.T_.E·················preceeded·by·the·'$'-operator.·The·macroname·must
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············be·the·name·of·a·defined·macro·that·contains·an21  · ···_\x8S_.E_.T···················be·the·name·of·a·defined·macro·that·contains·an
12  · ···_\x8D_.E_.F···················integer.·If·the·increment·is·ommitted·it·defaults22  · ···_\x8U_.N_.D_.E_.F·················integer.·If·the·increment·is·ommitted·it·defaults
13  · ···_\x8F_.I_.L_.E··················to·1.·The·effect·of·this·operation·is·that·the23  · ···_\x8U_.N_.S_.E_.T·················to·1.·The·effect·of·this·operation·is·that·the
14  · ···_\x8I_.F····················macro·is·redefined·to·contain·the·sum·of·its24  · ···_\x8U_.S_.E_.,_.·_.$················macro·is·redefined·to·contain·the·sum·of·its
15  ·[>]·_.I_.N_.C···················previous·value·and·its·increment.25  · ···_.W_.H_.I_.L_.E·················previous·value·and·its·increment.
16  · ···_\x8I_.M_.G···················To·increment·or·decrement·a·variable·you·can·use26  · ···_\x8<_.!_.-_.-_.-·················To·increment·or·decrement·a·variable·you·can·use
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················this·form:
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············this·form: 
18  · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················alt="${alt}">; 
21  · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
24  · ···_.U_.S_.E_.,_.·_.$················Note·that·INC·doesn't·check·if·the·strings·really28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Note·that·INC·doesn't·check·if·the·strings·really
25  · ···_.W_.H_.I_.L_.E·················denote·integers.·It·may·give·weired·results·when29  ·_.B_.u_.g_.s······················denote·integers.·It·may·give·weired·results·when
26  · ···_.<_.!_.-_.-_.-·················used·on·arbitrary·strings.·The·integer·values·are30 ····························used·on·arbitrary·strings.·The·integer·values·are
27  ·_.H_.i_.s_.t_.o_.r_.y···················limited·to·the·range·-2^31..2^31.31 ····························limited·to·the·range·-2^31..2^31.
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Note·further·that·htp·wasn't·designed·to·do32 ····························Note·further·that·htp·wasn't·designed·to·do
29  ·_.B_.u_.g_.s······················extensive·calculations.·The·INC·tag·is·useful·in33 ····························extensive·calculations.·The·INC·tag·is·useful·in
30 ····························conjunction·with·WHILE·to·iterate·over·the·defined34 ····························conjunction·with·WHILE·to·iterate·over·the·defined
31 ····························blocks.35 ····························blocks.
  
  
  
  
  
17.6 KB
./usr/share/doc/htp/metatag.html
    
Offset 105, 24 lines modifiedOffset 105, 14 lines modified
105 file</a>.··</p>105 file</a>.··</p>
106 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing106 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing
107 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp107 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp
108 encounters·a·blockdef·tag·it·will·automatically·search·for·the108 encounters·a·blockdef·tag·it·will·automatically·search·for·the
109 matching·closing·tag·and·put·everything·between·these·tags·in·a·block109 matching·closing·tag·and·put·everything·between·these·tags·in·a·block
110 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>110 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>
111 ··<p><code>111 ··<p><code>
112 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
113 <font·size="-2">&nbsp;2.·</font>me1·tagname2·...·><br> 
114 <font·size="-2">&nbsp;3.·</font><br> 
115 <font·size="-2">&nbsp;4.·</font>def><br> 
116 <font·size="-2">&nbsp;5.·</font><br> 
117 <font·size="-2">&nbsp;6.·</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">"/bigfont"</span>&gt;</span><br> 
118 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
119 <font·size="-2">&nbsp;8.·</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> 
120 <font·size="-2">&nbsp;9.·</font><br> 
121 <font·size="-2">10.·</font>&nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
122 </code></p>112 </code></p>
123 <h2>Using·parameters</h2>113 <h2>Using·parameters</h2>
124 <p>·More·sophisticated·tags·accept·parameters.··The114 <p>·More·sophisticated·tags·accept·parameters.··The
125 <code>option</code>·parameter·lets·multiple·metatag·parameters·be115 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
126 named·and·expanded·inside·the·<code>def</code>·or116 named·and·expanded·inside·the·<code>def</code>·or
127 <code>blockdef</code>·block:·</p>117 <code>blockdef</code>·block:·</p>
128 ··<p><code>118 ··<p><code>
Offset 131, 20 lines modifiedOffset 121, 39 lines modified
131 <p>When·you·are·using·templates,·the·html·should·only·be·written·by121 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
132 the·template·file.··The·normal·htp·files·should·just·define·macros122 the·template·file.··The·normal·htp·files·should·just·define·macros
133 that·are·used·later·in·the·template.··So·you·may·want·to·write·block123 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
134 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this124 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
135 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to125 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
136 do·this:</p>126 do·this:</p>
137 ··<p><code>127 ··<p><code>
138 <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;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>
139 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>129 <font·size="-2">&nbsp;2.·</font>SIZE"><br>
140 <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>130 <font·size="-2">&nbsp;3.·</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>
 131 <font·size="-2">&nbsp;4.·</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>
141 <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>132 <font·size="-2">&nbsp;5.·</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>
142 <font·size="-2">&nbsp;5.·</font>&nbsp;email="jnelson@crl.com"><br>133 <font·size="-2">&nbsp;6.·</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[·...·truncated·by·diffoscope;·len:·11,·SHA:·735fafd2a84903b879a16f837b531179bd93b499ba4741e93c8b9a03b1948a3a·...·]><br>
143 <font·size="-2">&nbsp;6.·</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>134 <font·size="-2">&nbsp;7.·</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>
 135 <font·size="-2">&nbsp;8.·</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>
 136 <font·size="-2">&nbsp;9.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 137 <font·size="-2">10.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 138 <font·size="-2">11.·</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>
 139 <font·size="-2">12.·</font><br>
 140 <font·size="-2">13.·</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>
 141 <font·size="-2">14.·</font><br>
 142 <font·size="-2">15.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br>
 143 <font·size="-2">16.·</font><br>
 144 <font·size="-2">17.·</font>&nbsp;·This·will·fail:<br>
 145 <font·size="-2">18.·</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>
 146 <font·size="-2">19.·</font><br>
 147 <font·size="-2">20.·</font>&nbsp;·Instead,·use·*·like·this:<br>
 148 <font·size="-2">21.·</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>
 149 <font·size="-2">22.·</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>
 150 <font·size="-2">23.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 151 <font·size="-2">24.·</font>&nbsp;·&nbsp;·<br>
 152 <font·size="-2">25.·</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>
144 </code></p>153 </code></p>
145 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a154 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
146 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is155 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
147 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is156 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
148 build·from·this·counter.··So·the·first·section·is·stored·in·block157 build·from·this·counter.··So·the·first·section·is·stored·in·block
149 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>·flag158 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
150 in·line·4·tells·htp·that·these·macros·should·be·defined·globally159 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
Offset 163, 15 lines modifiedOffset 172, 21 lines modified
163 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be172 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be
164 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the173 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the
165 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you174 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
166 use·expand·in·a·block·around·it.</p>175 use·expand·in·a·block·around·it.</p>
167 <p>To·close·this·example·we·show·how·to·expand·the176 <p>To·close·this·example·we·show·how·to·expand·the
168 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>177 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>
169 ··<p><code>178 ··<p><code>
170 <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>179 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br>
 180 <font·size="-2">&nbsp;2.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 181 <font·size="-2">&nbsp;3.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 182 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 183 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
 184 <font·size="-2">&nbsp;6.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>
 185 <font·size="-2">&nbsp;7.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>
171 </code></p>186 </code></p>
172 <p>187 <p>
173 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether188 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether
174 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is189 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is
175 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards190 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards
176 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This191 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This
177 repeats·until·sect-${sect-ctr}·is·not·defined.192 repeats·until·sect-${sect-ctr}·is·not·defined.
6.58 KB
html2text {}
    
Offset 27, 43 lines modifiedOffset 27, 55 lines modified
27 ····························Often·you·want·to·define·tags·that·have·an·opening27 ····························Often·you·want·to·define·tags·that·have·an·opening
28 ····························and·a·closing·variant.·For·this·purpose·you·should28 ····························and·a·closing·variant.·For·this·purpose·you·should
29 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a29 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a
30 ····························blockdef·tag·it·will·automatically·search·for·the30 ····························blockdef·tag·it·will·automatically·search·for·the
31 ····························matching·closing·tag·and·put·everything·between31 ····························matching·closing·tag·and·put·everything·between
32 ····························these·tags·in·a·block·macro·named·block.·Here·is·an32 ····························these·tags·in·a·block·macro·named·block.·Here·is·an
33 ····························example·for·this.33 ····························example·for·this.
34 ···························· 1.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
35 ···························· 2.·me1·tagname2·...·> 
36 ···························· 3. 
37 ···························· 4.·def> 
38 ···························· 5. 
39 ···························· 6.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> 
40 ···························· 7.· · ·</font> 
41 ···························· 8.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
42 ···························· 9. 
43 ····························10.· ·<bigfont>Some·large·text</bigfont> 
44 ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8*34 ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8*
45 ····························More·sophisticated·tags·accept·parameters.·The35 ····························More·sophisticated·tags·accept·parameters.·The
46 ····························option·parameter·lets·multiple·metatag·parameters36 ····························option·parameter·lets·multiple·metatag·parameters
47 ····························be·named·and·expanded·inside·the·def·or·blockdef37 ····························be·named·and·expanded·inside·the·def·or·blockdef
48 ····························block:38 ····························block:
49 ····························*\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*39 ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8*
50 ····························When·you·are·using·templates,·the·html·should·only40 ····························When·you·are·using·templates,·the·html·should·only
51 ····························be·written·by·the·template·file.·The·normal·htp41 ····························be·written·by·the·template·file.·The·normal·htp
52 ····························files·should·just·define·macros·that·are·used·later42 ····························files·should·just·define·macros·that·are·used·later
53 ····························in·the·template.·So·you·may·want·to·write·block43 ····························in·the·template.·So·you·may·want·to·write·block
54 ····························tags·that·just·save·the·block·in·a·macro·for·later44 ····························tags·that·just·save·the·block·in·a·macro·for·later
55 ····························use.·Although·this·is·possible·with·htp·it·is·quite45 ····························use.·Although·this·is·possible·with·htp·it·is·quite
56 ····························tricky,·so·here·we·present·the·way·to·do·this:46 ····························tricky,·so·here·we·present·the·way·to·do·this:
57 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>47 ···························· 1.· · ·<${tagName}·${attrName}=${value$ctr}>
58 ···························· 2.· · ·...48 ···························· 2.·SIZE">
59 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_.C·i>49 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 50 ···························· 4.· · · · ·<FONT·SIZE=${size}>
60 ···························· 4.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>51 ···························· 5.· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
61 ···························· 5.· email="jnelson@crl.com">52 ···························· 6.· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.M_.G·SRC=pics/${src}>
62 ···························· 6.· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>53 ···························· 7.· · ·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·title>
 54 ···························· 8.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 55 ···························· 9.· · · · ·</FONT>
 56 ····························10.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 57 ····························11.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 58 ····························12.
 59 ····························13.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 60 ····························title">
 61 ····························14.
 62 ····························15.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 63 ····························title">
 64 ····························16.
 65 ····························17.· ·This·will·fail:
 66 ····························18.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 67 ····························TITLE="Another·title">
 68 ····························19.
 69 ····························20.· ·Instead,·use·*·like·this:
 70 ····························21.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 71 ····························22.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 72 ····························23.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 73 ····························24.· · 
 74 ····························25.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
63 ····························This·defines·a·block·macro·named·section.·This75 ····························This·defines·a·block·macro·named·section.·This
64 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the76 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the
65 ····························sections.·It·is·increased·for·every·section·(line77 ····························sections.·It·is·increased·for·every·section·(line
66 ····························3)·and·then·the·block·macro·name·is·build·from·this78 ····························3)·and·then·the·block·macro·name·is·build·from·this
67 ····························counter.·So·the·first·section·is·stored·in·block79 ····························counter.·So·the·first·section·is·stored·in·block
68 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[80 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[
69 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these81 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these
Offset 86, 15 lines modifiedOffset 98, 21 lines modified
86 ····························block·to·be·expanded·twice.·If·you·omit·it,·it98 ····························block·to·be·expanded·twice.·If·you·omit·it,·it
87 ····························would·be·expanded·when·defining·the·sect-1·macro99 ····························would·be·expanded·when·defining·the·sect-1·macro
88 ····························and·when·using·it·later·in·the·template.·Generally100 ····························and·when·using·it·later·in·the·template.·Generally
89 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use101 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use
90 ····························expand·in·a·block·around·it.102 ····························expand·in·a·block·around·it.
91 ····························To·close·this·example·we·show·how·to·expand·the103 ····························To·close·this·example·we·show·how·to·expand·the
92 ····························sect-${sect-ctr}·blocks·in·the·template:104 ····························sect-${sect-ctr}·blocks·in·the·template:
93 ···························· 1.· · ·<${tagName}·${attrName}=${value$ctr}>105 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="header.hti">
 106 ···························· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1">
 107 ···························· 3.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}>
 108 ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}>
 109 ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
 110 ···························· 6.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e>
 111 ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti">
94 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the112 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the
95 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined113 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined
96 ····························the·body·is·evaluated,·which·expands·the·macro·and114 ····························the·body·is·evaluated,·which·expands·the·macro·and
97 ····························increases·sect-ctr.·Afterwards·the·while·condition115 ····························increases·sect-ctr.·Afterwards·the·while·condition
98 ····························is·checked·again·to·check·for·sect-2·macro.·This116 ····························is·checked·again·to·check·for·sect-2·macro.·This
99 ····························repeats·until·sect-${sect-ctr}·is·not·defined.117 ····························repeats·until·sect-${sect-ctr}·is·not·defined.
100 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*118 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*
5.25 KB
./usr/share/doc/htp/opt.html
    
Offset 114, 24 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 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
122 me1·tagname2·...·><br>121 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="[·...·truncated·by·diffoscope;·len:·155,·SHA:·5d5f247158e6c27b932a67ae83231e2d909fb496ced703a7bda80a28ce3bb202·...·]><br>
 122 text·block<br>
 123 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br>
123 <br>124 <br>
124 def><br>125 T·(PRECIOUS|NOPRECIOUS)><br>
 126 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>&gt;</span><br>
 127 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>&gt;</span><br>
 128 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>&gt;</span><br>
125 <br>129 <br>
126 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>&gt;</span><br> 
127 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
128 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
129 <br> 
130 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
131 </code></p>130 </code></p>
132 <h2>synopsis</h2>131 <h2>synopsis</h2>
133 <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
134 options·inside·the·actual·document·being·processed.··The·options·are133 options·inside·the·actual·document·being·processed.··The·options·are
135 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
136 preceded·by·a·&lsquo;-&rsquo;·character.135 preceded·by·a·&lsquo;-&rsquo;·character.
137 <P>136 <P>
2.17 KB
html2text {}
    
Offset 1, 20 lines modifiedOffset 1, 20 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name="Jim">...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.O_.U_.T_.P_.U_.T·FILE="outputfilename"·[APPEND]
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················me1·tagname2·...·>5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[EXPAND]>
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_.s_.a_.g_.e·····················def>6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················text·block
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T>
8  ·HTP·Tags8  ·HTP·Tags
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> 
10  · ···_\x8B_.L_.O_.C_.K················· · ·</font>9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············T·(PRECIOUS|NOPRECIOUS)>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)>
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_.[_.[_.r_.e_.f_.]_.]_.O_.P_.T·DELIM=(HTML|SQUARE|CURLY)>
12  · ···_\x8D_\x8E_\x8F 
13  · ···_\x8F_.I_.L_.E·················· ·<bigfont>Some·large·text</bigfont>12  · ···_\x8D_.E_.F···················<_.[_.[_.r_.e_.f_.]_.]_.O_.P_.T·(XML|XML=FALSE)>
 13  · ···_\x8F_\x8I_\x8L_\x8E
14  · ···_\x8I_\x8F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*14  · ···_\x8I_\x8F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
15  · ···_\x8I_\x8N_\x8C···················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify15  · ···_\x8I_\x8N_\x8C···················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify
16  · ···_\x8I_\x8M_\x8G···················processing·options·inside·the·actual·document·being16  · ···_\x8I_\x8M_\x8G···················processing·options·inside·the·actual·document·being
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············processed.·The·options·are·used·exactly·as·they17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············processed.·The·options·are·used·exactly·as·they
18  ·[>]·_\x8O_\x8P_\x8T···················would·be·on·the·command-line,·although·they·are·not18  ·[>]·_\x8O_\x8P_\x8T···················would·be·on·the·command-line,·although·they·are·not
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················preceded·by·a·‘-’·character.19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················preceded·by·a·‘-’·character.
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················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_\x8g20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················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
5.82 KB
./usr/share/doc/htp/output.html
    
Offset 114, 14 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="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">APPEND</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>&gt;</span><br>
 122 text·block<br>
 123 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br>
 124 <br>
 125 T·(PRECIOUS|NOPRECIOUS)><br>
 126 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>&gt;</span><br>
 127 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>&gt;</span><br>
 128 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>&gt;</span><br>
 129 <br>
121 </code></p>130 </code></p>
122 <h2>synopsis</h2>131 <h2>synopsis</h2>
123 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary132 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary
124 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the133 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the
125 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>134 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
126 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you135 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
127 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text136 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text
3.58 KB
html2text {}
    
Offset 1, 42 lines modifiedOffset 1, 52 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND]
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[EXPAND]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················text·block
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T>
 8  ·HTP·Tags
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············T·(PRECIOUS|NOPRECIOUS)>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)>
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)>
 12  · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)>
 13  · ···_\x8F_\x8I_\x8L_\x8E
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···················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary15  · ···_.I_.N_.C···················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················files·besides·the·main·HTML·file.·The·text·between16  · ···_.I_.M_.G···················files·besides·the·main·HTML·file.·The·text·between
7  ·_.U_.s_.a_.g_.e·····················this·tag·and·the·corresponding·</OUTPUT>·tag·is17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············this·tag·and·the·corresponding·</OUTPUT>·tag·is
8  ·HTP·Tags··················written·to·output·file.18  · ···_.O_.P_.T···················written·to·output·file.
9  · ···_.A_.L_.T_.T_.E_.X_.T···············Normally·the·outputfile·is·cleared·before·writing19  ·[>]·_.O_.U_.T_.P_.U_.T················Normally·the·outputfile·is·cleared·before·writing
10  · ···_\x8B_.L_.O_.C_.K·················to·it,·but·you·can·use·the·APPEND·attribute·to20  · ···_\x8Q_.U_.O_.T_.E·················to·it,·but·you·can·use·the·APPEND·attribute·to
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············extend·an·existing·file.·The·text·written·to·the21  · ···_\x8S_.E_.T···················extend·an·existing·file.·The·text·written·to·the
12  · ···_\x8D_.E_.F···················file·is·normally·not·expanded,·i.e.·all·tags·inside22  · ···_\x8U_.N_.D_.E_.F·················file·is·normally·not·expanded,·i.e.·all·tags·inside
13  · ···_\x8F_.I_.L_.E··················this·block·are·not·executed·but·written·unmodified23  · ···_\x8U_.N_.S_.E_.T·················this·block·are·not·executed·but·written·unmodified
14  · ···_\x8I_.F····················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D24  · ···_\x8U_.S_.E_.,_.·_.$················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D
15  · ···_\x8I_.N_.C···················attribute·to·override·this·behaviour.25  · ···_\x8W_.H_.I_.L_.E·················attribute·to·override·this·behaviour.
16  · ···_\x8I_\x8M_\x8G 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L 
18  · ···_\x8O_\x8P_\x8T 
19  ·[>]·_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E 
21  · ···_\x8S_\x8E_\x8T 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
4.21 KB
./usr/share/doc/htp/quote.html
    
Offset 114, 24 lines modifiedOffset 114, 14 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
122 me1·tagname2·...·><br> 
123 <br> 
124 def><br> 
125 <br> 
126 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>&gt;</span><br> 
127 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
128 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
129 <br> 
130 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
131 </code></p>121 </code></p>
132 <h2>synopsis</h2>122 <h2>synopsis</h2>
133 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise123 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise
134 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a124 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a
135 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early125 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early
136 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still126 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still
137 done·inside·a·quote·block.127 done·inside·a·quote·block.
2.68 KB
html2text {}
    
Offset 1, 47 lines modifiedOffset 1, 37 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················me1·tagname2·...·> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················def> 
8  ·HTP·Tags 
9  · ···_.A_.L_.T_.T_.E_.X_.T··············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="/bigfont">4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*.**.**.**.**.*·s.sy.yn.no.op.ps.si.is.s·*.**.**.**.**.*
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················be·interpreted·by·HTP.·It·may·be·useful·in
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to
 8  ·HTP·Tags··················prevent·early·expansion·of·some·contained·blocks.
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············Note·that·'$'·evaluation·is·still·done·inside·a
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·</font>10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················quote·block.
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F
12  · ···_\x8D_\x8E_\x8F12  · ···_\x8D_\x8E_\x8F
13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·<bigfont>Some·large·text</bigfont> 
14  · ···_\x8I_\x8F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* 
15  · ···_\x8I_\x8N_\x8C···················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise 
16  · ···_\x8I_\x8M_\x8G···················be·interpreted·by·HTP.·It·may·be·useful·in 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to 
18  · ···_\x8O_\x8P_\x8T···················prevent·early·expansion·of·some·contained·blocks. 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················Note·that·'$'·evaluation·is·still·done·inside·a 
20  ·[>]·_.Q_.U_.O_.T_.E·················quote·block.13  · ···_.F_.I_.L_.E
 14  · ···_\x8I_\x8F
 15  · ···_\x8I_\x8N_\x8C
 16  · ···_\x8I_\x8M_\x8G
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
 18  · ···_\x8O_\x8P_\x8T
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\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
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
5.6 KB
./usr/share/doc/htp/set.html
    
Offset 119, 19 lines modifiedOffset 119, 14 lines modified
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 </code></p>121 </code></p>
122 <h2>synopsis</h2>122 <h2>synopsis</h2>
123 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded123 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
124 anywhere·in·the·HTML·document.··To·create·a·macro:124 anywhere·in·the·HTML·document.··To·create·a·macro:
125 ··<p><code>125 ··<p><code>
126 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br> 
127 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br> 
128 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
129 <br> 
130 &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> 
131 </code></p>126 </code></p>
132 <P>127 <P>
133 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">128 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">
134 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular129 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular
135 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the130 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
136 <A·HREF="use.html">'$'</A>·operator.131 <A·HREF="use.html">'$'</A>·operator.
137 <P>132 <P>
3.99 KB
html2text {}
    
Offset 1, 42 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················expanded·anywhere·in·the·HTML·document.·To·create·a6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················expanded·anywhere·in·the·HTML·document.·To·create·a
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················macro:7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················macro:
8  ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················alt="${alt}">; 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
12  · ···_\x8D_\x8E_\x8F 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
14  · ···_.I_.F····················The·macro·"emailaddr"·can·then·be·expanded·later.8  ·HTP·Tags··················The·macro·"emailaddr"·can·then·be·expanded·later.
15  · ···_\x8I_.N_.C···················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a
16  · ···_\x8I_.M_.G···················tag·(i.e.,·into·the·regular·text).·If·the·macro10  · ···_\x8B_.L_.O_.C_.K·················tag·(i.e.,·into·the·regular·text).·If·the·macro
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············needs·to·be·expanded·inside·a·markup·tag,·use·the11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············needs·to·be·expanded·inside·a·markup·tag,·use·the
18  · ···_\x8O_.P_.T···················_\x8'_\x8$_\x8'·operator.12  · ···_\x8D_.E_.F···················_\x8'_\x8$_\x8'·operator.
19  · ···_\x8O_.U_.T_.P_.U_.T················Multiple·macros·can·be·declared·in·a·single·markup13  · ···_\x8F_.I_.L_.E··················Multiple·macros·can·be·declared·in·a·single·markup
20  · ···_\x8Q_.U_.O_.T_.E·················tag,·as·the·second·syntax·line·shows.14  · ···_\x8I_.F····················tag,·as·the·second·syntax·line·shows.
21  ·[>]·_.S_.E_.T···················SET·should·only·be·used·for·a·single·line's·worth15  · ···_.I_.N_.C···················SET·should·only·be·used·for·a·single·line's·worth
22  · ···_\x8U_.N_.D_.E_.F·················of·text.·Multi-line·macros·can·be·defined·with·the16  · ···_\x8I_.M_.G···················of·text.·Multi-line·macros·can·be·defined·with·the
23  · ···_\x8U_.N_.S_.E_.T·················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the
24  · ···_\x8U_.S_.E_.,_.·_.$················macro·contains·a·quotation·character·and·you·don't18  · ···_\x8O_.P_.T···················macro·contains·a·quotation·character·and·you·don't
25  · ···_\x8W_.H_.I_.L_.E·················want·to·fool·around·with·special·escape·characters.19  · ···_\x8O_.U_.T_.P_.U_.T················want·to·fool·around·with·special·escape·characters.
26  · ···_\x8<_.!_.-_.-_.-·················Macros·can·be·redefined·by·using·another·SET20  · ···_\x8Q_.U_.O_.T_.E·················Macros·can·be·redefined·by·using·another·SET
27  ·_.H_.i_.s_.t_.o_.r_.y···················command·with·the·same·macro·name.·The·prior21  ·[>]·_.S_.E_.T···················command·with·the·same·macro·name.·The·prior
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················definition·will·be·destroyed,·however.·Also,·the22  · ···_.U_.N_.D_.E_.F·················definition·will·be·destroyed,·however.·Also,·the
29  ·_.B_.u_.g_.s······················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_.U_.N_.S_.E_.T·················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T
30 ····························tag. 
  
  
  
  
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················tag.
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
908 B
./usr/share/doc/htp/tut/jh.html
    
Offset 16, 10 lines modifiedOffset 16, 10 lines modified
16 <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr>16 <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr>
17 <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr>17 <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr>
18 </table>18 </table>
19 ···</td></tr>19 ···</td></tr>
20 ··</table>20 ··</table>
21 ··<hr>21 ··<hr>
22 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>22 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>
23 ··last·updated·Wed·Aug·06,·202523 ··last·updated·Tue·Sep·08,·2026
24 ·</body>24 ·</body>
25 </html>25 </html>
511 B
html2text {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*1 ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
2 Navigation·bar·[Photo]2 Navigation·bar·[Photo]
3 _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-0203 _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020
4 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-82434 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243
5 ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-82425 ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242
6 ===============================================================================6 ===============================================================================
7 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.7 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
8 last·updated·Wed·Aug·06,·20258 last·updated·Tue·Sep·08,·2026
723 B
./usr/share/doc/htp/tut/tut1.html
    
Offset 5, 9 lines modifiedOffset 5, 9 lines modified
5 <meta·name="Generator"·content="htp·1.19">5 <meta·name="Generator"·content="htp·1.19">
6 </head>6 </head>
7 <body>7 <body>
8 This·page·was·produced·by·htp.8 This·page·was·produced·by·htp.
9 <hr>9 <hr>
10 Copyright·by·Joe·Doe,10 Copyright·by·Joe·Doe,
11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,
12 last·updated·Wed·Aug·06,·202512 last·updated·Tue·Sep·08,·2026
13 </body>13 </body>
383 B
html2text {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 This·page·was·produced·by·htp.1 This·page·was·produced·by·htp.
2 ===============================================================================2 ===============================================================================
3 Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Wed·Aug·06,·20253 Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Tue·Sep·08,·2026
774 B
./usr/share/doc/htp/tut/tut2.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 <p>13 <p>
14 As·you·can·see·the·file·contains·almost·only·the·contents.14 As·you·can·see·the·file·contains·almost·only·the·contents.
15 </p>15 </p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Wed·Aug·06,·202520 ··last·updated·Tue·Sep·08,·2026
21 ·</body>21 ·</body>
22 </html>22 </html>
426 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*
2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e
4 ===============================================================================4 ===============================================================================
5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
6 last·updated·Wed·Aug·06,·20256 last·updated·Tue·Sep·08,·2026
776 B
./usr/share/doc/htp/tut/tut3.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 ·<p>13 ·<p>
14 ·As·you·can·see·the·file·contains·almost·only·the·contents.14 ·As·you·can·see·the·file·contains·almost·only·the·contents.
15 ·</p>15 ·</p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Wed·Aug·06,·202520 ··last·updated·Tue·Sep·08,·2026
21 ·</body>21 ·</body>
22 </html>22 </html>
432 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8*1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8*
2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e
4 ===============================================================================4 ===============================================================================
5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
6 last·updated·Wed·Aug·06,·20256 last·updated·Tue·Sep·08,·2026
11.0 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 45 lines modifiedOffset 114, 51 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
122 me1·tagname2·...·><br> 
123 <br> 
124 def><br> 
125 <br> 
126 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>&gt;</span><br> 
127 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
128 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
129 <br> 
130 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
131 if"·alt="Bubble·image"><br> 
132 </code></p>121 </code></p>
133 <h2>synopsis</h2>122 <h2>synopsis</h2>
134 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.123 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.
135 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.124 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
136 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or125 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
137 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The126 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
138 old·macro·definition·will·be·removed·automatically.)127 old·macro·definition·will·be·removed·automatically.)
139 <P>128 <P>
140 For·example:129 For·example:
141 ··<p><code>130 ··<p><code>
 131 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>
 132 /my.domain.org/"·path="/var/www/my.domain/"><br>
 133 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br>
 134 <br>
 135 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 136 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 137 &nbsp;·(no·URL·replacement).<br>
 138 <br>
 139 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br>
 140 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 141 <br>
 142 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br>
 143 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 144 &nbsp;·will·not·be·added.<br>
 145 <br>
 146 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 147 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br>
 148 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br>
 149 <br>
 150 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br>
 151 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 152 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 153 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
142 </code></p>154 </code></p>
143 <P>155 <P>
144 More·than·one·macro·may·be·removed·in·the·same·tag:156 More·than·one·macro·may·be·removed·in·the·same·tag:
145 ··<p><code>157 ··<p><code>
146 &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> 
147 &nbsp;·&nbsp;·...<br> 
148 &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> 
149 &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> 
150 &nbsp;email="jnelson@crl.com"><br> 
151 &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> 
152 </code></p>158 </code></p>
153 <p>159 <p>
154 </td>160 </td>
155 </tr>161 </tr>
156 <tr>162 <tr>
157 <td·width="20%"·bgcolor="white"·valign="bottom">163 <td·width="20%"·bgcolor="white"·valign="bottom">
158 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">164 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
5.3 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 1, 55 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]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················me1·tagname2·...·> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················def> 
8  ·HTP·Tags 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·</font> 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
12  · ···_\x8D_\x8E_\x8F 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·<bigfont>Some·large·text</bigfont> 
14  · ···_\x8I_\x8F····················if"·alt="Bubble·image"> 
15  · ···_.I_.N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
16  · ···_.I_.M_.G···················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's5  ·_.L_.i_.c_.e_.n_.s_.e···················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············definition.·The·macro·is·subsequently·not·available6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················definition.·The·macro·is·subsequently·not·available
18  · ···_.O_.P_.T···················for·use·in·the·pre-processed·files.·(Note·that7  ·_.U_.s_.a_.g_.e·····················for·use·in·the·pre-processed·files.·(Note·that
19  · ···_.O_.U_.T_.P_.U_.T················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or8  ·HTP·Tags··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or
20  · ···_\x8Q_.U_.O_.T_.E·················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.
21  · ···_\x8S_.E_.T···················The·old·macro·definition·will·be·removed10  · ···_\x8B_.L_.O_.C_.K·················The·old·macro·definition·will·be·removed
22  · ···_\x8U_.N_.D_.E_.F·················automatically.)11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············automatically.)
23  ·[>]·_.U_.N_.S_.E_.T·················For·example:12  · ···_.D_.E_.F···················For·example:
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················More·than·one·macro·may·be·removed·in·the·same·tag: 
25  · ···_\x8W_.H_.I_.L_.E················· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>13  · ···_\x8F_.I_.L_.E·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr>
 14  · ···_\x8I_\x8F····················/my.domain.org/"·path="/var/www/my.domain/">
 15  · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/
 16  · ···_\x8I_\x8M_\x8G···················var/www/other.domain/">
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
 18  · ···_\x8O_\x8P_\x8T··················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·the·local·filename·"logo.gif"·will·be·used·to
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················determine·image·dimensions
 21  · ···_\x8S_\x8E_\x8T··················· ·(no·URL·replacement).
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
 23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················my.domain.org/logo.gif">
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·the·local·filename·"/var/www/my.domain/logo.gif"
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·...26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················will·be·used.
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i>27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·But·for·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="http://
29  ·_\x8B_\x8u_\x8g_\x8s······················ email="jnelson@crl.com"> 
30 ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>29  ·_.B_.u_.g_.s······················other.domain.org/logo.gif">
 30 ···························· ·the·local·file·cannot·be·found·(no·prefix·match),
 31 ····························so·the·image·dimensions
 32 ···························· ·will·not·be·added.
  
 33 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes
 34 ····························precedence:
 35 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/">
 36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/
 37 ····························test/">
  
 38 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 39 ····························src="/test/image.gif"> are·mapped·to
 40 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/
 41 ····························image.gif,·resp.
 42 ···························· ·If·the·order·of·the·imageurl·lines·would·be
 43 ····························swapped,·the·second
 44 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/
 45 ····························image.gif.
 46 ····························More·than·one·macro·may·be·removed·in·the·same·tag:
  
  
  
  
  
  
  
16.1 KB
./usr/share/doc/htp/use.html
    
Offset 114, 19 lines modifiedOffset 114, 14 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br> 
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> 
125 &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> 
126 </code></p>121 </code></p>
127 <h2>synopsis</h2>122 <h2>synopsis</h2>
128 <strong>USE</strong>·will·expand·macros·that·have·been·previously123 <strong>USE</strong>·will·expand·macros·that·have·been·previously
129 declared·with·either·<A·HREF="set.html">SET</A>·or·<A124 declared·with·either·<A·HREF="set.html">SET</A>·or·<A
130 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other125 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other
131 markup·tags.126 markup·tags.
132 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will127 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will
Offset 154, 20 lines modifiedOffset 149, 14 lines modified
154 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or149 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or
155 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.150 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.
156 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or151 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or
157 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it152 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it
158 replaces·the·macro·name·by·the·contents·of·the·macro·without·further153 replaces·the·macro·name·by·the·contents·of·the·macro·without·further
159 processing·the·contents.154 processing·the·contents.
160 ··<p><code>155 ··<p><code>
161 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br> 
162 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br> 
163 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
164 <font·size="-2">&nbsp;4.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
165 <font·size="-2">&nbsp;5.·</font>&nbsp;email="jnelson@crl.com"><br> 
166 <font·size="-2">&nbsp;6.·</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> 
167 </code></p>156 </code></p>
168 <P>157 <P>
169 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and158 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
170 should·never·cause·confusion·with·surrounding·text.··If·no·curly159 should·never·cause·confusion·with·surrounding·text.··If·no·curly
171 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation160 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation
172 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;161 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;
173 and·&quot;_&quot;·that·follows·it.162 and·&quot;_&quot;·that·follows·it.
Offset 182, 14 lines modifiedOffset 171, 38 lines modified
182 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),171 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),
183 quotation·marks·are·not·automatically·supplied.172 quotation·marks·are·not·automatically·supplied.
184 <P>173 <P>
185 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can174 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can
186 be·nested.··This·is·valid:175 be·nested.··This·is·valid:
187 ··<p><code>176 ··<p><code>
188 &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>177 &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>
 178 SIZE"><br>
 179 &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>
 180 &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>
 181 &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>
 182 &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>
 183 &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>
 184 &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>
 185 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 186 &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>
 187 &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>
 188 <br>
 189 &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>
 190 <br>
 191 &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>
 192 <br>
 193 &nbsp;·This·will·fail:<br>
 194 &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>
 195 <br>
 196 &nbsp;·Instead,·use·*·like·this:<br>
 197 &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>
 198 &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>
 199 &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>
 200 &nbsp;·&nbsp;·<br>
 201 &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>
189 </code></p>202 </code></p>
190 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined203 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined
191 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX204 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX
192 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand205 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand
193 value1.206 value1.
194 <p>207 <p>
195 </td>208 </td>
8.66 KB
html2text {}
    
Offset 1, 53 lines modifiedOffset 1, 41 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">; 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
8  ·HTP·Tags 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
10  · ···_.B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously5  ·_.L_.i_.c_.e_.n_.s_.e···················U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously
12  · ···_.D_.E_.F···················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be
13  · ···_.F_.I_.L_.E··················used·outside·of·other·markup·tags.7  ·_.U_.s_.a_.g_.e·····················used·outside·of·other·markup·tags.
14  · ···_.I_.F····················If·you·USE·a·block·macro·the·value·of·expanded8  ·HTP·Tags··················If·you·USE·a·block·macro·the·value·of·expanded
15  · ···_\x8I_.N_.C···················block·macros·will·be·further·parsed·by·htp.·This·is9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············block·macros·will·be·further·parsed·by·htp.·This·is
16  · ···_\x8I_.M_.G···················maybe·not·what·you·want,·for·example,·if·the·use·is10  · ···_\x8B_.L_.O_.C_.K·················maybe·not·what·you·want,·for·example,·if·the·use·is
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use
18  · ···_\x8O_.P_.T···················the·noexpand·attribute·to·prevent·further12  · ···_\x8D_.E_.F···················the·noexpand·attribute·to·prevent·further
19  · ···_\x8O_.U_.T_.P_.U_.T················expansion.13  · ···_\x8F_.I_.L_.E··················expansion.
20  · ···_\x8Q_.U_.O_.T_.E·················USE·will·accept·additional·parameters,·which·are14  · ···_\x8I_.F····················USE·will·accept·additional·parameters,·which·are
21  · ···_\x8S_.E_.T···················"local"·macros·for·the·expanded·macro.·This·is·only15  · ···_\x8I_.N_.C···················"local"·macros·for·the·expanded·macro.·This·is·only
22  · ···_\x8U_.N_.D_.E_.F·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T16  · ···_\x8I_.M_.G···················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T
23  · ···_\x8U_.N_.S_.E_.T·················cannot·have·parameters·passed.·For·example:17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············cannot·have·parameters·passed.·For·example:
24  ·[>]·_.U_.S_.E_.,_.·_.$················(See·below·for·a·description·of·the·'$'·operator.)18  · ···_.O_.P_.T···················(See·below·for·a·description·of·the·'$'·operator.)
25  · ···_\x8W_.H_.I_.L_.E·················The·example·on·line·7·works·because·"stuff"·has19  · ···_\x8O_.U_.T_.P_.U_.T················The·example·on·line·7·works·because·"stuff"·has
26  · ···_\x8<_.!_.-_.-_.-·················been·declared·as·a·block·macro,·and·the·tag·is20  · ···_\x8Q_.U_.O_.T_.E·················been·declared·as·a·block·macro,·and·the·tag·is
27  ·_.H_.i_.s_.t_.o_.r_.y···················passing·the·"email"·macro·to·the·"stuff"·macro.21  · ···_.S_.E_.T···················passing·the·"email"·macro·to·the·"stuff"·macro.
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Line·8·fails·because·the·"email"·macro·is22  · ···_.U_.N_.D_.E_.F·················Line·8·fails·because·the·"email"·macro·is
29  ·_.B_.u_.g_.s······················unavailable·once·the·block·macro·is·completely23  · ···_.U_.N_.S_.E_.T·················unavailable·once·the·block·macro·is·completely
30 ····························expanded,·and·cannot·be·passed·to·a·SET·macro.24  ·[>]·_.U_.S_.E_.,_.·_.$················expanded,·and·cannot·be·passed·to·a·SET·macro.
31 ····························Note·that·the·"email"·macro·is·available·to·other25  · ···_.W_.H_.I_.L_.E·················Note·that·the·"email"·macro·is·available·to·other
32 ····························macros·or·included·files·called·within·the·"stuff"26  · ···_.<_.!_.-_.-_.-·················macros·or·included·files·called·within·the·"stuff"
33 ····························block.27  ·_.H_.i_.s_.t_.o_.r_.y···················block.
34 ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any
35 ····························other·standard·HTML·or·htp·tag,·the·'$'·operator29  ·_.B_.u_.g_.s······················other·standard·HTML·or·htp·tag,·the·'$'·operator
36 ····························must·be·used.·The·'$'·should·be·immediately30 ····························must·be·used.·The·'$'·should·be·immediately
37 ····························followed·by·the·macro·name,·which·may·or·may·not·be31 ····························followed·by·the·macro·name,·which·may·or·may·not·be
38 ····························surrounded·by·curly·braces.·When·htp·encounters32 ····························surrounded·by·curly·braces.·When·htp·encounters
39 ····························this·it·replaces·the·macro·name·by·the·contents·of33 ····························this·it·replaces·the·macro·name·by·the·contents·of
40 ····························the·macro·without·further·processing·the·contents.34 ····························the·macro·without·further·processing·the·contents.
41 ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> 
42 ···························· 2.· · ·... 
43 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
44 ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
45 ···························· 5.· email="jnelson@crl.com"> 
46 ···························· 6.· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> 
47 ····························The·use·of·curly·braces·is·encouraged,·since·it·is35 ····························The·use·of·curly·braces·is·encouraged,·since·it·is
48 ····························more·robust·and·should·never·cause·confusion·with36 ····························more·robust·and·should·never·cause·confusion·with
49 ····························surrounding·text.·If·no·curly·braces·are·used·the37 ····························surrounding·text.·If·no·curly·braces·are·used·the
50 ····························macro·name·consists·either·of·a·single·punctuation38 ····························macro·name·consists·either·of·a·single·punctuation
51 ····························character·or·the·maximum·sequence·of·letters,39 ····························character·or·the·maximum·sequence·of·letters,
52 ····························digits,·"-"·and·"_"·that·follows·it.40 ····························digits,·"-"·and·"_"·that·follows·it.
53 ····························If·a·'$'·character·needs·to·be·kept·in·the·final41 ····························If·a·'$'·character·needs·to·be·kept·in·the·final
Offset 60, 14 lines modifiedOffset 48, 41 lines modified
60 ····························delimiting·the·text·as·if·it·were·additional·markup48 ····························delimiting·the·text·as·if·it·were·additional·markup
61 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other49 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other
62 ····························text·(as·in·the·two·examples·above),·quotation50 ····························text·(as·in·the·two·examples·above),·quotation
63 ····························marks·are·not·automatically·supplied.51 ····························marks·are·not·automatically·supplied.
64 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a52 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a
65 ····························markup·tag·and·can·be·nested.·This·is·valid:53 ····························markup·tag·and·can·be·nested.·This·is·valid:
66 ···························· · ·<${tagName}·${attrName}=${value$ctr}>54 ···························· · ·<${tagName}·${attrName}=${value$ctr}>
 55 ····························SIZE">
 56 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 57 ···························· · · · ·<FONT·SIZE=${size}>
 58 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 59 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 60 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 61 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 62 ···························· · · · ·</FONT>
 63 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 64 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
  
 65 ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 66 ····························title">
  
 67 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 68 ····························title">
  
 69 ···························· ·This·will·fail:
 70 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 71 ····························TITLE="Another·title">
  
 72 ···························· ·Instead,·use·*·like·this:
 73 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 74 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 75 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 76 ···························· · 
 77 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
67 ····························The·tagName·macro·can·contain·any·tag·name,·even·a78 ····························The·tagName·macro·can·contain·any·tag·name,·even·a
68 ····························self-defined·metatag.·Note·that·$ctr·is·expanded79 ····························self-defined·metatag.·Note·that·$ctr·is·expanded
69 ····························before·the·valueX·macro·is·expanded,·so·assuming80 ····························before·the·valueX·macro·is·expanded,·so·assuming
70 ····························that·ctr·was·set·to·1·it·will·expand·value1.81 ····························that·ctr·was·set·to·1·it·will·expand·value1.
  
  
  
6.9 KB
./usr/share/doc/htp/while.html
    
Offset 114, 19 lines modifiedOffset 114, 14 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br> 
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> 
125 &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> 
126 </code></p>121 </code></p>
127 <h2>synopsis</h2>122 <h2>synopsis</h2>
128 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.123 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.
129 The·basic·form·is·shown·above.124 The·basic·form·is·shown·above.
130 <P>125 <P>
131 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.126 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
132 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.127 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.
Offset 134, 20 lines modifiedOffset 129, 14 lines modified
134 conditional·is·reversed:129 conditional·is·reversed:
135 ··<p><code>130 ··<p><code>
136 </code></p>131 </code></p>
137 <P>132 <P>
138 Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a133 Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a
139 macro's·existance:134 macro's·existance:
140 ··<p><code>135 ··<p><code>
141 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br> 
142 &nbsp;·&nbsp;·...<br> 
143 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
144 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
145 &nbsp;email="jnelson@crl.com"><br> 
146 &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> 
147 </code></p>136 </code></p>
148 <P>137 <P>
149 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the138 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
150 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the139 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
151 WHILE·tag·it·is·also·reevaluated·on·each·iteration.140 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
152 <P>141 <P>
153 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.142 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.
4.01 KB
html2text {}
    
Offset 1, 48 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">; 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
8  ·HTP·Tags 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
10  · ···_.B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated5  ·_.L_.i_.c_.e_.n_.s_.e···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated
12  · ···_.D_.E_.F···················processing.·The·basic·form·is·shown·above.6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················processing.·The·basic·form·is·shown·above.
13  · ···_.F_.I_.L_.E··················"Conditional"·is·either·a·"compare"·or·"is·defined"7  ·_.U_.s_.a_.g_.e·····················"Conditional"·is·either·a·"compare"·or·"is·defined"
14  · ···_.I_.F····················operation.·A·compare·operator·is·a·test·of·the8  ·HTP·Tags··················operation.·A·compare·operator·is·a·test·of·the
15  · ···_\x8I_.N_.C···················value·of·a·macro·against·a·literal·string.·If·the9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············value·of·a·macro·against·a·literal·string.·If·the
16  · ···_\x8I_.M_.G···················NOT·tag·is·present·in·the·WHILE·markup,·the10  · ···_\x8B_.L_.O_.C_.K·················NOT·tag·is·present·in·the·WHILE·markup,·the
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············evaluation·of·the·conditional·is·reversed:11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············evaluation·of·the·conditional·is·reversed:
18  · ···_\x8O_.P_.T···················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a12  · ···_\x8D_.E_.F···················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a
19  · ···_\x8O_.U_.T_.P_.U_.T················macro's·existance:13  · ···_\x8F_.I_.L_.E··················macro's·existance:
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> 
21  · ···_\x8S_\x8E_\x8T··················· · ·... 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ email="jnelson@crl.com"> 
25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> 
26  · ···_\x8<_.!_.-_.-_.-·················If·the·condition·is·true,·the·block·is·evaluated14  · ···_\x8I_.F····················If·the·condition·is·true,·the·block·is·evaluated
27  ·_.H_.i_.s_.t_.o_.r_.y···················and·afterwards·the·WHILE·tag·is·evaluated·again.·If15  · ···_.I_.N_.C···················and·afterwards·the·WHILE·tag·is·evaluated·again.·If
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················the·'$'-operator·is·used·in·the·WHILE·tag·it·is16  · ···_.I_.M_.G···················the·'$'-operator·is·used·in·the·WHILE·tag·it·is
29  ·_.B_.u_.g_.s······················also·reevaluated·on·each·iteration.17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············also·reevaluated·on·each·iteration.
30 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.18  · ···_.O_.P_.T···················A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.
  
  
  
  
  
  
  
  
  
  
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
 21  · ···_\x8S_\x8E_\x8T
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
 25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s