216 KB
/srv/reproducible-results/rbuild-debian/r-b-build.oH0HPI9B/b1/htp_1.19-8_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.oH0HPI9B/b2/htp_1.19-8_arm64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·41cff7f9bb530b87d114b1aad0eb90b4·70468·debug·optional·htp-dbgsym_1.19-8_arm64.deb1 ·41cff7f9bb530b87d114b1aad0eb90b4·70468·debug·optional·htp-dbgsym_1.19-8_arm64.deb
2 ·d7b34caa11a51d9ebf4420688a5d7c39·116860·web·optional·htp_1.19-8_arm64.deb2 ·7aa265b34ad3143d5b2029f4cab9e769·116336·web·optional·htp_1.19-8_arm64.deb
216 KB
htp_1.19-8_arm64.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary
2 -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3620·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···113052·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···112524·2020-06-14·23:21:19.000000·data.tar.xz
563 B
control.tar.xz
535 B
control.tar
465 B
./control
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 Package:·htp1 Package:·htp
2 Version:·1.19-82 Version:·1.19-8
3 Architecture:·arm643 Architecture:·arm64
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6505 Installed-Size:·644
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
215 KB
data.tar.xz
215 KB
data.tar
15.3 KB
file list
    
Offset 1, 27 lines modifiedOffset 1, 27 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/
4 -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/
6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/
8 -rw-r--r--···0·root·········(0)·root·········(0)·····8817·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)·····9367·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html
9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp
10 -rw-r--r--···0·root·········(0)·root·········(0)·····8850·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····8637·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)····11408·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····9128·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)····10799·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)····10055·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)····15808·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····12679·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)·····9218·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)····11208·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)····18386·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····15633·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)····13725·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)·····9455·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)·····9871·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)····11105·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html
51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp
52 -rw-r--r--···0·root·········(0)·root·········(0)·····8639·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8781·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)····10176·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····9646·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)····13215·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····14753·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)·····8471·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····8141·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html
70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp
71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html
72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp
73 -rw-r--r--···0·root·········(0)·root·········(0)·····8851·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····8175·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)·····8577·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)·····8577·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)·····9189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)····10791·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html
89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp
90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css
91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html
92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz
93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def
94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/
95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti
Offset 102, 23 lines modifiedOffset 102, 23 lines modified
102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp
103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html
104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp
105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt
106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt
107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html
108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp
109 -rw-r--r--···0·root·········(0)·root·········(0)·····9042·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····8633·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)····10372·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)····10103·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)····11755·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····14199·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)····10652·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)····11291·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html
118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp
119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html
120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp
121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/
122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp
123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/
124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/
7.48 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 32 lines modifiedOffset 114, 41 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">BLOCK</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"blockname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>&gt;</span><br> 
122 text·block<br>121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&[·...·truncated·by·diffoscope;·len:·10,·SHA:·9e8ef223149d0770d69b29fa44c8431955f80464ef9389f8dc60852e89aca98d·...·]<br>
 122 &nbsp;·&nbsp;·block·#1<br>
 123 [<br>
 124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 125 &nbsp;·&nbsp;·block·#2<br>
 126 ...<br>
 127 ]<br>
 128 [<br>
 129 <span·class="htp-tag">&lt;ELSE&gt;</span><br>
 130 &nbsp;·&nbsp;·block·#3<br>
 131 ]<br>
123 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/BLOCK</a>&gt;</span><br>132 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
124 <br>133 <br>
125 </code></p>134 </code></p>
126 <h2>synopsis</h2>135 <h2>synopsis</h2>
127 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A136 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
128 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.137 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
129 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the138 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
130 filename·is·considered·in·all·comparisons.139 filename·is·considered·in·all·comparisons.
131 <p>140 <p>
132 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT141 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT
133 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to142 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to
134 be·overridden·on·specific·images·and·default·text·on·all·others.143 be·overridden·on·specific·images·and·default·text·on·all·others.
135 <p>144 <p>
136 For·example:145 For·example:
137 ··<p><code>146 ··<p><code>
138 <span·class="comment">&lt;!---·comment·---&gt;</span><br>147 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="[·...·truncated·by·diffoscope;·len:·142,·SHA:·799aca0861c6d76f9a22298a838c023b112c7708519a2031abd6a2f66c8066e4·...·]&gt;</span><br>
139 <br>148 <br>
140 </code></p>149 </code></p>
141 <p>150 <p>
142 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT151 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT
143 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not152 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not
144 changed.153 changed.
145 <p>154 <p>
4.75 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 46 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8B_.L_.O_.C_.K·NAME="blockname"·[GLOBAL]·[EXPAND]>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.F·[NOT]·conditional>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················text·block5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block·#1
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8B_\x8L_\x8O_\x8C_\x8K> 
7  ·_\x8U_.s_.a_.g_.e6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················[
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<ELSEIF·[NOT]·conditional>
 8  ·HTP·Tags·················· · ·block·#2
 9  ·[>]·_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············...
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················]
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············[
 12  · ···_\x8D_\x8E_\x8F···················<ELSE>
 13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·block·#3
 14  · ···_\x8I_\x8F····················]
 15  · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 16  · ···_\x8I_\x8M_\x8G
8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
9  ·[>]·_.A_.L_.T_.T_.E_.X_.T···············A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag18  · ···_.O_.P_.T···················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag
10  · ···_\x8B_.L_.O_.C_.K·················with·a·SRC·matching·the·ALTTEXT·NAME.·Since19  · ···_\x8O_.U_.T_.P_.U_.T················with·a·SRC·matching·the·ALTTEXT·NAME.·Since
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············relative·paths·can·be·used·to·point·to·the·same20  · ···_\x8Q_.U_.O_.T_.E·················relative·paths·can·be·used·to·point·to·the·same
12  · ···_\x8D_.E_.F···················image,·only·the·filename·is·considered·in·all21  · ···_\x8S_.E_.T···················image,·only·the·filename·is·considered·in·all
13  · ···_\x8F_.I_.L_.E··················comparisons.22  · ···_\x8U_.N_.D_.E_.F·················comparisons.
14  · ···_\x8I_.F····················When·an·IMG·tag·with·a·matching·source·is23  · ···_\x8U_.N_.S_.E_.T·················When·an·IMG·tag·with·a·matching·source·is
15  · ···_\x8I_.N_.C···················encountered,·htp·will·add·an·ALT·attribute·only·if24  · ···_\x8U_.S_.E_.,_.·_.$················encountered,·htp·will·add·an·ALT·attribute·only·if
16  · ···_\x8I_.M_.G···················one·is·not·already·present.·This·allows·for·ALT25  · ···_\x8W_.H_.I_.L_.E·················one·is·not·already·present.·This·allows·for·ALT
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············text·to·be·overridden·on·specific·images·and26  · ···_\x8<_.!_.-_.-_.-·················text·to·be·overridden·on·specific·images·and
18  · ···_.O_.P_.T···················default·text·on·all·others.27  ·_.H_.i_.s_.t_.o_.r_.y···················default·text·on·all·others.
19  · ···_.O_.U_.T_.P_.U_.T················For·example:28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················For·example:
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<!---·comment·---> 
21  · ···_.S_.E_.T29  ·_.B_.u_.g_.s······················<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·macroname1="increment1"
 30 ····························[macroname2="increment2"·...·]·[GLOBAL]>
  
22  · ···_.U_.N_.D_.E_.F·················An·ALTTEXT·tag·with·a·name·but·no·text·attribute31 ····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute
23  · ···_.U_.N_.S_.E_.T·················removes·any·ALT·mapping·for·this·image.·Successing32 ····························removes·any·ALT·mapping·for·this·image.·Successing
24  · ···_.U_.S_.E_.,_.·_.$················IMG·tags·with·a·matching·SRC·name·are·not·changed.33 ····························IMG·tags·with·a·matching·SRC·name·are·not·changed.
25  · ···_.W_.H_.I_.L_.E·················Since·this·is·useful·for·an·image·used·throughout·a34 ····························Since·this·is·useful·for·an·image·used·throughout·a
26  · ···_.<_.!_.-_.-_.-·················set·of·documents,·ALTTEXT·is·most·appropriate·in·an35 ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an
27  ·_.H_.i_.s_.t_.o_.r_.y···················_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e.36 ····························_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e.
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················In·addition·to·ALTTEXT,·htp·can·also·automatically37 ····························In·addition·to·ALTTEXT,·htp·can·also·automatically
29  ·_.B_.u_.g_.s······················add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.38 ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.
  
  
  
  
  
  
  
6.08 KB
./usr/share/doc/htp/block.html
    
Offset 114, 17 lines modifiedOffset 114, 26 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br> 
122 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br>121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&[·...·truncated·by·diffoscope;·len:·10,·SHA:·9e8ef223149d0770d69b29fa44c8431955f80464ef9389f8dc60852e89aca98d·...·]<br>
 122 &nbsp;·&nbsp;·block·#1<br>
 123 [<br>
 124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 125 &nbsp;·&nbsp;·block·#2<br>
 126 ...<br>
 127 ]<br>
 128 [<br>
 129 <span·class="htp-tag">&lt;ELSE&gt;</span><br>
 130 &nbsp;·&nbsp;·block·#3<br>
 131 ]<br>
123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>132 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
124 <br>133 <br>
125 </code></p>134 </code></p>
126 <h2>synopsis</h2>135 <h2>synopsis</h2>
127 <P>136 <P>
128 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which137 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
129 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be138 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
130 multi-line·definitions.139 multi-line·definitions.
3.95 KB
html2text {}
    
Offset 1, 43 lines modifiedOffset 1, 51 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="tagname"·[option="option1 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·...·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> ... 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
8  ·HTP·Tags4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············<_.[_.[_.r_.e_.f_.]_.]_.I_.F·[NOT]·conditional>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block·#1
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················[
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<ELSEIF·[NOT]·conditional>
 8  ·HTP·Tags·················· · ·block·#2
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············...
 10  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K·················]
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············[
 12  · ···_\x8D_\x8E_\x8F···················<ELSE>
 13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·block·#3
 14  · ···_\x8I_\x8F····················]
 15  · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 16  · ···_\x8I_\x8M_\x8G
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*17  · ···_\x8I_.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*
10  ·[>]·_.B_.L_.O_.C_.K·················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros,18  · ···_.O_.P_.T···················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros,
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be19  · ···_\x8O_.U_.T_.P_.U_.T················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be
12  · ···_\x8D_.E_.F···················multi-line·definitions.20  · ···_\x8Q_.U_.O_.T_.E·················multi-line·definitions.
13  · ···_\x8F_.I_.L_.E··················Any·text·and·formatting·may·be·set·inside·the21  · ···_\x8S_.E_.T···················Any·text·and·formatting·may·be·set·inside·the
14  · ···_\x8I_.F····················block.·You·can·use·any·htp·or·user·defined·metatag22  · ···_\x8U_.N_.D_.E_.F·················block.·You·can·use·any·htp·or·user·defined·metatag
15  · ···_\x8I_.N_.C···················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be23  · ···_\x8U_.N_.S_.E_.T·················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be
16  · ···_\x8I_.M_.G···················expanded·before·the·block·is·USEd·except·if·you24  · ···_\x8U_.S_.E_.,_.·_.$················expanded·before·the·block·is·USEd·except·if·you
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter.25  · ···_\x8W_.H_.I_.L_.E·················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter.
18  · ···_\x8O_.P_.T···················The·block·macro·is·dereferenced·(expanded)·with·the26  · ···_\x8<_.!_.-_.-_.-·················The·block·macro·is·dereferenced·(expanded)·with·the
19  · ···_.O_.U_.T_.P_.U_.T················_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the27  ·_.H_.i_.s_.t_.o_.r_.y···················_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the
20  · ···_.Q_.U_.O_.T_.E·················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro.28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro.
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_\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
9.73 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 35 lines modifiedOffset 114, 38 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-strin[·...·truncated·by·diffoscope;·len:·292,·SHA:·0cb6889f6287fa73092b5b491581e49e01ec9eb83bcad77f1098168e885134c9·...·]</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·block·#1<br>
 123 [<br>
 124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 125 &nbsp;·&nbsp;·block·#2<br>
 126 ...<br>
 127 ]<br>
 128 [<br>
 129 <span·class="htp-tag">&lt;ELSE&gt;</span><br>
 130 &nbsp;·&nbsp;·block·#3<br>
 131 ]<br>
122 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>132 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
123 <br>133 <br>
124 </code></p>134 </code></p>
125 <h2>synopsis</h2>135 <h2>synopsis</h2>
126 <strong>BLOCKDEF</strong>·creates·block·<A136 <strong>BLOCKDEF</strong>·creates·block·<A
127 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it137 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
128 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block138 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
129 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and139 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
130 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored140 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
131 in·the·block·macro·named·BLOCK.141 in·the·block·macro·named·BLOCK.
132 <P>·For·example:</P>142 <P>·For·example:</P>
133 ··<p><code>143 ··<p><code>
 144 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[GLOBAL]</span>&gt;</span><br>
134 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="htp-attrib">(output</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">|</span>·<span·class="htp-attrib">redirect)</span>·<span·class="htp-attrib">[noerror]</span>&gt;</span><br> 
135 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>&gt;</span><br> 
136 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>&gt;</span><br> 
137 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">size[</span>·=<span·class="htp-value"></span>·<span·class="htp-attrib">(byte|kbyte|mbyte|gbyte)</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[precision</span>=<span·class="htp-value">n]</span>&gt;</span><br> 
138 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">time[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br> 
139 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br> 
140 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>&gt;</span><br> 
141 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>&gt;</span><br> 
142 <br>145 <br>
143 </code></p>146 </code></p>
144 <p>147 <p>
145 All·block·metatags·have·the·implicit·option·<a148 All·block·metatags·have·the·implicit·option·<a
146 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents149 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
147 of·the·block·before·the·definition·is·expanded.150 of·the·block·before·the·definition·is·expanded.
148 </p>151 </p>
4.31 KB
html2text {}
    
Offset 1, 34 lines modifiedOffset 1, 34 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_.e_.f·name="tagname"·[option="option14  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.F·[NOT]·conditional>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]>5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block·#1
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················[
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<ELSEIF·[NOT]·conditional>
 8  ·HTP·Tags·················· · ·block·#2
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············...
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················]
 11  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············[
 12  · ···_\x8D_\x8E_\x8F···················<ELSE>
 13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·block·#3
 14  · ···_\x8I_\x8F····················]
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>15  · ···_.I_.N_.C···················<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
7  ·_.U_.s_.a_.g_.e16  · ···_.I_.M_.G
8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy18  · ···_\x8O_.P_.T···················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy
10  · ···_\x8B_.L_.O_.C_.K·················way·of·saying·it·creates·new·block·tags.·A·block19  · ···_\x8O_.U_.T_.P_.U_.T················way·of·saying·it·creates·new·block·tags.·A·block
11  ·[>]·_.B_.L_.O_.C_.K_.D_.E_.F··············tag·is·a·tag·that·takes·a·whole·block·as·additional20  · ···_.Q_.U_.O_.T_.E·················tag·is·a·tag·that·takes·a·whole·block·as·additional
12  · ···_\x8D_.E_.F···················parameter.·This·block·is·surrounded·by·<tagname>21  · ···_\x8S_.E_.T···················parameter.·This·block·is·surrounded·by·<tagname>
13  · ···_\x8F_.I_.L_.E··················and·</tagname>.·The·contents·of·this·block·are22  · ···_\x8U_.N_.D_.E_.F·················and·</tagname>.·The·contents·of·this·block·are
14  · ···_\x8I_.F····················automatically·stored·in·the·block·macro·named23  · ···_\x8U_.N_.S_.E_.T·················automatically·stored·in·the·block·macro·named
15  · ···_\x8I_.N_.C···················BLOCK.24  · ···_\x8U_.S_.E_.,_.·_.$················BLOCK.
16  · ···_\x8I_.M_.G···················For·example:25  · ···_\x8W_.H_.I_.L_.E·················For·example:
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·execute="command-line" 
18  · ···_\x8O_\x8P_\x8T···················(output="filename"·|·redirect)·[noerror]> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="includefilename"·[parameters 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················...]> 
21  · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·name> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·size[·= 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················(byte|kbyte|mbyte|gbyte)·]·[precision=n]> 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·time[·="format"·]> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date[·="format"·]> 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_.i_.l_.e·search="searchpath">26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.N_.C·macroname1="increment1"
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·template="templatefilename">27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················[macroname2="increment2"·...·]·[GLOBAL]>
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s······················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,29  ·_\x8B_\x8u_\x8g_\x8s······················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,
30 ····························which·tells·htp·to·expand·the·contents·of·the·block30 ····························which·tells·htp·to·expand·the·contents·of·the·block
31 ····························before·the·definition·is·expanded.31 ····························before·the·definition·is·expanded.
32 ····························A·more·thorough·discussion·and·more·elaborate32 ····························A·more·thorough·discussion·and·more·elaborate
33 ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.33 ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.
  
10.7 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 49 lines modifiedOffset 114, 42 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;h1&gt;</span><span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>&gt;</span><span·class="htp-tag">&lt;/h1&gt;</span><br> 
123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
124 &nbsp;·&nbsp;·&nbsp;<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
125 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br> 
126 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
127 <br>122 <br>
128 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br> 
129 &nbsp;·&nbsp;·This·is·a·fancy·section.<br> 
130 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br>123 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 124 &nbsp;·becomes·this·after·processing:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
 125 <br>
 126 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>&gt;</span><br>
 127 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br>
 128 <br>
 129 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>&gt;</span><br>
 130 &nbsp;·remains·unchanged.<br>
131 </code></p>131 </code></p>
132 <h2>synopsis</h2>132 <h2>synopsis</h2>
133 <p>133 <p>
134 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful134 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
135 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.135 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
136 Example:136 Example:
137 </p>137 </p>
138 ··<p><code>138 ··<p><code>
139 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;EM&gt;</span>File·"<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>&gt;</span>"·last·updated·<span·cla[·...·truncated·by·diffoscope;·len:·368,·SHA:·cf16eab7d3111286e5776e8c30394cdec2ecd69c87885069d63cd4536acf5ae5·...·]&gt;</span><br>139 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=[·...·truncated·by·diffoscope;·len:·155,·SHA:·36ae947a04f994c06d02f004fcea1a3c260795b72dcacb19b6f84874ee1509a8·...·]&gt;</span><br>
 140 <br>
140 </code></p>141 </code></p>
141 <p>142 <p>
142 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you143 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
143 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something144 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
144 like·this:145 like·this:
145 </p>146 </p>
146 ··<p><code>147 ··<p><code>
 148 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
147 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>&gt;</span><br> 
148 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br> 
149 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
150 <br> 
151 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>&gt;</span><br> 
152 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
153 &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> 
154 <br> 
155 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
156 </code></p>149 </code></p>
157 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the150 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
158 reason·why·you·don't·want·to·include·this·block</p>151 reason·why·you·don't·want·to·include·this·block</p>
159 <p>152 <p>
160 </td>153 </td>
161 </tr>154 </tr>
162 <tr>155 <tr>
4.56 KB
html2text {}
    
Offset 1, 40 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:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_.l_.o_.c_.k_.d_.e_.f·name="section"·option="title">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_.l_.t_.t_.e_.x_.t·name="logo.gif"·text="Company
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <h1><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·title></h1> 
6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l·················· · <p·class="section">5  ·_\x8L_.i_.c_.e_.n_.s_.e···················logo">
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · <_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·block>7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="logo.gif">
8  ·HTP·Tags·················· · </p> 
9  · ···_.A_.L_.T_.T_.E_.X_.T··············· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k_.d_.e_.f>8  ·HTP·Tags·················· ·becomes·this·after·processing:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo">
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<section·title="My·Section"> 
12  · ···_\x8D_\x8E_\x8F··················· · ·This·is·a·fancy·section. 
13  · ···_\x8F_.I_.L_.E·················· ·</section>11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F·············· ·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="../image/logo.gif">
 12  · ···_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it
 13  · ···_\x8F_\x8I_\x8L_\x8E
 14  · ···_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click
 15  · ···_\x8I_\x8N_\x8C···················here·for·more·information!">
 16  · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged.
14  · ···_\x8I_\x8F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
15  · ···_\x8I_.N_.C···················This·is·a·simple·comment·that·is·not·included·in18  · ···_\x8O_.P_.T···················This·is·a·simple·comment·that·is·not·included·in
16  · ···_\x8I_.M_.G···················the·output.·This·is·useful·when·commenting19  · ···_\x8O_.U_.T_.P_.U_.T················the·output.·This·is·useful·when·commenting
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············metatags,·since·the·metatags·do·not·appear·the20  · ···_\x8Q_.U_.O_.T_.E·················metatags,·since·the·metatags·do·not·appear·the
18  · ···_\x8O_.P_\x8T···················output·either.·Example:21  · ···_\x8S_.E_\x8T···················output·either.·Example:
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated·<_\x8[ 
20  · ···_\x8Q_.U_.O_.T_.E·················_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·TIME>,·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·DATE></EM>22  · ···_\x8U_.N_.D_.E_.F·················<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·macroname1="increment1"
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················[macroname2="increment2"·...·]·[GLOBAL]>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
21  · ···_\x8S_.E_.T···················Note·that·these·comments·should·not·include·<·or·>,25  · ···_\x8W_.H_.I_.L_.E·················Note·that·these·comments·should·not·include·<·or·>,
22  · ···_.U_.N_.D_.E_.F·················that·is·you·should·not·use·it·to·comment·out·htp26  ·[>]·_.<_.!_.-_.-_.-·················that·is·you·should·not·use·it·to·comment·out·htp
23  · ···_.U_.N_.S_.E_.T·················code.·For·that·purpose·use·something·like·this:27  ·_.H_.i_.s_.t_.o_.r_.y···················code.·For·that·purpose·use·something·like·this:
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="bigfont"> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<font·size="+4"> 
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  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> 
29  ·_\x8B_\x8u_\x8g_\x8s······················ · ·</font> 
30 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
  
31 ···························· ·<bigfont>Some·large·text</bigfont> 
32 ····························Make·sure·that·the·variable·is·never·defined·and29  ·_.B_.u_.g_.s······················Make·sure·that·the·variable·is·never·defined·and
33 ····························xyz·should·be·the·reason·why·you·don't·want·to30 ····························xyz·should·be·the·reason·why·you·don't·want·to
34 ····························include·this·block31 ····························include·this·block
  
  
  
  
  
16.6 KB
./usr/share/doc/htp/def.html
    
Offset 114, 23 lines modifiedOffset 114, 24 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="ebnf">(</span><span·class="htp-attrib">output</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">|</span>·<span·class="htp-attrib">redirect</span><span·class="ebnf">)</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noerror</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>&gt;</span><br> 
123 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>&gt;</span><br> 
124 <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="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">size</span><span·class="ebnf">[</span>·=<span·class="htp-value"></span>·<span·class="ebnf">(</span><span·class="htp-attrib">byte</span><span·class="ebnf">|</span><span·class="htp-attrib">kbyte</span><span·class="ebnf">|</span><span·class="htp-attrib">mbyte</span><span·class="ebnf">|</span><span·class="htp-attrib">gbyte</span><span·class="ebnf">)</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">precision</span>=<span·class="htp-value">n<span·class="ebnf">]</span></span>&gt;</span><br> 
125 <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="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">time</span><span·class="ebnf">[</span>·=<span·class="htp-string">"format"</span>·<span·class="ebnf">]</span>&gt;</span><br> 
126 <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="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">date</span><span·class="ebnf">[</span>·=<span·class="htp-string">"format"</span>·<span·class="ebnf">]</span>&gt;</span><br> 
127 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>&gt;</span><br> 
128 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>&gt;</span><br> 
129 <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>
130 </code></p>131 </code></p>
131 <h2>synopsis</h2>132 <h2>synopsis</h2>
132 <p>133 <p>
133 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a134 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
134 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to135 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
135 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>136 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
136 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.137 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
Offset 145, 38 lines modifiedOffset 146, 29 lines modified
145 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to146 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
146 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A147 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
147 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster148 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
148 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing149 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
149 tag·with·a·preceding·slash.·For·example:150 tag·with·a·preceding·slash.·For·example:
150 </P>151 </P>
151 ··<p><code>152 ··<p><code>
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">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>153 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
153 </code></p>154 </code></p>
154 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,155 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
155 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>156 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
156 <P>157 <P>
157 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were158 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
158 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with159 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
159 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their160 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
160 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)161 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
161 </P>162 </P>
162 ··<p><code>163 ··<p><code>
 164 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>&gt;</span><br>
 165 text·block<br>
163 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>&gt;</span><br> 
164 &nbsp;·&nbsp;<span·class="htp-tag">&lt;table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>&gt;</span><br> 
165 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br> 
166 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br> 
167 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br> 
168 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br> 
169 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br> 
170 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br> 
171 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>166 <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>
172 <br>167 <br>
173 &nbsp;paragraph<br> 
174 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br> 
175 &nbsp;paragraph<br> 
176 </code></p>168 </code></p>
177 <P>169 <P>
178 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is170 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
179 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are171 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
180 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the172 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
181 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a173 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
182 parameter·is·required,·simply·expand·it·without·first·checking.··When174 parameter·is·required,·simply·expand·it·without·first·checking.··When
7.09 KB
html2text {}
    
Offset 1, 64 lines modifiedOffset 1, 53 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·execute="command-line"4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.a_.l_.t_.t_.e_.x_.t·name="logo.gif"·text="Company
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················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
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················(output="filename"·|·redirect)·[noerror]> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="includefilename"·[parameters 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················...]> 
8  ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·name> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·size[·= 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················(byte|kbyte|mbyte|gbyte)·]·[precision=n]> 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·time[·="format"·]> 
12  ·[>]·_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date[·="format"·]> 
13  · ···_\x8F_\x8I_\x8L_\x8E··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·search="searchpath"> 
14  · ···_\x8I_\x8F····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·template="templatefilename"> 
15  · ···_\x8I_.N_.C13  · ···_\x8F_.I_.L_.E
 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.
16  · ···_\x8I_\x8M_\x8G···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*17  · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of18  · ···_\x8O_.P_.T···················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of
18  · ···_\x8O_\x8P_.T···················saying·it·creates·new·tags.·The·mechanism·is·very19  · ···_\x8O_\x8U_.T_.P_.U_.T················saying·it·creates·new·tags.·The·mechanism·is·very
19  · ···_\x8O_.U_.T_.P_.U_.T················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is20  · ···_\x8Q_.U_.O_.T_.E·················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is
20  · ···_\x8Q_.U_.O_.T_.E·················not·used·to·expand·them.·Instead,·they·are·expanded21  · ···_\x8S_.E_.T···················not·used·to·expand·them.·Instead,·they·are·expanded
21  · ···_\x8S_.E_.T···················by·their·own·name.·For·example:22  · ···_\x8U_.N_.D_.E_.F·················by·their·own·name.·For·example:
22  · ···_\x8U_\x8N_\x8D_.E_.F·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz>23  · ···_\x8U_\x8N_\x8S_.E_.T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz>
23  · ···_\x8U_\x8N_.S_.E_.T················· ·...24  · ···_\x8U_\x8S_.E_.,_.·_.$················ ·...
24  · ···_\x8U_.S_.E_.,_.·_.$················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f>25  · ···_\x8W_.H_.I_.L_.E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f>
25  · ···_\x8W_.H_.I_.L_.E·················Some·metatags·will·require·an·opening·and·closing26  · ···_\x8<_.!_.-_.-_.-·················Some·metatags·will·require·an·opening·and·closing
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················tag·(comparable·to 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················and27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················tag·(comparable·to
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················and
28  ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.29  ·_\x8B_.u_.g_.s······················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.
29  ·_.B_.u_.g_.s······················Another·slightly·faster·alternative·is·to·use·two30 ····························Another·slightly·faster·alternative·is·to·use·two
30 ····························metatags,·the·opening·tag·and·the·closing·tag·with31 ····························metatags,·the·opening·tag·and·the·closing·tag·with
31 ····························a·preceding·slash.·For·example:32 ····························a·preceding·slash.·For·example:
32 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>33 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
33 ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will34 ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will
34 ····························check·for·matching·end·tag.·It·is·not·that·slower.35 ····························check·for·matching·end·tag.·It·is·not·that·slower.
35 ····························Options·can·be·passed·to·a·metatag,·which·can·then36 ····························Options·can·be·passed·to·a·metatag,·which·can·then
36 ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are37 ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are
37 ····························parameterized·with·the·OPTION·attribute.·Multiple38 ····························parameterized·with·the·OPTION·attribute.·Multiple
38 ····························options·can·be·listed·by·separating·their·name·with39 ····························options·can·be·listed·by·separating·their·name·with
39 ····························a·space·(which·therefore·requires·they·be40 ····························a·space·(which·therefore·requires·they·be
40 ····························surrounded·by·quotes.)41 ····························surrounded·by·quotes.)
 42 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND]
41 ···························· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="imghr"> 
42 ···························· · <table·border="0"·cellspacing="0" 
43 ····························cellpadding="0"> 
44 ···························· · <tr> 
45 ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ 
46 ····························td>43 ····························[EXPAND]>
47 ···························· · ·<td·width="95%" 
48 ····························background="midsep.png">&nbsp;</td> 
49 ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ 
50 ····························td>44 ····························text·block
51 ···························· · </tr> 
52 ···························· · </table> 
53 ···························· <_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>45 ····························<_.[_.[_.r_.e_.f_.]_.]_./_.O_.U_.T_.P_.U_.T>
  
54 ···························· paragraph 
55 ···························· <imghr> 
56 ···························· paragraph 
57 ····························htp·will·do·very·specific·checking·of·parameters46 ····························htp·will·do·very·specific·checking·of·parameters
58 ····························when·a·metatag·is·invoked.·htp·assumes·that·all47 ····························when·a·metatag·is·invoked.·htp·assumes·that·all
59 ····························parameter·options·to·the·metatag·are·optional.·This48 ····························parameter·options·to·the·metatag·are·optional.·This
60 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify49 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify
61 ····························the·SIZE·option·is·defined·before·expanding·it·in50 ····························the·SIZE·option·is·defined·before·expanding·it·in
62 ····························the·block.·If·a·parameter·is·required,·simply51 ····························the·block.·If·a·parameter·is·required,·simply
63 ····························expand·it·without·first·checking.·When·htp·expands52 ····························expand·it·without·first·checking.·When·htp·expands
9.14 KB
./usr/share/doc/htp/expand.html
    
Offset 98, 20 lines modifiedOffset 98, 40 lines modified
98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>
99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to
100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of
101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value
102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when
103 the·htp·tags·are·expanded:·</P>103 the·htp·tags·are·expanded:·</P>
104 ··<p><code>104 ··<p><code>
 105 <font·size="-2">&nbsp;1.·</font><span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
105 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·File·image.gif·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br> 
106 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br> 
107 </code></p>106 </code></p>
108 This·produces·the·following:107 This·produces·the·following:
109 ··<p><code>108 ··<p><code>
110 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.h[·...·truncated·by·diffoscope;·len:·82,·SHA:·9dc467fc629d299fcc6398abad873deba90f37994b707d57b7eba620d21af0bd·...·]>&gt;</span><br>109 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path<[·...·truncated·by·diffoscope;·len:·59,·SHA:·61bf49035be43bb6347d47f65bc916833cf1c23a03f2d006d45b33ee69a68944·...·]>&gt;</span><br>
 110 &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>
 111 <br>
 112 &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>
 113 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 114 &nbsp;·(no·URL·replacement).<br>
 115 <br>
 116 &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>
 117 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 118 <br>
 119 &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>
 120 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 121 &nbsp;·will·not·be·added.<br>
 122 <br>
 123 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 124 &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>
 125 &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>
 126 <br>
 127 &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>
 128 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 129 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 130 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
111 </code></p>131 </code></p>
112 <P>132 <P>
113 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a133 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
114 are·taken·literally,·however,·the·contents·for·b·are·already·expanded134 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
115 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it135 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
116 is·used,·while·the·contents·of·b·are·already·expanded.136 is·used,·while·the·contents·of·b·are·already·expanded.
117 </P>137 </P>
3.81 KB
html2text {}
    
Offset 24, 20 lines modifiedOffset 24, 52 lines modified
24 ····························However,·if·the·block·tag·is·marked·with·the·expand24 ····························However,·if·the·block·tag·is·marked·with·the·expand
25 ····························modifier·it·is·expanded·immediately.·This·is·useful25 ····························modifier·it·is·expanded·immediately.·This·is·useful
26 ····························if·you·want·to·store·something·in·a·block·macro,26 ····························if·you·want·to·store·something·in·a·block·macro,
27 ····························that·depends·on·the·current·value·of·another·macro.27 ····························that·depends·on·the·current·value·of·another·macro.
28 ····························This·other·macro·may·no·longer·have·the·correct28 ····························This·other·macro·may·no·longer·have·the·correct
29 ····························value·when·the·macro·is·expanded.·Here·is·some·code29 ····························value·when·the·macro·is·expanded.·Here·is·some·code
30 ····························that·demonstrate·when·the·htp·tags·are·expanded:30 ····························that·demonstrate·when·the·htp·tags·are·expanded:
 31 ···························· 1.·<!---·This·comment·doesn't·appear·in·the·HTML
 32 ····························file·--->
31 ···························· 1.· · ·File·image.gif·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E 
32 ····························NAME="image.gif"·SIZE=KBYTE> kilobytes 
33 ···························· 2.· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" 
34 ····························TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> 
35 ····························This·produces·the·following:33 ····························This·produces·the·following:
36 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name="Jim">...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>34 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="http://my.domain.org/
 35 ····························"·path="/var/www/my.domain/">
 36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/
 37 ····························var/www/other.domain/">
  
 38 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
 39 ···························· ·the·local·filename·"logo.gif"·will·be·used·to
 40 ····························determine·image·dimensions
 41 ···························· ·(no·URL·replacement).
  
 42 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
 43 ····························my.domain.org/logo.gif">
 44 ···························· ·the·local·filename·"/var/www/my.domain/logo.gif"
 45 ····························will·be·used.
  
 46 ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
 47 ····························other.domain.org/logo.gif">
 48 ···························· ·the·local·file·cannot·be·found·(no·prefix·match),
 49 ····························so·the·image·dimensions
 50 ···························· ·will·not·be·added.
  
 51 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes
 52 ····························precedence:
 53 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/">
 54 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/
 55 ····························test/">
  
 56 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 57 ····························src="/test/image.gif"> are·mapped·to
 58 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/
 59 ····························image.gif,·resp.
 60 ···························· ·If·the·order·of·the·imageurl·lines·would·be
 61 ····························swapped,·the·second
 62 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/
 63 ····························image.gif.
37 ····························When·block·a·and·block·b·are·defined·in·lines·2-64 ····························When·block·a·and·block·b·are·defined·in·lines·2-
38 ····························7·the·contents·of·a·are·taken·literally,·however,65 ····························7·the·contents·of·a·are·taken·literally,·however,
39 ····························the·contents·for·b·are·already·expanded·so·the66 ····························the·contents·for·b·are·already·expanded·so·the
40 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it67 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it
41 ····························is·used,·while·the·contents·of·b·are·already68 ····························is·used,·while·the·contents·of·b·are·already
42 ····························expanded.69 ····························expanded.
43 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with70 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with
19.3 KB
./usr/share/doc/htp/file.html
    
Offset 114, 55 lines modifiedOffset 114, 55 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="ebnf">(</span><span·class="htp-attrib">output</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">|</span>·<span·class="htp-attrib">redirect</span><span·class="ebnf">)</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noerror</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="ebnf">[</span><span·class="[·...·truncated·by·diffoscope;·len:·85,·SHA:·66c7be3d1037f76940608360d9f760b093d17a96d956a23a21c2c94befb708c1·...·]</span>&gt;</span><br>121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br>
123 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>&gt;</span><br>123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
124 <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="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">size</span><span·class="ebnf">[</span>·=<span·class="htp-value"></span>·<span·class="ebnf">(</span><span·class="htp-attrib">byte</span><span·class="ebnf">|</span><span·class="htp-attrib">kbyte</span><span·class="ebnf">|</span><span·class="htp-attrib">mbyte</span><span·class="ebnf">|</span><span·class="htp-attrib">gbyte</span><span·class="ebnf">)</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">precision</span>=<span·class="htp-value">n<span·class="ebnf">]</span></span>&gt;</span><br> 
125 <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="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">time</span><span·class="ebnf">[</span>·=<span·class="htp-string">"format"</span>·<span·class="ebnf">]</span>&gt;</span><br> 
126 <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="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">date</span><span·class="ebnf">[</span>·=<span·class="htp-string">"format"</span>·<span·class="ebnf">]</span>&gt;</span><br> 
127 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>&gt;</span><br> 
128 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>&gt;</span><br> 
129 <br>124 <br>
 125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>
 126 &nbsp;·&nbsp;·This·text·is·centered.<br>
130 </code></p>127 </code></p>
131 <h2>synopsis</h2>128 <h2>synopsis</h2>
132 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.129 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
133 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of130 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
134 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be131 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
135 added·to·the·output·file·as·well.132 added·to·the·output·file·as·well.
136 <P>133 <P>
137 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the134 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
138 following·is·perfectly·acceptable:135 following·is·perfectly·acceptable:
139 ··<p><code>136 ··<p><code>
140 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>&gt;</span><br>
141 &nbsp;·&nbsp;·block·#1<br> 
142 [<br> 
143 <span·class="htp-tag">&lt;ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>138 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>
144 &nbsp;·&nbsp;·block·#2<br> 
145 ...<br> 
146 ]<br> 
147 [<br> 
148 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
149 &nbsp;·&nbsp;·block·#3<br> 
150 ]<br> 
151 <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>139 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
152 <br>140 <br>
 141 &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>
 142 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br>
 143 &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>
 144 <br>
 145 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
153 </code></p>146 </code></p>
154 <P>147 <P>
155 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>148 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
156 <P>149 <P>
157 To·include·information·about·another·file,·such·as·an·archive·file·or150 To·include·information·about·another·file,·such·as·an·archive·file·or
158 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the151 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
159 type·of·information·to·be·displayed:152 type·of·information·to·be·displayed:
160 ··<p><code>153 ··<p><code>
161 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·hre[·...·truncated·by·diffoscope;·len:·89,·SHA:·0d74d7323b637f4f6c0a6b357b2d292517463b143d7384d65d9199c97616d3df·...·]>&gt;</span><br>154 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(IMGXY|NOIMGXY)</span>&gt;</span><br>
 155 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(QUIET|VERBOSE)</span>&gt;</span><br>
 156 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(DEPEND|NODEPEND)</span>&gt;</span><br>
 157 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>&gt;</span><br>
 158 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>&gt;</span><br>
 159 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>&gt;</span><br>
 160 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>&gt;</span><br>
 161 <br>
162 </code></p>162 </code></p>
163 <P>163 <P>
164 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the164 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
165 information·is·displayed.··In·anything·other·than·byte·format,·the·information165 information·is·displayed.··In·anything·other·than·byte·format,·the·information
166 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number166 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
167 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional167 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
168 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no168 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 191, 27 lines modifiedOffset 191, 16 lines modified
191 <P>191 <P>
192 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are192 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
193 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros193 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
194 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it194 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
195 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer195 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
196 available.··So:196 available.··So:
197 ··<p><code>197 ··<p><code>
 198 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...]</span>&gt;</span><br>
198 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>&gt;</span><br> 
199 &nbsp;·&nbsp;<span·class="htp-tag">&lt;table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>&gt;</span><br> 
200 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br> 
201 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br> 
202 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br> 
203 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br> 
204 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br> 
205 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br> 
206 &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> 
207 <br>199 <br>
208 &nbsp;paragraph<br> 
209 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br> 
210 &nbsp;paragraph<br> 
211 </code></p>200 </code></p>
212 <P>201 <P>
213 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included202 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
214 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the203 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
215 second·statement·will·fail.)204 second·statement·will·fail.)
216 <P>205 <P>
217 <h3><a·name="template">TEMPLATE</a></h3>206 <h3><a·name="template">TEMPLATE</a></h3>
8.04 KB
html2text {}
    
Offset 1, 50 lines modifiedOffset 1, 47 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·execute="command-line"4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="centered">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<p·align=center>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
 8  ·HTP·Tags·················· · ·<centered>
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·This·text·is·centered.
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················(output="filename"·|·redirect)·[noerror]> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="includefilename"·[parameters 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················...]> 
8  ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·name> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·size[·= 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················(byte|kbyte|mbyte|gbyte)·]·[precision=n]> 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·time[·="format"·]> 
12  · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date[·="format"·]> 
13  ·[>]·_\x8F_\x8I_\x8L_\x8E··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·search="searchpath"> 
14  · ···_\x8I_\x8F····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·template="templatefilename"> 
15  · ···_\x8I_\x8N_\x8C 
16  · ···_\x8I_.M_.G···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*10  · ···_\x8B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing
18  · ···_\x8O_.P_.T···················purpose.·The·output·file's·name,·the·current·date12  · ···_\x8D_.E_.F···················purpose.·The·output·file's·name,·the·current·date
19  · ···_.O_.U_.T_.P_.U_.T················and·time,·and·the·contents·of·another·file·may·be13  ·[>]·_.F_.I_.L_.E··················and·time,·and·the·contents·of·another·file·may·be
20  · ···_\x8Q_.U_.O_.T_.E·················included.·Another·file's·time,·date,·or·size·may·be14  · ···_\x8I_.F····················included.·Another·file's·time,·date,·or·size·may·be
21  · ···_\x8S_.E_.T···················added·to·the·output·file·as·well.15  · ···_\x8I_.N_.C···················added·to·the·output·file·as·well.
22  · ···_\x8U_.N_.D_.E_.F·················As·with·all·HTML,·these·tags·do·not·have·to·be·on16  · ···_\x8I_.M_.G···················As·with·all·HTML,·these·tags·do·not·have·to·be·on
23  · ···_\x8U_.N_.S_.E_.T·················their·own·line,·so·the·following·is·perfectly17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············their·own·line,·so·the·following·is·perfectly
24  · ···_\x8U_.S_.E_.,_.·_.$················acceptable:18  · ···_\x8O_.P_.T···················acceptable:
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="bigfont">
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<font·size="+4">
 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················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont">
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·</font>
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················<_.[_.[_.r_.e_.f_.]_.]_.I_.F·[NOT]·conditional>25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<bigfont>Some·large·text</bigfont>
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·block·#1 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················[ 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················<ELSEIF·[NOT]·conditional> 
29  ·_\x8B_\x8u_\x8g_\x8s······················ · ·block·#2 
30 ····························... 
31 ····························] 
32 ····························[ 
33 ····························<ELSE> 
34 ···························· · ·block·#3 
35 ····························] 
36 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
  
37 ····························*\x8**\x8**\x8**\x8*·N\x8NA\x8AM\x8ME\x8E,\x8,·T\x8TI\x8IM\x8ME\x8E,\x8,·S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8*28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················*\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*
38 ····························To·include·information·about·another·file,·such·as29  ·_.B_.u_.g_.s······················To·include·information·about·another·file,·such·as
39 ····························an·archive·file·or·graphic·image,·specify·its·name30 ····························an·archive·file·or·graphic·image,·specify·its·name
40 ····························with·the·NAME·attribute·followed·by·the·type·of31 ····························with·the·NAME·attribute·followed·by·the·type·of
41 ····························information·to·be·displayed:32 ····························information·to·be·displayed:
42 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name="Jim">...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>33 ····························<_.[_.[_.r_.e_.f_.]_.]_.O_.P_.T·(IMGXY|NOIMGXY)>
 34 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(QUIET|VERBOSE)>
 35 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)>
 36 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)>
 37 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)>
 38 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)>
 39 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)>
  
43 ····························For·file·size·information,·the·value·BYTE,·KBYTE,40 ····························For·file·size·information,·the·value·BYTE,·KBYTE,
44 ····························etc.·dictates·how·the·information·is·displayed.·In41 ····························etc.·dictates·how·the·information·is·displayed.·In
45 ····························anything·other·than·byte·format,·the·information·is42 ····························anything·other·than·byte·format,·the·information·is
46 ····························displayed·in·floating-point·notation.·The·amount·of43 ····························displayed·in·floating-point·notation.·The·amount·of
47 ····························precision·(the·number·of·digits·to·the·right·of·the44 ····························precision·(the·number·of·digits·to·the·right·of·the
48 ····························decimal·point)·can·be·set·with·the·optional45 ····························decimal·point)·can·be·set·with·the·optional
49 ····························PRECISION·attribute.·The·default·precision·is·zero46 ····························PRECISION·attribute.·The·default·precision·is·zero
Offset 75, 31 lines modifiedOffset 72, 16 lines modified
75 ····························Additional·parameters·can·be·set·in·the·FILE72 ····························Additional·parameters·can·be·set·in·the·FILE
76 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that73 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that
77 ····························are·"passed"·to·the·included·file.·The·macros·are74 ····························are·"passed"·to·the·included·file.·The·macros·are
78 ····························available·only·to·the·include·file·(and·any·macros75 ····························available·only·to·the·include·file·(and·any·macros
79 ····························or·included·files·it·holds).·After·the·file·is76 ····························or·included·files·it·holds).·After·the·file·is
80 ····························completely·included,·the·macros·are·no·longer77 ····························completely·included,·the·macros·are·no·longer
81 ····························available.·So:78 ····························available.·So:
82 ···························· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="imghr"> 
83 ···························· · <table·border="0"·cellspacing="0" 
84 ····························cellpadding="0"> 
85 ···························· · <tr> 
86 ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ 
87 ····························td> 
88 ···························· · ·<td·width="95%" 
89 ····························background="midsep.png">&nbsp;</td> 
90 ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ 
91 ····························td> 
92 ···························· · </tr> 
93 ···························· · </table> 
94 ···························· <_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>79 ····························<_.[_.[_.r_.e_.f_.]_.]_.Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]>
  
95 ···························· paragraph 
96 ···························· <imghr> 
97 ···························· paragraph 
98 ····························Macros·named·"name"·and·"email"·are·set,·and80 ····························Macros·named·"name"·and·"email"·are·set,·and
99 ····························available·inside·the·included·file.·They·are·not81 ····························available·inside·the·included·file.·They·are·not
100 ····························available,·however,·past·the·tag·(which·is·why·the82 ····························available,·however,·past·the·tag·(which·is·why·the
101 ····························second·statement·will·fail.)83 ····························second·statement·will·fail.)
102 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*84 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*
103 ····························A·template·file·is·nothing·more·than·a·default85 ····························A·template·file·is·nothing·more·than·a·default
104 ····························include·file,·one·that·is·included·once·the·input86 ····························include·file,·one·that·is·included·once·the·input
15.2 KB
./usr/share/doc/htp/if.html
    
Offset 114, 64 lines modifiedOffset 114, 31 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br> 
122 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br> 
123 <br> 
124 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br> 
125 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
126 &nbsp;·(no·URL·replacement).<br> 
127 <br> 
128 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br> 
129 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
130 <br> 
131 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br> 
132 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
133 &nbsp;·will·not·be·added.<br> 
134 <br> 
135 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
136 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br> 
137 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br> 
138 <br> 
139 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br> 
140 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
141 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
142 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
143 </code></p>121 </code></p>
144 <h2>synopsis</h2>122 <h2>synopsis</h2>
145 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building123 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
146 blocks·for·conditional·processing.··The·basic·form·is·shown·above.124 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
147 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A125 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
148 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
149 string:127 string:
150 ··<p><code>128 ··<p><code>
151 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
152 &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>129 &nbsp;·&nbsp;·File·image.gif·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</spa[·...·truncated·by·diffoscope;·len:·65,·SHA:·7e1df7e89c65642909c06c454c5f5ac8e9176f84ee88cb57aeb4343d5958991c·...·]<br>
 130 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
153 </code></p>131 </code></p>
154 <P>132 <P>
155 and·a·defined·operator·is·a·test·of·a·macro's·existance:133 and·a·defined·operator·is·a·test·of·a·macro's·existance:
156 <P>134 <P>
157 ··<p><code>135 ··<p><code>
 136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
 137 &nbsp;·&nbsp;·This·tag·will·fail:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">name</span>&gt;</span><br>
158 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>&gt;</span><br> 
159 &nbsp;·&nbsp;<span·class="htp-tag">&lt;table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>&gt;</span><br> 
160 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br> 
161 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br> 
162 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br> 
163 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br> 
164 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br> 
165 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br> 
166 &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> 
167 <br> 
168 &nbsp;paragraph<br> 
169 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br> 
170 &nbsp;paragraph<br> 
171 </code></p>138 </code></p>
172 <P>139 <P>
173 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the140 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
174 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that141 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
175 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the142 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
176 ELSE·block·is·taken·if·it·is·present.··A·conditional·block143 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
177 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.144 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
7.06 KB
html2text {}
    
Offset 1, 84 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\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[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················"·path="/var/www/my.domain/"> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················var/www/other.domain/"> 
8  ·HTP·Tags 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·the·local·filename·"logo.gif"·will·be·used·to 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············determine·image·dimensions 
12  · ···_\x8D_\x8E_\x8F··················· ·(no·URL·replacement). 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  ·[>]·_\x8I_\x8F···················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
15  · ···_\x8I_\x8N_\x8C···················my.domain.org/logo.gif"> 
16  · ···_\x8I_\x8M_\x8G··················· ·the·local·filename·"/var/www/my.domain/logo.gif" 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············will·be·used. 
18  · ···_\x8O_\x8P_\x8T 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················other.domain.org/logo.gif"> 
21  · ···_\x8S_\x8E_\x8T··················· ·the·local·file·cannot·be·found·(no·prefix·match), 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················so·the·image·dimensions 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·will·not·be·added. 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·Order·is·important;·last·IMAGEURL·tag·takes 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················precedence: 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ 
29  ·_\x8B_\x8u_\x8g_\x8s······················test/"> 
  
30 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
31 ····························src="/test/image.gif"> are·mapped·to 
32 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ 
33 ····························image.gif,·resp. 
34 ···························· ·If·the·order·of·the·imageurl·lines·would·be 
35 ····························swapped,·the·second 
36 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ 
37 ····························image.gif. 
38 ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* 
39 ····························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
40 ····························blocks·for·conditional·processing.·The·basic·form6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················blocks·for·conditional·processing.·The·basic·form
41 ····························is·shown·above.7  ·_.U_.s_.a_.g_.e·····················is·shown·above.
42 ····························"Conditional"·is·either·a·"compare"·or·"is·defined"8  ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined"
43 ····························operation.·A·compare·operator·is·a·test·of·the9  · ···_.A_.L_.T_.T_.E_.X_.T···············operation.·A·compare·operator·is·a·test·of·the
44 ····························value·of·a·macro·against·a·literal·string:10  · ···_.B_.L_.O_.C_.K·················value·of·a·macro·against·a·literal·string:
45 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim 
46 ····························Nelson"·email="jnelson@crl.com"> 
47 ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>11  · ···_.B_.L_.O_.C_.K_.D_.E_.F·············· · ·File·image.gif·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif"
 12  · ···_\x8D_\x8E_\x8F···················SIZE=KBYTE> kilobytes
 13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"
 14  ·[>]·_\x8I_\x8F····················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE>
48 ····························and·a·defined·operator·is·a·test·of·a·macro's15  · ···_.I_.N_.C···················and·a·defined·operator·is·a·test·of·a·macro's
49 ····························existance:16  · ···_.I_.M_.G···················existance:
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim
 18  · ···_\x8O_\x8P_\x8T···················Nelson"·email="jnelson@crl.com">
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name>
50 ···························· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="imghr"> 
51 ···························· · <table·border="0"·cellspacing="0" 
52 ····························cellpadding="0"> 
53 ···························· · <tr> 
54 ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ 
55 ····························td> 
56 ···························· · ·<td·width="95%" 
57 ····························background="midsep.png">&nbsp;</td> 
58 ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ 
59 ····························td> 
60 ···························· · </tr> 
61 ···························· · </table> 
62 ···························· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
  
63 ···························· paragraph 
64 ···························· <imghr> 
65 ···························· paragraph 
66 ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the20  · ···_.Q_.U_.O_.T_.E·················If·the·NOT·tag·is·present·in·the·IF·markup,·the
67 ····························evaluation·of·the·conditional·is·reversed.·The21  · ···_.S_.E_.T···················evaluation·of·the·conditional·is·reversed.·The
68 ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true22  · ···_.U_.N_.D_.E_.F·················first·IF·or·ELSEIF·condition·that·evaluates·to·true
69 ····························is·chosen.·If·none·of·the·conditions·is·true·the23  · ···_.U_.N_.S_.E_.T·················is·chosen.·If·none·of·the·conditions·is·true·the
70 ····························ELSE·block·is·taken·if·it·is·present.·A·conditional24  · ···_.U_.S_.E_.,_.·_.$················ELSE·block·is·taken·if·it·is·present.·A·conditional
71 ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can25  · ···_.W_.H_.I_.L_.E·················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can
72 ····························be·nested. 
  
  
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················be·nested.
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
10.7 KB
./usr/share/doc/htp/imageurl.html
    
Offset 114, 16 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;·File·image.gif·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br> 
122 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIM[·...·truncated·by·diffoscope;·len:·257,·SHA:·8629d68517a80b5599bf245f2a2c235935b2798471729945384089e697b75027·...·]</span>&gt;</span><br>121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>
 123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 124 <br>
 125 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>&gt;</span><br>
 126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br>
 127 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 128 <br>
 129 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
123 </code></p>130 </code></p>
124 <h2>synopsis</h2>131 <h2>synopsis</h2>
125 <P>132 <P>
126 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local133 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local
127 file·system.··declares·an·URL·replacement·that·is·used·for134 file·system.··declares·an·URL·replacement·that·is·used·for
128 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
129 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 137, 15 lines modifiedOffset 144, 22 lines modified
137 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
138 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.
139 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and146 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
140 looked·up·in·the·current·directory.</P>147 looked·up·in·the·current·directory.</P>
141 <P>148 <P>
142 For·example:</P>149 For·example:</P>
143 ··<p><code>150 ··<p><code>
144 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·hre[·...·truncated·by·diffoscope;·len:·89,·SHA:·0d74d7323b637f4f6c0a6b357b2d292517463b143d7384d65d9199c97616d3df·...·]>&gt;</span><br>151 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(IMGXY|NOIMGXY)</span>&gt;</span><br>
 152 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(QUIET|VERBOSE)</span>&gt;</span><br>
 153 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(DEPEND|NODEPEND)</span>&gt;</span><br>
 154 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>&gt;</span><br>
 155 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>&gt;</span><br>
 156 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>&gt;</span><br>
 157 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>&gt;</span><br>
 158 <br>
145 </code></p>159 </code></p>
146 <P>160 <P>
147 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as161 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
148 an·undefine,·and·is·removed.</P>162 an·undefine,·and·is·removed.</P>
149 <P>163 <P>
150 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout164 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
151 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an165 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
5.92 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 48 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·File·image.gif·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif"4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="bigfont">
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················SIZE=KBYTE> kilobytes5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<font·size="+4">
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·Last·modified·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif"6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················TIME>,·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif"·DATE>7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
 8  ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont">
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·</font>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F
 12  · ···_\x8D_\x8E_\x8F··················· ·<bigfont>Some·large·text</bigfont>
8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*13  · ···_.F_.I_.L_.E··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the14  · ···_\x8I_.F····················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the
10  · ···_\x8B_.L_.O_.C_.K·················local·file·system.·declares·an·URL·replacement·that15  · ···_\x8I_.N_.C···················local·file·system.·declares·an·URL·replacement·that
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This16  · ···_\x8I_.M_.G···················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This
12  · ···_.D_.E_.F···················definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option
13  · ···_\x8F_.I_.L_.E··················is·enabled.·Beacause·htp·can't·lookup·files·in·the18  · ···_\x8O_.P_.T···················is·enabled.·Beacause·htp·can't·lookup·files·in·the
14  · ···_\x8I_.F····················world·wide·web·you·have·to·map·absolute·image·URLs19  · ···_\x8O_.U_.T_.P_.U_.T················world·wide·web·you·have·to·map·absolute·image·URLs
15  · ···_\x8I_.N_.C···················to·a·directory·in·the·local·file·system.20  · ···_\x8Q_.U_.O_.T_.E·················to·a·directory·in·the·local·file·system.
16  · ···_\x8I_.M_.G···················When·an·IMG·tag·is·encountered·where·htp·has·to21  · ···_\x8S_.E_.T···················When·an·IMG·tag·is·encountered·where·htp·has·to
17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············insert·width·and·height·the·defined·URL22  · ···_.U_.N_.D_.E_.F·················insert·width·and·height·the·defined·URL
18  · ···_\x8O_.P_.T···················replacements·will·be·taken·into·account·(later23  · ···_\x8U_.N_.S_.E_.T·················replacements·will·be·taken·into·account·(later
19  · ···_\x8O_.U_.T_.P_.U_.T················definitions·take·precedence·to·earlier):·For·each24  · ···_\x8U_.S_.E_.,_.·_.$················definitions·take·precedence·to·earlier):·For·each
20  · ···_\x8Q_.U_.O_.T_\x8E·················defined·imageurl·it·checks·(case-insensitive)·if·it25  · ···_\x8W_.H_.I_.L_\x8E·················defined·imageurl·it·checks·(case-insensitive)·if·it
21  · ···_\x8S_.E_.T···················is·a·prefix·of·the·image's·SRC·attribute.·If·it26  · ···_\x8<_.!_.-_.-_.-·················is·a·prefix·of·the·image's·SRC·attribute.·If·it
22  · ···_.U_.N_.D_.E_.F·················matches·this·prefix·is·replaced·by·the·given·PATH.27  ·_.H_.i_.s_.t_.o_.r_.y···················matches·this·prefix·is·replaced·by·the·given·PATH.
23  · ···_.U_.N_.S_.E_.T·················If·no·IMAGEURL·matches·the·SRC·is·considered·as28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················If·no·IMAGEURL·matches·the·SRC·is·considered·as
24  · ···_.U_.S_.E_.,_.·_.$················relative·link·and·looked·up·in·the·current29  ·_.B_.u_.g_.s······················relative·link·and·looked·up·in·the·current
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················directory. 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················For·example: 
27  ·_.H_.i_.s_.t_.o_.r_.y··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name="Jim">...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>30 ····························directory.
 31 ····························For·example:
 32 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(IMGXY|NOIMGXY)>
 33 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(QUIET|VERBOSE)>
 34 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)>
 35 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)>
 36 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)>
 37 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)>
 38 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)>
  
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH39 ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH
29  ·_.B_.u_.g_.s······················attribute,·it·is·treated·as·an·undefine,·and·is40 ····························attribute,·it·is·treated·as·an·undefine,·and·is
30 ····························removed.41 ····························removed.
31 ····························Since·you·usually·need·the·url·mapping·for·a·number42 ····························Since·you·usually·need·the·url·mapping·for·a·number
32 ····························of·images·used·throughout·a·set·of·documents,43 ····························of·images·used·throughout·a·set·of·documents,
33 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e44 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
34 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.45 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.
35 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also46 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also
36 ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to47 ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to
5.93 KB
./usr/share/doc/htp/img.html
    
Offset 114, 15 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·hre[·...·truncated·by·diffoscope;·len:·89,·SHA:·0d74d7323b637f4f6c0a6b357b2d292517463b143d7384d65d9199c97616d3df·...·]>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-[·...·truncated·by·diffoscope;·len:·226,·SHA:·74f7db62c0fba2f5387a1162b1c4210aad9ac85211330b473faaa5f0ba25aaba·...·]>&gt;</span><br>
 122 <br>
122 </code></p>123 </code></p>
123 <h2>synopsis</h2>124 <h2>synopsis</h2>
124 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified125 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified
125 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage126 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage
126 of·not·having·to·determine·each·image's·size·manually,·which·is·especially127 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
127 useful·if·the·image·may·change·frequently.·</P>128 useful·if·the·image·may·change·frequently.·</P>
128 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup129 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup
4.47 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 38 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.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_.]_.]_.I_.N_.C·macroname1="increment1"
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
5  ·_\x8L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the8  ·HTP·Tags··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the
7  ·_.U_.s_.a_.g_.e·····················specified·image's·width·and·height·to·the·tag9  · ···_.A_.L_.T_.T_.E_.X_.T···············specified·image's·width·and·height·to·the·tag
8  ·HTP·Tags··················automatically.·This·has·the·advantage·of·not·having10  · ···_.B_.L_.O_.C_.K·················automatically.·This·has·the·advantage·of·not·having
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············to·determine·each·image's·size·manually,·which·is11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············to·determine·each·image's·size·manually,·which·is
10  · ···_\x8B_.L_.O_.C_.K·················especially·useful·if·the·image·may·change12  · ···_\x8D_.E_.F···················especially·useful·if·the·image·may·change
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············frequently.13  · ···_\x8F_.I_.L_.E··················frequently.
12  · ···_\x8D_.E_.F···················htp·adds·this·information·with·the·WIDTH·and·HEIGHT14  · ···_\x8I_.F····················htp·adds·this·information·with·the·WIDTH·and·HEIGHT
13  · ···_\x8F_.I_.L_.E··················markup·attributes.·If·htp·detects·these·attributes15  · ···_\x8I_.N_.C···················markup·attributes.·If·htp·detects·these·attributes
14  · ···_.I_.F····················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify16  ·[>]·_.I_.M_.G···················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify
15  · ···_\x8I_\x8N_.C···················the·values.·If·htp·cannot·find·the·image·file,·it17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············the·values.·If·htp·cannot·find·the·image·file,·it
16  ·[>]·_.I_.M_.G···················will·issue·a·warning·but·not·halt·processing.18  · ···_.O_.P_.T···················will·issue·a·warning·but·not·halt·processing.
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············At·this·time,·GIF·(Graphic·Interchange·Format),·PNG19  · ···_\x8O_.U_.T_.P_.U_.T················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG
18  · ···_\x8O_.P_.T···················(Portable·Network·Graphics),·and·JFIF·(JPEG·File20  · ···_\x8Q_.U_.O_.T_.E·················(Portable·Network·Graphics),·and·JFIF·(JPEG·File
19  · ···_\x8O_.U_.T_.P_.U_.T················Interchange·Format)·are·supported.21  · ···_\x8S_.E_.T···················Interchange·Format)·are·supported.
20  · ···_\x8Q_.U_.O_.T_.E·················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or22  · ···_\x8U_.N_.D_.E_.F·················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or
21  · ···_\x8S_.E_.T···················not·htp·actually·adds·this·information·as·it23  · ···_\x8U_.N_.S_.E_.T·················not·htp·actually·adds·this·information·as·it
22  · ···_\x8U_\x8N_.D_.E_.F·················executes.24  · ···_\x8U_\x8S_.E_.,_.·_.$················executes.
23  · ···_\x8U_.N_.S_.E_.T·················Since·htp·is·able·to·lookup·files·only·in·the·local25  · ···_\x8W_.H_.I_.L_.E·················Since·htp·is·able·to·lookup·files·only·in·the·local
24  · ···_\x8U_.S_.E_.,_.·_.$················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map26  · ···_\x8<_.!_.-_.-_.-·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map
25  · ···_.W_.H_.I_.L_.E·················URLs·to·local·files.27  ·_.H_.i_.s_.t_.o_.r_.y···················URLs·to·local·files.
26  · ···_.<_.!_.-_.-_.-·················htp·can·also·add·default·ALT·text·to·IMG·tags·using28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················htp·can·also·add·default·ALT·text·to·IMG·tags·using
27  ·_\x8H_.i_.s_.t_.o_.r_.y···················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T.29  ·_\x8B_.u_.g_.s······················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T.
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_\x8B_\x8u_\x8g_\x8s 
  
  
  
  
  
  
  
  
9.73 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 38 lines modifiedOffset 114, 32 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="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·This·tag·will·fail:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">name</span>&gt;</span><br>121 &nbsp;·&nbsp;·File·image.gif·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</spa[·...·truncated·by·diffoscope;·len:·65,·SHA:·7e1df7e89c65642909c06c454c5f5ac8e9176f84ee88cb57aeb4343d5958991c·...·]<br>
 122 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
123 </code></p>123 </code></p>
124 <h2>synopsis</h2>124 <h2>synopsis</h2>
125 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a125 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
126 variable·or·for·variable·addition.··The·basic·form·is·shown·above.126 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
127 <P>127 <P>
128 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a128 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
129 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The129 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
130 macroname·must·be·the·name·of·a·defined·macro·that·contains·an130 macroname·must·be·the·name·of·a·defined·macro·that·contains·an
131 integer.··If·the·increment·is·ommitted·it·defaults·to·1.131 integer.··If·the·increment·is·ommitted·it·defaults·to·1.
132 The·effect·of·this·operation·is·that·the·macro·is·redefined132 The·effect·of·this·operation·is·that·the·macro·is·redefined
133 to·contain·the·sum·of·its·previous·value·and·its·increment.133 to·contain·the·sum·of·its·previous·value·and·its·increment.
134 <P>134 <P>
135 To·increment·or·decrement·a·variable·you·can·use·this·form:135 To·increment·or·decrement·a·variable·you·can·use·this·form:
136 ··<p><code>136 ··<p><code>
 137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
 138 &nbsp;·&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>
137 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(IMGXY|NOIMGXY)</span>&gt;</span><br> 
138 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(QUIET|VERBOSE)</span>&gt;</span><br> 
139 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(DEPEND|NODEPEND)</span>&gt;</span><br> 
140 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>&gt;</span><br> 
141 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>&gt;</span><br> 
142 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>&gt;</span><br> 
143 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>&gt;</span><br> 
144 <br> 
145 </code></p>139 </code></p>
146 <p>140 <p>
147 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It141 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It
148 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer142 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer
149 values·are·limited·to·the·range·-2^31..2^31.143 values·are·limited·to·the·range·-2^31..2^31.
150 <P>144 <P>
151 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.145 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.
5.13 KB
html2text {}
    
Offset 1, 40 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·INCLUDE="include.hti"·name="Jim4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·File·image.gif·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif"
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················Nelson"·email="jnelson@crl.com">5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················SIZE=KBYTE> kilobytes
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·Last·modified·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif"
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE>
7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a9  · ···_.A_.L_.T_.T_.E_.X_.T···············The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············variable·or·for·variable·addition.·The·basic·form10  · ···_\x8B_.L_.O_.C_.K·················variable·or·for·variable·addition.·The·basic·form
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················is·shown·above.11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············is·shown·above.
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············The·"increment"·is·anything·that·evaluates·to·a12  · ···_\x8D_.E_.F···················The·"increment"·is·anything·that·evaluates·to·a
12  · ···_\x8D_.E_.F···················integer.·It·can·be·a·literal·string·or·a·macro13  · ···_\x8F_.I_.L_.E··················integer.·It·can·be·a·literal·string·or·a·macro
13  · ···_\x8F_.I_.L_.E··················preceeded·by·the·'$'-operator.·The·macroname·must14  · ···_\x8I_.F····················preceeded·by·the·'$'-operator.·The·macroname·must
14  · ···_.I_.F····················be·the·name·of·a·defined·macro·that·contains·an15  ·[>]·_.I_.N_.C···················be·the·name·of·a·defined·macro·that·contains·an
15  ·[>]·_.I_.N_.C···················integer.·If·the·increment·is·ommitted·it·defaults16  · ···_.I_.M_.G···················integer.·If·the·increment·is·ommitted·it·defaults
16  · ···_\x8I_\x8M_\x8G···················to·1.·The·effect·of·this·operation·is·that·the17  · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············to·1.·The·effect·of·this·operation·is·that·the
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············macro·is·redefined·to·contain·the·sum·of·its18  · ···_\x8O_.P_.T···················macro·is·redefined·to·contain·the·sum·of·its
18  · ···_\x8O_\x8P_.T···················previous·value·and·its·increment.19  · ···_\x8O_\x8U_.T_.P_.U_.T················previous·value·and·its·increment.
19  · ···_\x8O_.U_.T_.P_.U_.T················To·increment·or·decrement·a·variable·you·can·use20  · ···_\x8Q_.U_.O_.T_.E·················To·increment·or·decrement·a·variable·you·can·use
20  · ···_\x8Q_.U_.O_.T_.E·················this·form:21  · ···_\x8S_.E_.T···················this·form:
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················Nelson"·email="jnelson@crl.com">
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name>
21  · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(IMGXY|NOIMGXY)> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(QUIET|VERBOSE)> 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)> 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_.B_.u_.g_.s······················Note·that·INC·doesn't·check·if·the·strings·really25  · ···_.W_.H_.I_.L_.E·················Note·that·INC·doesn't·check·if·the·strings·really
30 ····························denote·integers.·It·may·give·weired·results·when26  · ···_.<_.!_.-_.-_.-·················denote·integers.·It·may·give·weired·results·when
31 ····························used·on·arbitrary·strings.·The·integer·values·are27  ·_.H_.i_.s_.t_.o_.r_.y···················used·on·arbitrary·strings.·The·integer·values·are
32 ····························limited·to·the·range·-2^31..2^31.28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················limited·to·the·range·-2^31..2^31.
33 ····························Note·further·that·htp·wasn't·designed·to·do29  ·_.B_.u_.g_.s······················Note·further·that·htp·wasn't·designed·to·do
34 ····························extensive·calculations.·The·INC·tag·is·useful·in30 ····························extensive·calculations.·The·INC·tag·is·useful·in
35 ····························conjunction·with·WHILE·to·iterate·over·the·defined31 ····························conjunction·with·WHILE·to·iterate·over·the·defined
36 ····························blocks.32 ····························blocks.
  
  
  
  
13.6 KB
./usr/share/doc/htp/metatag.html
    
Offset 109, 38 lines modifiedOffset 109, 42 lines modified
109 file</a>.··</p>109 file</a>.··</p>
110 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing110 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing
111 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·htp111 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
112 encounters·a·blockdef·tag·it·will·automatically·search·for·the112 encounters·a·blockdef·tag·it·will·automatically·search·for·the
113 matching·closing·tag·and·put·everything·between·these·tags·in·a·block113 matching·closing·tag·and·put·everything·between·these·tags·in·a·block
114 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>114 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>
115 ··<p><code>115 ··<p><code>
116 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"macroval[·...·truncated·by·diffoscope;·len:·82,·SHA:·1b0de2f0af3ff6dcb00160502803f9fbb9631406e3429d962274c013d3930638·...·]</span>&gt;</span><br>116 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br>
 117 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
117 <font·size="-2">&nbsp;2.·</font><br>118 <font·size="-2">&nbsp;3.·</font><br>
118 </code></p>119 </code></p>
119 <h2>Using·parameters</h2>120 <h2>Using·parameters</h2>
120 <p>·More·sophisticated·tags·accept·parameters.··The121 <p>·More·sophisticated·tags·accept·parameters.··The
121 <code>option</code>·parameter·lets·multiple·metatag·parameters·be122 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
122 named·and·expanded·inside·the·<code>def</code>·or123 named·and·expanded·inside·the·<code>def</code>·or
123 <code>blockdef</code>·block:·</p>124 <code>blockdef</code>·block:·</p>
124 ··<p><code>125 ··<p><code>
 126 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
125 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br> 
126 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
127 <font·size="-2">&nbsp;3.·</font><br> 
128 </code></p>127 </code></p>
129 <h2>Saving·blocks·for·later</h2>128 <h2>Saving·blocks·for·later</h2>
130 <p>When·you·are·using·templates,·the·html·should·only·be·written·by129 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
131 the·template·file.··The·normal·htp·files·should·just·define·macros130 the·template·file.··The·normal·htp·files·should·just·define·macros
132 that·are·used·later·in·the·template.··So·you·may·want·to·write·block131 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
133 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this132 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
134 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to133 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
135 do·this:</p>134 do·this:</p>
136 ··<p><code>135 ··<p><code>
 136 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 137 <font·size="-2">&nbsp;2.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br>
 138 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
 139 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br>
 140 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 141 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
137 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br>142 <font·size="-2">&nbsp;7.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
 143 <font·size="-2">&nbsp;8.·</font>ls:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
138 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
139 <font·size="-2">&nbsp;3.·</font><br> 
140 </code></p>144 </code></p>
141 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a145 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
142 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is146 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
143 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is147 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
144 build·from·this·counter.··So·the·first·section·is·stored·in·block148 build·from·this·counter.··So·the·first·section·is·stored·in·block
145 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>·flag149 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
146 in·line·4·tells·htp·that·these·macros·should·be·defined·globally150 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
Offset 159, 18 lines modifiedOffset 163, 18 lines modified
159 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be163 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be
160 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the164 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the
161 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you165 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
162 use·expand·in·a·block·around·it.</p>166 use·expand·in·a·block·around·it.</p>
163 <p>To·close·this·example·we·show·how·to·expand·the167 <p>To·close·this·example·we·show·how·to·expand·the
164 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>168 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>
165 ··<p><code>169 ··<p><code>
166 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>170 <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>
167 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·block<br>171 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
 172 <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>
168 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>173 <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>
169 <font·size="-2">&nbsp;4.·</font><br> 
170 </code></p>174 </code></p>
171 <p>175 <p>
172 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·whether176 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
173 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is177 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is
174 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards178 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards
175 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This179 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This
176 repeats·until·sect-${sect-ctr}·is·not·defined.180 repeats·until·sect-${sect-ctr}·is·not·defined.
5.45 KB
html2text {}
    
Offset 32, 36 lines modifiedOffset 32, 41 lines modified
32 ····························Often·you·want·to·define·tags·that·have·an·opening32 ····························Often·you·want·to·define·tags·that·have·an·opening
33 ····························and·a·closing·variant.·For·this·purpose·you·should33 ····························and·a·closing·variant.·For·this·purpose·you·should
34 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a34 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a
35 ····························blockdef·tag·it·will·automatically·search·for·the35 ····························blockdef·tag·it·will·automatically·search·for·the
36 ····························matching·closing·tag·and·put·everything·between36 ····························matching·closing·tag·and·put·everything·between
37 ····························these·tags·in·a·block·macro·named·block.·Here·is·an37 ····························these·tags·in·a·block·macro·named·block.·Here·is·an
38 ····························example·for·this.38 ····························example·for·this.
39 ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_.E_.T·macroname1="macrovalue1"39 ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.n_.s_.e_.t·macroname>
40 ····························[macroname2="macrovalue2"·...]·[GLOBAL]>40 ···························· 2.·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname1·macroname2·...·>
41 ···························· 2.41 ···························· 3.
42 ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8*42 ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8*
43 ····························More·sophisticated·tags·accept·parameters.·The43 ····························More·sophisticated·tags·accept·parameters.·The
44 ····························option·parameter·lets·multiple·metatag·parameters44 ····························option·parameter·lets·multiple·metatag·parameters
45 ····························be·named·and·expanded·inside·the·def·or·blockdef45 ····························be·named·and·expanded·inside·the·def·or·blockdef
46 ····························block:46 ····························block:
47 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.U_.N_.D_.E_.F·tagname>47 ···························· 1.· · ·<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·emailaddr="jnelson@crl.com">
48 ···························· 2.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·> 
49 ···························· 3. 
50 ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8*48 ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8*
51 ····························When·you·are·using·templates,·the·html·should·only49 ····························When·you·are·using·templates,·the·html·should·only
52 ····························be·written·by·the·template·file.·The·normal·htp50 ····························be·written·by·the·template·file.·The·normal·htp
53 ····························files·should·just·define·macros·that·are·used·later51 ····························files·should·just·define·macros·that·are·used·later
54 ····························in·the·template.·So·you·may·want·to·write·block52 ····························in·the·template.·So·you·may·want·to·write·block
55 ····························tags·that·just·save·the·block·in·a·macro·for·later53 ····························tags·that·just·save·the·block·in·a·macro·for·later
56 ····························use.·Although·this·is·possible·with·htp·it·is·quite54 ····························use.·Although·this·is·possible·with·htp·it·is·quite
57 ····························tricky,·so·here·we·present·the·way·to·do·this:55 ····························tricky,·so·here·we·present·the·way·to·do·this:
58 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname>56 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0">
59 ···························· 2.·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname1·macroname2·...·>57 ···························· 2.· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section">
 58 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
 59 ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"
60 ···························· 3.60 ····························expand·global>
 61 ···························· 5.· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
 62 ···························· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 63 ···························· 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
 64 ···························· 8.·ls:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff
 65 ····························email="jnelson@crl.com">
61 ····························This·defines·a·block·macro·named·section.·This66 ····························This·defines·a·block·macro·named·section.·This
62 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the67 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the
63 ····························sections.·It·is·increased·for·every·section·(line68 ····························sections.·It·is·increased·for·every·section·(line
64 ····························3)·and·then·the·block·macro·name·is·build·from·this69 ····························3)·and·then·the·block·macro·name·is·build·from·this
65 ····························counter.·So·the·first·section·is·stored·in·block70 ····························counter.·So·the·first·section·is·stored·in·block
66 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[71 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[
67 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these72 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these
Offset 84, 18 lines modifiedOffset 89, 18 lines modified
84 ····························block·to·be·expanded·twice.·If·you·omit·it,·it89 ····························block·to·be·expanded·twice.·If·you·omit·it,·it
85 ····························would·be·expanded·when·defining·the·sect-1·macro90 ····························would·be·expanded·when·defining·the·sect-1·macro
86 ····························and·when·using·it·later·in·the·template.·Generally91 ····························and·when·using·it·later·in·the·template.·Generally
87 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use92 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use
88 ····························expand·in·a·block·around·it.93 ····························expand·in·a·block·around·it.
89 ····························To·close·this·example·we·show·how·to·expand·the94 ····························To·close·this·example·we·show·how·to·expand·the
90 ····························sect-${sect-ctr}·blocks·in·the·template:95 ····························sect-${sect-ctr}·blocks·in·the·template:
91 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·[NOT]·conditional>96 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>
92 ···························· 2.· · ·block97 ···························· 2.· · ·...
 98 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
93 ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>99 ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
94 ···························· 4. 
95 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the100 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the
96 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined101 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined
97 ····························the·body·is·evaluated,·which·expands·the·macro·and102 ····························the·body·is·evaluated,·which·expands·the·macro·and
98 ····························increases·sect-ctr.·Afterwards·the·while·condition103 ····························increases·sect-ctr.·Afterwards·the·while·condition
99 ····························is·checked·again·to·check·for·sect-2·macro.·This104 ····························is·checked·again·to·check·for·sect-2·macro.·This
100 ····························repeats·until·sect-${sect-ctr}·is·not·defined.105 ····························repeats·until·sect-${sect-ctr}·is·not·defined.
101 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*106 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*
5.06 KB
./usr/share/doc/htp/opt.html
    
Offset 114, 21 lines modifiedOffset 114, 18 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">APPEND</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>&gt;</span><br>
 122 text·block<br>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br> 
123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br> 
125 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>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>
126 <br>124 <br>
127 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br> 
128 </code></p>125 </code></p>
129 <h2>synopsis</h2>126 <h2>synopsis</h2>
130 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing127 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing
131 options·inside·the·actual·document·being·processed.··The·options·are128 options·inside·the·actual·document·being·processed.··The·options·are
132 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not129 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not
133 preceded·by·a·&lsquo;-&rsquo;·character.130 preceded·by·a·&lsquo;-&rsquo;·character.
134 <P>131 <P>
3.06 KB
html2text {}
    
Offset 1, 25 lines modifiedOffset 1, 25 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="bolditalic">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.O_.U_.T_.P_.U_.T·FILE="outputfilename"·[APPEND]
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<b><i>5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[EXPAND]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················text·block
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·</i></b> 
8  ·HTP·Tags·················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k_.d_.e_.f>7  ·_.U_.s_.a_.g_.e·····················<_.[_.[_.r_.e_.f_.]_.]_./_.O_.U_.T_.P_.U_.T>
 8  ·HTP·Tags
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·This·is·<bolditalic>bold·and·italic</bolditalic> 
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
12  · ···_\x8D_.E_.F···················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify10  · ···_\x8B_.L_.O_.C_.K·················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify
13  · ···_\x8F_.I_.L_.E··················processing·options·inside·the·actual·document·being11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············processing·options·inside·the·actual·document·being
14  · ···_\x8I_.F····················processed.·The·options·are·used·exactly·as·they12  · ···_\x8D_.E_.F···················processed.·The·options·are·used·exactly·as·they
15  · ···_\x8I_.N_.C···················would·be·on·the·command-line,·although·they·are·not13  · ···_\x8F_.I_.L_.E··················would·be·on·the·command-line,·although·they·are·not
16  · ···_\x8I_\x8M_.G···················preceded·by·a·‘-’·character.14  · ···_\x8I_\x8F····················preceded·by·a·‘-’·character.
17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g15  · ···_\x8I_\x8N_.C···················Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g
18  ·[>]·_.O_.P_.T···················_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p.16  · ···_.I_.M_.G···················_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p.
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
 18  ·[>]·_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
Offset 30, 16 lines modifiedOffset 30, 14 lines modified
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
5.43 KB
./usr/share/doc/htp/output.html
    
Offset 114, 19 lines modifiedOffset 114, 18 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="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>121 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value"[·...·truncated·by·diffoscope;·len:·75,·SHA:·36f372e0e111e09819f25ae23326f9f6784d35463c078f8698c1207663c05e65·...·]>&gt;</span><br>
 122 <br>
 123 oname2="macrovalue2"·...]·[GLOBAL]><br>
124 <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>125 </code></p>
127 <h2>synopsis</h2>126 <h2>synopsis</h2>
128 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary127 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary
129 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the128 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the
130 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>129 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
131 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you130 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
132 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text131 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text
3.38 KB
html2text {}
    
Offset 1, 28 lines modifiedOffset 1, 28 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················oname2="macrovalue2"·...]·[GLOBAL]>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
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*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary
12  · ···_\x8D_.E_.F···················files·besides·the·main·HTML·file.·The·text·between10  · ···_\x8B_.L_.O_.C_.K·················files·besides·the·main·HTML·file.·The·text·between
13  · ···_\x8F_.I_.L_.E··················this·tag·and·the·corresponding·</OUTPUT>·tag·is11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············this·tag·and·the·corresponding·</OUTPUT>·tag·is
14  · ···_\x8I_.F····················written·to·output·file.12  · ···_\x8D_.E_.F···················written·to·output·file.
15  · ···_\x8I_.N_.C···················Normally·the·outputfile·is·cleared·before·writing13  · ···_\x8F_.I_.L_.E··················Normally·the·outputfile·is·cleared·before·writing
16  · ···_\x8I_\x8M_.G···················to·it,·but·you·can·use·the·APPEND·attribute·to14  · ···_\x8I_\x8F····················to·it,·but·you·can·use·the·APPEND·attribute·to
17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············extend·an·existing·file.·The·text·written·to·the15  · ···_\x8I_\x8N_.C···················extend·an·existing·file.·The·text·written·to·the
18  · ···_\x8O_.P_.T···················file·is·normally·not·expanded,·i.e.·all·tags·inside16  · ···_\x8I_.M_.G···················file·is·normally·not·expanded,·i.e.·all·tags·inside
19  ·[>]·_.O_.U_.T_.P_.U_.T················this·block·are·not·executed·but·written·unmodified17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············this·block·are·not·executed·but·written·unmodified
20  · ···_\x8Q_.U_.O_.T_.E·················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D18  · ···_\x8O_.P_.T···················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D
21  · ···_.S_.E_.T···················attribute·to·override·this·behaviour.19  ·[>]·_.O_.U_.T_.P_.U_.T················attribute·to·override·this·behaviour.
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
 21  · ···_\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
Offset 30, 16 lines modifiedOffset 30, 14 lines modified
  
  
  
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
9.26 KB
./usr/share/doc/htp/set.html
    
Offset 114, 24 lines modifiedOffset 114, 31 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="ebnf">[</span><span·class="htp[·...·truncated·by·diffoscope;·len:·221,·SHA:·1fead26e17c74f42cdbb1e4e04a98308d5e539231d956b8e4c2e7c99811520ee·...·]</span>&gt;</span><br>121 &nbsp;·<span·class="htp-tag">&lt;<a·href="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[·...·truncated·by·diffoscope;·len:·30,·SHA:·bf88f72162ceca1a5226a940941172852979163ed14c33dbc0e7b7890785fb95·...·]</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>
122 <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>
123 </code></p>126 </code></p>
124 <h2>synopsis</h2>127 <h2>synopsis</h2>
125 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded128 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
126 anywhere·in·the·HTML·document.··To·create·a·macro:129 anywhere·in·the·HTML·document.··To·create·a·macro:
127 ··<p><code>130 ··<p><code>
 131 <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>
 132 &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>
 133 &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>
 134 &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>
128 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br>135 &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>
129 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
130 <br>136 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>
 137 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>
131 </code></p>138 </code></p>
132 <P>139 <P>
133 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">140 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·regular141 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·the142 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
136 <A·HREF="use.html">'$'</A>·operator.143 <A·HREF="use.html">'$'</A>·operator.
137 <P>144 <P>
5.13 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 43 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·macroname1="macrovalue1"4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="sharedimg"·option="name·alt">
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="macrovalue2"·...]·[GLOBAL]> 
6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l5  ·_\x8L_.i_.c_.e_.n_.s_.e··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·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">
7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*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*
8  ·HTP·Tags··················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············expanded·anywhere·in·the·HTML·document.·To·create·a12  · ···_\x8D_.E_.F···················expanded·anywhere·in·the·HTML·document.·To·create·a
10  · ···_\x8B_.L_.O_.C_.K·················macro:13  · ···_\x8F_.I_.L_.E··················macro:
 14  · ···_\x8I_\x8F····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti">
 15  · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1">
 16  · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}>
 18  · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············<_.[_.[_.r_.e_.f_.]_.]_.U_.N_.D_.E_.F·tagname>19  · ···_\x8O_.U_.T_.P_.U_.T················ ·<_.[_.[_.r_.e_.f_.]_.]_./_.w_.h_.i_.l_.e>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti">
12  · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·> 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_.I_.F····················The·macro·"emailaddr"·can·then·be·expanded·later.21  ·[>]·_.S_.E_.T···················The·macro·"emailaddr"·can·then·be·expanded·later.
15  · ···_\x8I_.N_.C···················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a22  · ···_\x8U_.N_.D_.E_.F·················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·macro23  · ···_\x8U_.N_.S_.E_.T·················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·the24  · ···_\x8U_.S_.E_.,_.·_.$················needs·to·be·expanded·inside·a·markup·tag,·use·the
18  · ···_\x8O_.P_.T···················_\x8'_\x8$_\x8'·operator.25  · ···_\x8W_.H_.I_.L_.E·················_\x8'_\x8$_\x8'·operator.
19  · ···_\x8O_.U_.T_.P_.U_.T················Multiple·macros·can·be·declared·in·a·single·markup26  · ···_\x8<_.!_.-_.-_.-·················Multiple·macros·can·be·declared·in·a·single·markup
20  · ···_.Q_.U_.O_.T_.E·················tag,·as·the·second·syntax·line·shows.27  ·_.H_.i_.s_.t_.o_.r_.y···················tag,·as·the·second·syntax·line·shows.
21  ·[>]·_.S_.E_.T···················SET·should·only·be·used·for·a·single·line's·worth28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················SET·should·only·be·used·for·a·single·line's·worth
22  · ···_.U_.N_.D_.E_.F·················of·text.·Multi-line·macros·can·be·defined·with·the29  ·_.B_.u_.g_.s······················of·text.·Multi-line·macros·can·be·defined·with·the
23  · ···_.U_.N_.S_.E_.T·················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the30 ····························_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the
24  · ···_.U_.S_.E_.,_.·_.$················macro·contains·a·quotation·character·and·you·don't31 ····························macro·contains·a·quotation·character·and·you·don't
25  · ···_.W_.H_.I_.L_.E·················want·to·fool·around·with·special·escape·characters.32 ····························want·to·fool·around·with·special·escape·characters.
26  · ···_.<_.!_.-_.-_.-·················Macros·can·be·redefined·by·using·another·SET33 ····························Macros·can·be·redefined·by·using·another·SET
27  ·_.H_.i_.s_.t_.o_.r_.y···················command·with·the·same·macro·name.·The·prior34 ····························command·with·the·same·macro·name.·The·prior
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················definition·will·be·destroyed,·however.·Also,·the35 ····························definition·will·be·destroyed,·however.·Also,·the
29  ·_.B_.u_.g_.s······················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T36 ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T
30 ····························tag.37 ····························tag.
  
  
  
  
  
  
908 B
./usr/share/doc/htp/tut/jh.html
    
Offset 16, 10 lines modifiedOffset 16, 10 lines modified
16 <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr>16 <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr>
17 <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr>17 <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr>
18 </table>18 </table>
19 ···</td></tr>19 ···</td></tr>
20 ··</table>20 ··</table>
21 ··<hr>21 ··<hr>
22 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>22 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>
23 ··last·updated·Fri·Feb·27,·202623 ··last·updated·Fri·Jan·24,·2025
24 ·</body>24 ·</body>
25 </html>25 </html>
511 B
html2text {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*1 ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
2 Navigation·bar·[Photo]2 Navigation·bar·[Photo]
3 _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-0203 _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020
4 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-82434 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243
5 ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-82425 ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242
6 ===============================================================================6 ===============================================================================
7 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.7 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
8 last·updated·Fri·Feb·27,·20268 last·updated·Fri·Jan·24,·2025
723 B
./usr/share/doc/htp/tut/tut1.html
    
Offset 5, 9 lines modifiedOffset 5, 9 lines modified
5 <meta·name="Generator"·content="htp·1.19">5 <meta·name="Generator"·content="htp·1.19">
6 </head>6 </head>
7 <body>7 <body>
8 This·page·was·produced·by·htp.8 This·page·was·produced·by·htp.
9 <hr>9 <hr>
10 Copyright·by·Joe·Doe,10 Copyright·by·Joe·Doe,
11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,
12 last·updated·Fri·Feb·27,·202612 last·updated·Fri·Jan·24,·2025
13 </body>13 </body>
383 B
html2text {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 This·page·was·produced·by·htp.1 This·page·was·produced·by·htp.
2 ===============================================================================2 ===============================================================================
3 Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Fri·Feb·27,·20263 Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Fri·Jan·24,·2025
774 B
./usr/share/doc/htp/tut/tut2.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 <p>13 <p>
14 As·you·can·see·the·file·contains·almost·only·the·contents.14 As·you·can·see·the·file·contains·almost·only·the·contents.
15 </p>15 </p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Fri·Feb·27,·202620 ··last·updated·Fri·Jan·24,·2025
21 ·</body>21 ·</body>
22 </html>22 </html>
426 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*
2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e
4 ===============================================================================4 ===============================================================================
5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
6 last·updated·Fri·Feb·27,·20266 last·updated·Fri·Jan·24,·2025
776 B
./usr/share/doc/htp/tut/tut3.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 ·<p>13 ·<p>
14 ·As·you·can·see·the·file·contains·almost·only·the·contents.14 ·As·you·can·see·the·file·contains·almost·only·the·contents.
15 ·</p>15 ·</p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Fri·Feb·27,·202620 ··last·updated·Fri·Jan·24,·2025
21 ·</body>21 ·</body>
22 </html>22 </html>
432 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8*1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8*
2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e
4 ===============================================================================4 ===============================================================================
5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
6 last·updated·Fri·Feb·27,·20266 last·updated·Fri·Jan·24,·2025
6.09 KB
./usr/share/doc/htp/undef.html
    
Offset 114, 21 lines modifiedOffset 114, 19 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<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>
121 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br> 
122 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br> 
123 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br> 
126 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>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>
127 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>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>
128 </code></p>126 </code></p>
129 <h2>synopsis</h2>127 <h2>synopsis</h2>
130 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags128 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags
131 created·by·<A·HREF="def.html">DEF</A>·and·<A129 created·by·<A·HREF="def.html">DEF</A>·and·<A
132 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF130 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF
133 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by131 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by
134 htp·until·it·is·reassigned.··</P>132 htp·until·it·is·reassigned.··</P>
3.03 KB
html2text {}
    
Offset 1, 24 lines modifiedOffset 1, 24 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="header.hti">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="sharedimg"·option="name·alt">
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="1">5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="/home/sharedimages/${name}"
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_.[_.[_.r_.e_.f_.]_.]_.w_.h_.i_.l_.e·sect-${sect-ctr}>6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">;
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·sect-${sect-ctr}>7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>
 8  ·HTP·Tags
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image">
8  ·HTP·Tags·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
12  · ···_\x8D_.E_.F···················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags
13  · ···_\x8F_.I_.L_.E··················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the12  · ···_\x8D_.E_.F···················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the
14  · ···_\x8I_.F····················UNDEF·command.·Once·removed,·the·metatag·will·no13  · ···_\x8F_.I_.L_.E··················UNDEF·command.·Once·removed,·the·metatag·will·no
15  · ···_\x8I_\x8N_.C···················longer·be·recognized·by·htp·until·it·is·reassigned.14  · ···_\x8I_\x8F····················longer·be·recognized·by·htp·until·it·is·reassigned.
16  · ···_\x8I_\x8M_.G···················Multiple·metatags·can·be·removed·by·placing·each15  · ···_\x8I_\x8N_.C···················Multiple·metatags·can·be·removed·by·placing·each
17  · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············name·as·an·attribute.16  · ···_\x8I_\x8M_\x8G···················name·as·an·attribute.
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
18  · ···_\x8O_\x8P_\x8T18  · ···_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  ·[>]·_\x8U_\x8N_\x8D_\x8E_\x8F22  ·[>]·_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
Offset 30, 15 lines modifiedOffset 30, 14 lines modified
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
10.2 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 45 lines modifiedOffset 114, 40 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noexpand</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
123 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
124 <br> 
125 </code></p>121 </code></p>
126 <h2>synopsis</h2>122 <h2>synopsis</h2>
127 <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.
128 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.
129 (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
130 <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
131 old·macro·definition·will·be·removed·automatically.)127 old·macro·definition·will·be·removed·automatically.)
132 <P>128 <P>
133 For·example:129 For·example:
134 ··<p><code>130 ··<p><code>
 131 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 132 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br>
135 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
136 &nbsp;·&nbsp;·block<br>134 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·cla[·...·truncated·by·diffoscope;·len:·79,·SHA:·373f24bafd8973bcc60f90f25afca4b2e396f98374c046d1bba9a03a682ba31b·...·]<br>
 135 &nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
137 <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>137 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
138 <br>138 ls:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span[·...·truncated·by·diffoscope;·len:·12,·SHA:·bf9fa4cda5a9cc7796db449e6948180696fab7fc0518d56326a92c9a655d53a9·...·]<br>
139 </code></p>139 </code></p>
140 <P>140 <P>
141 More·than·one·macro·may·be·removed·in·the·same·tag:141 More·than·one·macro·may·be·removed·in·the·same·tag:
142 ··<p><code>142 ··<p><code>
 143 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>
 144 &nbsp;·&nbsp;·...<br>
143 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br>145 &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·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br> 
145 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>146 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
146 <br> 
147 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br> 
148 <br> 
149 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
150 But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br> 
151 And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
152 </code></p>147 </code></p>
153 <p>148 <p>
154 </td>149 </td>
155 </tr>150 </tr>
156 <tr>151 <tr>
157 <td·width="20%"·bgcolor="white"·valign="bottom">152 <td·width="20%"·bgcolor="white"·valign="bottom">
158 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">153 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
4.3 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:·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]_\x8u_\x8s_\x8e·macroname·[parameters·...]·[noexpand]> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<...·$macroname·...> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·${macroname}·...> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e 
8  ·HTP·Tags··················*\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*
9  · ···_.A_.L_.T_.T_.E_.X_.T···············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
10  · ···_.B_.L_.O_.C_.K·················definition.·The·macro·is·subsequently·not·available6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················definition.·The·macro·is·subsequently·not·available
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············for·use·in·the·pre-processed·files.·(Note·that7  ·_.U_.s_.a_.g_.e·····················for·use·in·the·pre-processed·files.·(Note·that
12  · ···_.D_.E_.F···················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or8  ·HTP·Tags··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or
13  · ···_\x8F_.I_.L_.E··················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.
14  · ···_\x8I_.F····················The·old·macro·definition·will·be·removed10  · ···_\x8B_.L_.O_.C_.K·················The·old·macro·definition·will·be·removed
15  · ···_\x8I_.N_.C···················automatically.)11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············automatically.)
16  · ···_\x8I_.M_.G···················For·example:12  · ···_\x8D_.E_.F···················For·example:
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·[NOT]·conditional> 
18  · ···_\x8O_.P_.T··················· · ·block13  · ···_\x8F_.I_.L_.E·················· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0">
 14  · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section">
 15  · ···_\x8I_\x8N_\x8C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
 16  · ···_\x8I_\x8M_\x8G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············global>
 18  · ···_\x8O_\x8P_\x8T··················· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k_.d_.e_.f>
 21  · ···_\x8S_\x8E_\x8T···················ls:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff·email="jnelson@crl.com">
21  · ···_\x8S_.E_.T···················More·than·one·macro·may·be·removed·in·the·same·tag:22  · ···_\x8U_.N_.D_.E_.F·················More·than·one·macro·may·be·removed·in·the·same·tag:
22  · ···_.U_.N_.D_.E_.F·················<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff>23  ·[>]·_.U_.N_.S_.E_.T················· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>
23  ·[>]·_.U_.N_.S_.E_.T················· ·<a·href=$email>send·email</a>24  · ···_.U_.S_.E_.,_.·_.$················ · ·...
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
24  · ···_\x8U_.S_.E_.,_.·_.$················<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>26  · ···_\x8<_.!_.-_.-_.-················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff 
29  ·_\x8B_\x8u_\x8g_\x8s······················email="jnelson@crl.com"> 
30 ····························But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> 
31 ····························And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff 
32 ····························email="jnelson@crl.com"> 
  
  
  
  
  
  
  
  
  
  
14.6 KB
./usr/share/doc/htp/use.html
    
Offset 114, 15 lines modifiedOffset 114, 21 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 122 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>&gt;</span><br>123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
 124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br>
 125 &nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 127 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
122 </code></p>128 </code></p>
123 <h2>synopsis</h2>129 <h2>synopsis</h2>
124 <strong>USE</strong>·will·expand·macros·that·have·been·previously130 <strong>USE</strong>·will·expand·macros·that·have·been·previously
125 declared·with·either·<A·HREF="set.html">SET</A>·or·<A131 declared·with·either·<A·HREF="set.html">SET</A>·or·<A
126 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other132 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other
127 markup·tags.133 markup·tags.
128 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will134 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will
Offset 132, 18 lines modifiedOffset 138, 21 lines modified
132 attribute·to·prevent·further·expansion.··</p>138 attribute·to·prevent·further·expansion.··</p>
133 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros139 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
134 for·the·expanded·macro.··This·is·only·valid·for·<A140 for·the·expanded·macro.··This·is·only·valid·for·<A
135 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A141 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
136 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For142 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
137 example:</p>143 example:</p>
138 ··<p><code>144 ··<p><code>
 145 <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>
 146 <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>
139 <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>147 <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>
140 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br> 
141 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>148 <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>
 149 <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>
142 <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>150 <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>
 151 <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>
143 </code></p>152 </code></p>
144 <P>153 <P>
145 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on154 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
146 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and155 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
147 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8156 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8
148 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is157 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
149 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.158 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
Offset 154, 16 lines modifiedOffset 163, 18 lines modified
154 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or163 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.164 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.
156 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or165 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or
157 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it166 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it
158 replaces·the·macro·name·by·the·contents·of·the·macro·without·further167 replaces·the·macro·name·by·the·contents·of·the·macro·without·further
159 processing·the·contents.168 processing·the·contents.
160 ··<p><code>169 ··<p><code>
161 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
162 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>170 <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>
 171 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
 172 <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>
 173 <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>
163 </code></p>174 </code></p>
164 <P>175 <P>
165 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and176 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
166 should·never·cause·confusion·with·surrounding·text.··If·no·curly177 should·never·cause·confusion·with·surrounding·text.··If·no·curly
167 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation178 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation
168 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;179 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;
169 and·&quot;_&quot;·that·follows·it.180 and·&quot;_&quot;·that·follows·it.
7.27 KB
html2text {}
    
Offset 1, 49 lines modifiedOffset 1, 60 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr·home_url·login_name>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section">
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand
 8  ·HTP·Tags··················global>
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
5  ·_.L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*12  · ···_.D_.E_.F···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously13  · ···_.F_.I_.L_.E··················U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously
7  ·_.U_.s_.a_.g_.e·····················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be14  · ···_.I_.F····················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be
8  ·HTP·Tags··················used·outside·of·other·markup·tags.15  · ···_.I_.N_.C···················used·outside·of·other·markup·tags.
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············If·you·USE·a·block·macro·the·value·of·expanded16  · ···_\x8I_.M_.G···················If·you·USE·a·block·macro·the·value·of·expanded
10  · ···_\x8B_.L_.O_.C_.K·················block·macros·will·be·further·parsed·by·htp.·This·is17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············block·macros·will·be·further·parsed·by·htp.·This·is
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············maybe·not·what·you·want,·for·example,·if·the·use·is18  · ···_\x8O_.P_.T···················maybe·not·what·you·want,·for·example,·if·the·use·is
12  · ···_\x8D_.E_.F···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use19  · ···_\x8O_.U_.T_.P_.U_.T················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use
13  · ···_\x8F_.I_.L_.E··················the·noexpand·attribute·to·prevent·further20  · ···_\x8Q_.U_.O_.T_.E·················the·noexpand·attribute·to·prevent·further
14  · ···_\x8I_.F····················expansion.21  · ···_\x8S_.E_.T···················expansion.
15  · ···_\x8I_.N_.C···················USE·will·accept·additional·parameters,·which·are22  · ···_\x8U_.N_.D_.E_.F·················USE·will·accept·additional·parameters,·which·are
16  · ···_\x8I_.M_.G···················"local"·macros·for·the·expanded·macro.·This·is·only23  · ···_\x8U_.N_.S_.E_.T·················"local"·macros·for·the·expanded·macro.·This·is·only
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T24  ·[>]·_.U_.S_.E_.,_.·_.$················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T
18  · ···_\x8O_.P_.T···················cannot·have·parameters·passed.·For·example:25  · ···_\x8W_.H_.I_.L_.E·················cannot·have·parameters·passed.·For·example:
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti">
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1">
19  · ···_.O_.U_.T_.P_.U_.T················ 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t················· 3.· ·<_.[_.[_.r_.e_.f_.]_.]_.w_.h_.i_.l_.e·sect-${sect-ctr}>
20  · ···_.Q_.U_.O_.T_.E················· 2.· · ·...29  ·_.B_.u_.g_.s······················ 4.· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·sect-${sect-ctr}>
21  · ···_.S_.E_.T··················· 3.· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i>30 ···························· 5.· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.n_.c·sect-ctr>
22  · ···_.U_.N_.D_.E_.F················· 4.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>31 ···························· 6.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.w_.h_.i_.l_.e>
 32 ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti">
23  · ···_.U_.N_.S_.E_.T·················(See·below·for·a·description·of·the·'$'·operator.)33 ····························(See·below·for·a·description·of·the·'$'·operator.)
24  ·[>]·_.U_.S_.E_.,_.·_.$················The·example·on·line·7·works·because·"stuff"·has34 ····························The·example·on·line·7·works·because·"stuff"·has
25  · ···_.W_.H_.I_.L_.E·················been·declared·as·a·block·macro,·and·the·tag·is35 ····························been·declared·as·a·block·macro,·and·the·tag·is
26  · ···_.<_.!_.-_.-_.-·················passing·the·"email"·macro·to·the·"stuff"·macro.36 ····························passing·the·"email"·macro·to·the·"stuff"·macro.
27  ·_.H_.i_.s_.t_.o_.r_.y···················Line·8·fails·because·the·"email"·macro·is37 ····························Line·8·fails·because·the·"email"·macro·is
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················unavailable·once·the·block·macro·is·completely38 ····························unavailable·once·the·block·macro·is·completely
29  ·_.B_.u_.g_.s······················expanded,·and·cannot·be·passed·to·a·SET·macro.39 ····························expanded,·and·cannot·be·passed·to·a·SET·macro.
30 ····························Note·that·the·"email"·macro·is·available·to·other40 ····························Note·that·the·"email"·macro·is·available·to·other
31 ····························macros·or·included·files·called·within·the·"stuff"41 ····························macros·or·included·files·called·within·the·"stuff"
32 ····························block.42 ····························block.
33 ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any43 ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any
34 ····························other·standard·HTML·or·htp·tag,·the·'$'·operator44 ····························other·standard·HTML·or·htp·tag,·the·'$'·operator
35 ····························must·be·used.·The·'$'·should·be·immediately45 ····························must·be·used.·The·'$'·should·be·immediately
36 ····························followed·by·the·macro·name,·which·may·or·may·not·be46 ····························followed·by·the·macro·name,·which·may·or·may·not·be
37 ····························surrounded·by·curly·braces.·When·htp·encounters47 ····························surrounded·by·curly·braces.·When·htp·encounters
38 ····························this·it·replaces·the·macro·name·by·the·contents·of48 ····························this·it·replaces·the·macro·name·by·the·contents·of
39 ····························the·macro·without·further·processing·the·contents.49 ····························the·macro·without·further·processing·the·contents.
40 ···························· 1.·<a·href="mailto:$email">mailto·hyperlink</a> 
41 ···························· 2.·<a·href="http://$domain/~${username}/">another 
42 ····························hyperlink</a>50 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>
 51 ···························· 2.· · ·...
 52 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
 53 ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
43 ····························The·use·of·curly·braces·is·encouraged,·since·it·is54 ····························The·use·of·curly·braces·is·encouraged,·since·it·is
44 ····························more·robust·and·should·never·cause·confusion·with55 ····························more·robust·and·should·never·cause·confusion·with
45 ····························surrounding·text.·If·no·curly·braces·are·used·the56 ····························surrounding·text.·If·no·curly·braces·are·used·the
46 ····························macro·name·consists·either·of·a·single·punctuation57 ····························macro·name·consists·either·of·a·single·punctuation
47 ····························character·or·the·maximum·sequence·of·letters,58 ····························character·or·the·maximum·sequence·of·letters,
48 ····························digits,·"-"·and·"_"·that·follows·it.59 ····························digits,·"-"·and·"_"·that·follows·it.
49 ····························If·a·'$'·character·needs·to·be·kept·in·the·final60 ····························If·a·'$'·character·needs·to·be·kept·in·the·final
11.8 KB
./usr/share/doc/htp/while.html
    
Offset 114, 44 lines modifiedOffset 114, 44 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 122 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br>123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
122 &nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br>124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<s[·...·truncated·by·diffoscope;·len:·75,·SHA:·47a73216a1dcf3e3553180efd7b5585eb62d2f6dfb82483d99bfb83a0fc63d7e·...·]&gt;</span><br>
 125 &nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
123 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>127 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
124 <br> 
125 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br> 
126 <br> 
127 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
128 But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br> 
129 And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
130 </code></p>128 </code></p>
131 <h2>synopsis</h2>129 <h2>synopsis</h2>
132 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.130 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.
133 The·basic·form·is·shown·above.131 The·basic·form·is·shown·above.
134 <P>132 <P>
135 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.133 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
136 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.134 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.
137 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the135 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
138 conditional·is·reversed:136 conditional·is·reversed:
139 ··<p><code>137 ··<p><code>
140 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
141 &nbsp;·&nbsp;·...<br>138 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br>
 139 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 140 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
142 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>142 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
143 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>143 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>
 144 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>
144 </code></p>145 </code></p>
145 <P>146 <P>
146 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·a147 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
147 macro's·existance:148 macro's·existance:
148 ··<p><code>149 ··<p><code>
 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>
149 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
150 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
151 </code></p>151 </code></p>
152 <P>152 <P>
153 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the153 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
154 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the154 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
155 WHILE·tag·it·is·also·reevaluated·on·each·iteration.155 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
156 <P>156 <P>
157 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.157 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.
4.84 KB
html2text {}
    
Offset 1, 38 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0">
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<a·href=$email>send·email</a>5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section">
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.n_.c·sect-ctr>
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e 
8  ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> 
9  · ···_.A_.L_.T_.T_.E_.X_.T7  ·_.U_.s_.a_.g_.e····················· · ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name="sect-${sect-ctr}"·expand
 8  ·HTP·Tags··················global>
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················This·works:· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·stuff10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············email="jnelson@crl.com"> 
12  · ···_\x8D_\x8E_\x8F···················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> 
13  · ···_\x8F_\x8I_\x8L_\x8E··················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff 
14  · ···_\x8I_\x8F····················email="jnelson@crl.com"> 
15  · ···_\x8I_.N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*12  · ···_\x8D_.E_.F···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
16  · ···_\x8I_.M_.G···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated13  · ···_\x8F_.I_.L_.E··················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated
17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············processing.·The·basic·form·is·shown·above.14  · ···_\x8I_\x8F····················processing.·The·basic·form·is·shown·above.
18  · ···_\x8O_.P_.T···················"Conditional"·is·either·a·"compare"·or·"is·defined"15  · ···_\x8I_.N_.C···················"Conditional"·is·either·a·"compare"·or·"is·defined"
19  · ···_\x8O_.U_.T_.P_.U_.T················operation.·A·compare·operator·is·a·test·of·the16  · ···_\x8I_.M_.G···················operation.·A·compare·operator·is·a·test·of·the
20  · ···_\x8Q_.U_.O_.T_.E·················value·of·a·macro·against·a·literal·string.·If·the17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············value·of·a·macro·against·a·literal·string.·If·the
21  · ···_\x8S_.E_\x8T···················NOT·tag·is·present·in·the·WHILE·markup,·the18  · ···_\x8O_.P_\x8T···················NOT·tag·is·present·in·the·WHILE·markup,·the
22  · ···_\x8U_.N_.D_.E_.F·················evaluation·of·the·conditional·is·reversed:19  · ···_\x8O_.U_.T_.P_.U_.T················evaluation·of·the·conditional·is·reversed:
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti">
23  · ···_\x8U_.N_.S_.E_.T················· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10">21  · ···_\x8S_.E_.T··················· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="1">
24  · ···_\x8U_\x8S_.E_.,_.·_.$················ · ·...22  · ···_\x8U_\x8N_.D_.E_.F················· ·<_.[_.[_.r_.e_.f_.]_.]_.w_.h_.i_.l_.e·sect-${sect-ctr}>
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i>25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.w_.h_.i_.l_.e>
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="footer.hti">
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················macro's·existance:28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················macro's·existance:
 29  ·_\x8B_\x8u_\x8g_\x8s······················ · ·<${tagName}·${attrName}=${value$ctr}>
29  ·_\x8B_\x8u_\x8g_\x8s······················<a·href="mailto:$email">mailto·hyperlink</a> 
30 ····························<a·href="http://$domain/~${username}/">another 
31 ····························hyperlink</a> 
32 ····························If·the·condition·is·true,·the·block·is·evaluated30 ····························If·the·condition·is·true,·the·block·is·evaluated
33 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If31 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If
34 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is32 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is
35 ····························also·reevaluated·on·each·iteration.33 ····························also·reevaluated·on·each·iteration.
36 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.34 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.