120 KB
/srv/reproducible-results/rbuild-debian/tmp.5N6WS4ZEvz/b1/htp_1.19-7_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/tmp.5N6WS4ZEvz/b2/htp_1.19-7_amd64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·bc109e036166d5d3e79fc220391028b6·81696·debug·optional·htp-dbgsym_1.19-7_amd64.deb1 ·bc109e036166d5d3e79fc220391028b6·81696·debug·optional·htp-dbgsym_1.19-7_amd64.deb
2 ·e1a6404ddd34e627ecf6a659750cacfe·118672·web·optional·htp_1.19-7_amd64.deb2 ·da72f16d8b16804a65aa82fb4ffc4596·118312·web·optional·htp_1.19-7_amd64.deb
119 KB
htp_1.19-7_amd64.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2018-12-02·23:47:57.000000·debian-binary1 -rw-r--r--···0········0········0········4·2018-12-02·23:47:57.000000·debian-binary
2 -rw-r--r--···0········0········0·····3324·2018-12-02·23:47:57.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3316·2018-12-02·23:47:57.000000·control.tar.xz
3 -rw-r--r--···0········0········0···115156·2018-12-02·23:47:57.000000·data.tar.xz3 -rw-r--r--···0········0········0···114804·2018-12-02·23:47:57.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
119 KB
data.tar.xz
119 KB
data.tar
15.4 KB
file list
    
Offset 1, 27 lines modifiedOffset 1, 27 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/bin/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/bin/
4 -rwxr-xr-x···0·root·········(0)·root·········(0)····67928·2018-12-02·23:47:57.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····67928·2018-12-02·23:47:57.000000·./usr/bin/htp
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/
6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/
8 -rw-r--r--···0·root·········(0)·root·········(0)·····9618·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)·····9069·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.html
9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.htp9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.htp
10 -rw-r--r--···0·root·········(0)·root·········(0)·····9256·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····9462·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.html
11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.htp11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.htp
12 -rw-r--r--···0·root·········(0)·root·········(0)·····9090·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)····12692·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.html
13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.htp13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.htp
14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.html14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.html
15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.htp15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.htp
16 -rw-r--r--···0·root·········(0)·root·········(0)·····3091·2018-12-02·23:47:57.000000·./usr/share/doc/htp/changelog.Debian.gz16 -rw-r--r--···0·root·········(0)·root·········(0)·····3091·2018-12-02·23:47:57.000000·./usr/share/doc/htp/changelog.Debian.gz
17 -rw-r--r--···0·root·········(0)·root·········(0)····10127·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)····13386·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.html
18 -rw-r--r--···0·root·········(0)·root·········(0)······676·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.htp18 -rw-r--r--···0·root·········(0)·root·········(0)······676·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.htp
19 -rw-r--r--···0·root·········(0)·root·········(0)····12975·2018-12-02·23:47:57.000000·./usr/share/doc/htp/copyright19 -rw-r--r--···0·root·········(0)·root·········(0)····12975·2018-12-02·23:47:57.000000·./usr/share/doc/htp/copyright
20 -rw-r--r--···0·root·········(0)·root·········(0)····13523·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····13663·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.html
21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.htp21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.htp
22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.html22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.html
23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.htp23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.htp
24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.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·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/quine.html33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2018-12-02·23:47:57.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·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/section.html36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2018-12-02·23:47:57.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)·····8839·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)····10147·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.html
40 -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.htp40 -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.htp
41 -rw-r--r--···0·root·········(0)·root·········(0)····14651·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····16222·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.html
42 -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.htp.gz42 -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.htp.gz
43 -rw-r--r--···0·root·········(0)·root·········(0)····14293·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.html43 -rw-r--r--···0·root·········(0)·root·········(0)····14293·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.html
44 -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.htp.gz44 -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.htp.gz
45 -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2018-12-02·23:47:57.000000·./usr/share/doc/htp/hlhtp.pl45 -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2018-12-02·23:47:57.000000·./usr/share/doc/htp/hlhtp.pl
46 -rw-r--r--···0·root·········(0)·root·········(0)······165·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.def46 -rw-r--r--···0·root·········(0)·root·········(0)······165·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.def
47 -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.htt47 -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.htt
48 -rw-r--r--···0·root·········(0)·root·········(0)····13418·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)····11344·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.html
49 -rw-r--r--···0·root·········(0)·root·········(0)······932·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.htp49 -rw-r--r--···0·root·········(0)·root·········(0)······932·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.htp
50 -rw-r--r--···0·root·········(0)·root·········(0)····10077·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)·····9618·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.html
51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.htp51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.htp
52 -rw-r--r--···0·root·········(0)·root·········(0)····11503·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)····10259·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.html
53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.htp53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.htp
54 -rw-r--r--···0·root·········(0)·root·········(0)····10856·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)····11335·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.html
55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.htp55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.htp
56 -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.html56 -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.html
57 -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.htp57 -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.htp
58 -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.html58 -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.html
59 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.htp59 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.htp
60 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.html60 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.html
61 -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.htp61 -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.htp
62 -rw-r--r--···0·root·········(0)·root·········(0)····10774·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.html62 -rw-r--r--···0·root·········(0)·root·········(0)····10774·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.html
63 -rw-r--r--···0·root·········(0)·root·········(0)······454·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.htp63 -rw-r--r--···0·root·········(0)·root·········(0)······454·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.htp
64 -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.def64 -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.def
65 -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.html65 -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.html
66 -rw-r--r--···0·root·········(0)·root·········(0)······388·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.htp66 -rw-r--r--···0·root·········(0)·root·········(0)······388·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.htp
67 -rw-r--r--···0·root·········(0)·root·········(0)····16821·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····12824·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.html
68 -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.htp.gz68 -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.htp.gz
69 -rw-r--r--···0·root·········(0)·root·········(0)·····9793·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····8141·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.html
70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.htp70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.htp
71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.html71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.html
72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.htp72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.htp
73 -rw-r--r--···0·root·········(0)·root·········(0)·····8227·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····8233·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.htp
75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/
76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/arrow.png76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/arrow.png
77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/download.png77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/download.png
78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/htpicon.png78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/htpicon.png
79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/logo.png79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/logo.png
80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manbig.png80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manbig.png
81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manual.png81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manual.png
82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/poweredbyhtp.png82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/poweredbyhtp.png
83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/sficon.png83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/sficon.png
84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/source.png84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/source.png
85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pphtp.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····7959·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)·····7748·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.html
87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.htp87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.htp
88 -rw-r--r--···0·root·········(0)·root·········(0)····10070·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····9508·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.html
89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.htp89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.htp
90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2018-12-02·23:47:57.000000·./usr/share/doc/htp/styles.css90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2018-12-02·23:47:57.000000·./usr/share/doc/htp/styles.css
91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.html91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.html
92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.htp.gz92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.htp.gz
93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2018-12-02·23:47:57.000000·./usr/share/doc/htp/toc.def93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2018-12-02·23:47:57.000000·./usr/share/doc/htp/toc.def
94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/
95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/footer.hti95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2018-12-02·23:47:57.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·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut2.htp102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut2.htp
103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.html103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.html
104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htp104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htp
105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htt105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htt
106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut4.htt106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut4.htt
107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.html107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.html
108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.htp108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.htp
109 -rw-r--r--···0·root·········(0)·root·········(0)·····8285·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····7804·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.html
110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.htp110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.htp
111 -rw-r--r--···0·root·········(0)·root·········(0)····10045·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····9892·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.html
112 -rw-r--r--···0·root·········(0)·root·········(0)······658·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.htp112 -rw-r--r--···0·root·········(0)·root·········(0)······658·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.htp
113 -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.html113 -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.html
114 -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.htp114 -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.htp
115 -rw-r--r--···0·root·········(0)·root·········(0)····11484·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····11957·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.html
116 -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.htp116 -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.htp
117 -rw-r--r--···0·root·········(0)·root·········(0)·····9304·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)····10206·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.html
118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.htp118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.htp
119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.html119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.html
120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.htp120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.htp
121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc-base/121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc-base/
122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2018-12-02·23:47:57.000000·./usr/share/doc-base/htp122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2018-12-02·23:47:57.000000·./usr/share/doc-base/htp
123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/
124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/overrides/124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/overrides/
3.29 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 35 lines modifiedOffset 114, 35 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>
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> 
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> 
124 <br>122 <br>
125 </code></p>123 </code></p>
126 <h2>synopsis</h2>124 <h2>synopsis</h2>
127 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A125 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
128 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.126 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·the127 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
130 filename·is·considered·in·all·comparisons.128 filename·is·considered·in·all·comparisons.
131 <p>129 <p>
132 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT130 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·to131 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.132 be·overridden·on·specific·images·and·default·text·on·all·others.
135 <p>133 <p>
136 For·example:134 For·example:
137 ··<p><code>135 ··<p><code>
138 <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="htp-attrib">[GLOBAL]</span>·<span·class="htp-attrib">[EXPAND]</span>&gt;</span><br> 
139 text·block<br>136 &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>
 137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br>
140 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/BLOCK</a>&gt;</span><br>138 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
141 <br>139 <br>
 140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>
 141 &nbsp;·&nbsp;·This·text·is·centered.<br>
142 </code></p>142 </code></p>
143 <p>143 <p>
144 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT144 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT
145 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not145 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not
146 changed.146 changed.
147 <p>147 <p>
148 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,148 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,
3.35 KB
./usr/share/doc/htp/block.html
    
Offset 114, 24 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 &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 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which134 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
135 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be135 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
136 multi-line·definitions.136 multi-line·definitions.
137 </P>137 </P>
6.65 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 31 lines modifiedOffset 114, 56 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="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> 
123 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/BLOCK</a>&gt;</span><br> 
124 <br>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>
125 </code></p>131 </code></p>
126 <h2>synopsis</h2>132 <h2>synopsis</h2>
127 <strong>BLOCKDEF</strong>·creates·block·<A133 <strong>BLOCKDEF</strong>·creates·block·<A
128 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it134 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
129 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block135 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
130 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and136 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
131 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored137 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
132 in·the·block·macro·named·BLOCK.138 in·the·block·macro·named·BLOCK.
133 <P>·For·example:</P>139 <P>·For·example:</P>
134 ··<p><code>140 ··<p><code>
135 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="htp-attrib">[option</span>=<span·class="htp-string">"option1·[option2·...]"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[global]</span>·<span·class="htp-attrib">[expand]</span>&gt;</span><br> 
136 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>141 &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>
 142 &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>
 143 <br>
 144 &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>
 145 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 146 &nbsp;·(no·URL·replacement).<br>
 147 <br>
 148 &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>
 149 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 150 <br>
 151 &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>
 152 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 153 &nbsp;·will·not·be·added.<br>
 154 <br>
 155 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 156 &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>
 157 &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>
137 <br>158 <br>
 159 &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>
 160 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 161 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 162 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
138 </code></p>163 </code></p>
139 <p>164 <p>
140 All·block·metatags·have·the·implicit·option·<a165 All·block·metatags·have·the·implicit·option·<a
141 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents166 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
142 of·the·block·before·the·definition·is·expanded.167 of·the·block·before·the·definition·is·expanded.
143 </p>168 </p>
144 <p>169 <p>
8.75 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 48 lines modifiedOffset 114, 70 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="ebnf">]</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 img·src="logo.gif"><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;·a·is·expanded·at·time·1.<br> 
140 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br> 
141 &nbsp;·contents·of·a:·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br> 
142 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br> 
143 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br> 
144 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br> 
145 &nbsp;·&nbsp;·e·is·expanded·at·time·2;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>139 &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>
 140 &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>
 141 <br>
 142 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 143 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 144 &nbsp;·(no·URL·replacement).<br>
 145 <br>
 146 &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>
 147 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 148 <br>
 149 &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>
 150 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 151 &nbsp;·will·not·be·added.<br>
 152 <br>
 153 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 154 &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>
 155 &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>
 156 <br>
 157 &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>
 158 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 159 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 160 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
146 </code></p>161 </code></p>
147 <p>162 <p>
148 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you163 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
149 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something164 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
150 like·this:165 like·this:
151 </p>166 </p>
152 ··<p><code>167 ··<p><code>
153 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>168 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>&gt;</span><br>
 169 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>
 170 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 171 <br>
 172 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>&gt;</span><br>
 173 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br>
 174 &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>175 <br>
 176 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
155 </code></p>177 </code></p>
156 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the178 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
157 reason·why·you·don't·want·to·include·this·block</p>179 reason·why·you·don't·want·to·include·this·block</p>
158 <p>180 <p>
159 </td>181 </td>
160 </tr>182 </tr>
161 <tr>183 <tr>
7.32 KB
./usr/share/doc/htp/def.html
    
Offset 114, 73 lines modifiedOffset 114, 69 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br>
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> 
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> 
133 <br>122 <br>
 123 p·class="section"><br>
 124 &nbsp;·&nbsp;·&nbsp;<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br>
 125 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br>
 126 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
 127 <br>
 128 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br>
 129 &nbsp;·&nbsp;·This·is·a·fancy·section.<br>
 130 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br>
134 </code></p>131 </code></p>
135 <h2>synopsis</h2>132 <h2>synopsis</h2>
136 <p>133 <p>
137 <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
138 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
139 <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>
140 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.
141 For·example:138 For·example:
142 </p>139 </p>
143 ··<p><code>140 ··<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> 
145 <br> 
146 </code></p> 
147 <P> 
148 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to 
149 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A 
150 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster 
151 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing 
152 tag·with·a·preceding·slash.·For·example: 
153 </P> 
154 ··<p><code> 
155 &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>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">"imghr"</span>&gt;</span><br>
156 &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>142 &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>
157 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>143 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
158 &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>144 &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>
159 &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>145 &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>
160 &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>146 &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>
161 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>147 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
162 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>148 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><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>&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>
164 <br>150 <br>
165 &nbsp;paragraph<br>151 &nbsp;paragraph<br>
166 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>152 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
167 &nbsp;paragraph<br>153 &nbsp;paragraph<br>
168 </code></p>154 </code></p>
 155 <P>
 156 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
 157 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
 158 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
 159 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
 160 tag·with·a·preceding·slash.·For·example:
 161 </P>
 162 ··<p><code>
 163 <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>
 164 <br>
 165 </code></p>
169 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,166 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
170 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>167 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
171 <P>168 <P>
172 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were169 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
173 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with170 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
174 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their171 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
175 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)172 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
176 </P>173 </P>
177 ··<p><code>174 ··<p><code>
 175 &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>
178 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[GLOBAL]</span>&gt;</span><br> 
179 <br> 
180 </code></p>176 </code></p>
181 <P>177 <P>
182 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is178 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
183 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are179 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
184 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the180 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
185 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a181 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
186 parameter·is·required,·simply·expand·it·without·first·checking.··When182 parameter·is·required,·simply·expand·it·without·first·checking.··When
3.92 KB
./usr/share/doc/htp/expand.html
    
Offset 98, 22 lines modifiedOffset 98, 30 lines modified
98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>
99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to
100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of
101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value
102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when
103 the·htp·tags·are·expanded:·</P>103 the·htp·tags·are·expanded:·</P>
104 ··<p><code>104 ··<p><code>
 105 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="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>
105 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="htp-attrib">[option</span>=<span·class="htp-string">"option1·[option2·...]"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[global]</span>·<span·class="htp-attrib">[expand]</span>&gt;</span><br> 
106 <font·size="-2">&nbsp;2.·</font><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> 
107 <font·size="-2">&nbsp;3.·</font><br>106 <font·size="-2">&nbsp;2.·</font><br>
 107 <font·size="-2">&nbsp;3.·</font>&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>
 108 <font·size="-2">&nbsp;4.·</font>&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>
 109 <font·size="-2">&nbsp;5.·</font><br>
 110 <font·size="-2">&nbsp;6.·</font>&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>
 111 <font·size="-2">&nbsp;7.·</font>&nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br>
 112 <font·size="-2">&nbsp;8.·</font><br>
 113 <font·size="-2">&nbsp;9.·</font>&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>
 114 <font·size="-2">10.·</font>&nbsp;·remains·unchanged.<br>
108 </code></p>115 </code></p>
109 This·produces·the·following:116 This·produces·the·following:
110 ··<p><code>117 ··<p><code>
111 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>118 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br>
112 <br>119 &nbsp;·...<br>
 120 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>&gt;</span><br>
113 </code></p>121 </code></p>
114 <P>122 <P>
115 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a123 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
116 are·taken·literally,·however,·the·contents·for·b·are·already·expanded124 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
117 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it125 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
118 is·used,·while·the·contents·of·b·are·already·expanded.126 is·used,·while·the·contents·of·b·are·already·expanded.
119 </P>127 </P>
8.14 KB
./usr/share/doc/htp/file.html
    
Offset 114, 37 lines modifiedOffset 114, 56 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="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>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>
122 <br>127 <br>
 128 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br>
 129 &nbsp;·&nbsp;·This·is·a·fancy·section.<br>
 130 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br>
123 </code></p>131 </code></p>
124 <h2>synopsis</h2>132 <h2>synopsis</h2>
125 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.133 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
126 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of134 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
127 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be135 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
128 added·to·the·output·file·as·well.136 added·to·the·output·file·as·well.
129 <P>137 <P>
130 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the138 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
131 following·is·perfectly·acceptable:139 following·is·perfectly·acceptable:
132 ··<p><code>140 ··<p><code>
133 <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>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">"imghr"</span>&gt;</span><br>
 142 &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>
 143 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
 144 &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>
 145 &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>
 146 &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>
 147 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 148 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&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>
134 <br>150 <br>
 151 &nbsp;paragraph<br>
 152 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
 153 &nbsp;paragraph<br>
135 </code></p>154 </code></p>
136 <P>155 <P>
137 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>156 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
138 <P>157 <P>
139 To·include·information·about·another·file,·such·as·an·archive·file·or158 To·include·information·about·another·file,·such·as·an·archive·file·or
140 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the159 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
141 type·of·information·to·be·displayed:160 type·of·information·to·be·displayed:
142 ··<p><code>161 ··<p><code>
143 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">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>162 &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>
144 </code></p>163 </code></p>
145 <P>164 <P>
146 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the165 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
147 information·is·displayed.··In·anything·other·than·byte·format,·the·information166 information·is·displayed.··In·anything·other·than·byte·format,·the·information
148 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number167 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
149 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional168 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
150 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no169 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 173, 21 lines modifiedOffset 192, 17 lines modified
173 <P>192 <P>
174 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are193 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
175 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros194 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
176 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it195 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
177 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer196 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
178 available.··So:197 available.··So:
179 ··<p><code>198 ··<p><code>
180 <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>199 <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>
 200 &nbsp;·&nbsp;·block<br>
181 <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>201 <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>
182 <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> 
183 <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> 
184 <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> 
185 <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> 
186 <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> 
187 <br>202 <br>
188 </code></p>203 </code></p>
189 <P>204 <P>
190 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included205 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
191 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the206 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
192 second·statement·will·fail.)207 second·statement·will·fail.)
193 <P>208 <P>
9.68 KB
./usr/share/doc/htp/if.html
    
Offset 114, 59 lines modifiedOffset 114, 43 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>121 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">IMGXY</span><span·class="ebnf">|</span><span·class="htp-attrib">NOIMGXY</span><span·class="ebnf">)</span>&gt;</span><br>
 122 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">QUIET</span><span·class="ebnf">|</span><span·class="htp-attrib">VERBOSE</span><span·class="ebnf">)</span>&gt;</span><br>
 123 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">DEPEND</span><span·class="ebnf">|</span><span·class="htp-attrib">NODEPEND</span><span·class="ebnf">)</span>&gt;</span><br>
 124 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">PRECIOUS</span><span·class="ebnf">|</span><span·class="htp-attrib">NOPRECIOUS</span><span·class="ebnf">)</span>&gt;</span><br>
 125 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>&gt;</span><br>
 126 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>&gt;</span><br>
 127 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>&gt;</span><br>
123 <br>128 <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>129 </code></p>
144 <h2>synopsis</h2>130 <h2>synopsis</h2>
145 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building131 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
146 blocks·for·conditional·processing.··The·basic·form·is·shown·above.132 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
147 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A133 <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·literal134 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
149 string:135 string:
150 ··<p><code>136 ··<p><code>
151 &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> 
152 &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>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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br>
 138 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br>
 139 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br>
 140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br>
 141 &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>
 142 <br>
 143 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br>
153 </code></p>144 </code></p>
154 <P>145 <P>
155 and·a·defined·operator·is·a·test·of·a·macro's·existance:146 and·a·defined·operator·is·a·test·of·a·macro's·existance:
156 <P>147 <P>
157 ··<p><code>148 ··<p><code>
 149 &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>
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">(IMGXY|NOIMGXY)</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">(QUIET|VERBOSE)</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">(DEPEND|NODEPEND)</span>&gt;</span><br> 
161 <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> 
162 <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> 
163 <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> 
164 <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> 
165 <br> 
166 </code></p>150 </code></p>
167 <P>151 <P>
168 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the152 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
169 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that153 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
170 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the154 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
171 ELSE·block·is·taken·if·it·is·present.··A·conditional·block155 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
172 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.156 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
3.51 KB
./usr/share/doc/htp/imageurl.html
    
Offset 114, 16 lines modifiedOffset 114, 20 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="ebnf">]</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 &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>
122 <br>124 <br>
 125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>
 126 &nbsp;·&nbsp;·This·text·is·centered.<br>
123 </code></p>127 </code></p>
124 <h2>synopsis</h2>128 <h2>synopsis</h2>
125 <P>129 <P>
126 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local130 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local
127 file·system.··declares·an·URL·replacement·that·is·used·for131 file·system.··declares·an·URL·replacement·that·is·used·for
128 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions132 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·is133 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is
Offset 137, 23 lines modifiedOffset 141, 15 lines modified
137 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC141 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.142 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.
139 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and143 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
140 looked·up·in·the·current·directory.</P>144 looked·up·in·the·current·directory.</P>
141 <P>145 <P>
142 For·example:</P>146 For·example:</P>
143 ··<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>=<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>
144 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>&gt;</span><br> 
145 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br> 
146 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
147 <br> 
148 &nbsp;·<span·class="htp-tag">&lt;<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> 
149 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
150 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
151 <br> 
152 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
153 </code></p>149 </code></p>
154 <P>150 <P>
155 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as151 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
156 an·undefine,·and·is·removed.</P>152 an·undefine,·and·is·removed.</P>
157 <P>153 <P>
158 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout154 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
159 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an155 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
5.73 KB
./usr/share/doc/htp/img.html
    
Offset 114, 38 lines modifiedOffset 114, 27 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="ebnf">]</span>&gt;</span><br>121 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>&gt;</span><br>
 122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
 124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br>
 126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 127 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 128 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
 129 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
122 <br>130 <br>
 131 &nbsp;paragraph<br>
 132 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
 133 &nbsp;paragraph<br>
123 n/"><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">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br> 
125 <br> 
126 &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> 
127 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
128 &nbsp;·(no·URL·replacement).<br> 
129 <br> 
130 &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> 
131 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
132 <br> 
133 &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> 
134 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
135 &nbsp;·will·not·be·added.<br> 
136 <br> 
137 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
138 &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> 
139 &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> 
140 <br> 
141 &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> 
142 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
143 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
144 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
145 </code></p>134 </code></p>
146 <h2>synopsis</h2>135 <h2>synopsis</h2>
147 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified136 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified
148 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage137 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage
149 of·not·having·to·determine·each·image's·size·manually,·which·is·especially138 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
150 useful·if·the·image·may·change·frequently.·</P>139 useful·if·the·image·may·change·frequently.·</P>
151 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup140 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup
4.28 KB
./usr/share/doc/htp/inc.html
    
Offset 122, 32 lines modifiedOffset 122, 37 lines modified
122 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">QUIET</span><span·class="ebnf">|</span><span·class="htp-attrib">VERBOSE</span><span·class="ebnf">)</span>&gt;</span><br>122 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">QUIET</span><span·class="ebnf">|</span><span·class="htp-attrib">VERBOSE</span><span·class="ebnf">)</span>&gt;</span><br>
123 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">DEPEND</span><span·class="ebnf">|</span><span·class="htp-attrib">NODEPEND</span><span·class="ebnf">)</span>&gt;</span><br>123 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">DEPEND</span><span·class="ebnf">|</span><span·class="htp-attrib">NODEPEND</span><span·class="ebnf">)</span>&gt;</span><br>
124 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">PRECIOUS</span><span·class="ebnf">|</span><span·class="htp-attrib">NOPRECIOUS</span><span·class="ebnf">)</span>&gt;</span><br>124 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">PRECIOUS</span><span·class="ebnf">|</span><span·class="htp-attrib">NOPRECIOUS</span><span·class="ebnf">)</span>&gt;</span><br>
125 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>&gt;</span><br>125 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>&gt;</span><br>
126 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>&gt;</span><br>126 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>&gt;</span><br>
127 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>&gt;</span><br>127 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>&gt;</span><br>
128 <br>128 <br>
 129 width=10><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>
 130 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 131 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
 132 &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>
 133 <br>
 134 &nbsp;paragraph<br>
 135 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
 136 &nbsp;paragraph<br>
129 </code></p>137 </code></p>
130 <h2>synopsis</h2>138 <h2>synopsis</h2>
131 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a139 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
132 variable·or·for·variable·addition.··The·basic·form·is·shown·above.140 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
133 <P>141 <P>
134 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a142 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
135 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The143 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
136 macroname·must·be·the·name·of·a·defined·macro·that·contains·an144 macroname·must·be·the·name·of·a·defined·macro·that·contains·an
137 integer.··If·the·increment·is·ommitted·it·defaults·to·1.145 integer.··If·the·increment·is·ommitted·it·defaults·to·1.
138 The·effect·of·this·operation·is·that·the·macro·is·redefined146 The·effect·of·this·operation·is·that·the·macro·is·redefined
139 to·contain·the·sum·of·its·previous·value·and·its·increment.147 to·contain·the·sum·of·its·previous·value·and·its·increment.
140 <P>148 <P>
141 To·increment·or·decrement·a·variable·you·can·use·this·form:149 To·increment·or·decrement·a·variable·you·can·use·this·form:
142 ··<p><code>150 ··<p><code>
 151 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">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>
143 <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> 
144 text·block<br> 
145 <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> 
146 <br> 
147 </code></p>152 </code></p>
148 <p>153 <p>
149 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It154 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It
150 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer155 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer
151 values·are·limited·to·the·range·-2^31..2^31.156 values·are·limited·to·the·range·-2^31..2^31.
152 <P>157 <P>
153 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.158 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.
12.0 KB
./usr/share/doc/htp/metatag.html
    
Offset 88, 38 lines modifiedOffset 88, 18 lines modified
88 <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and88 <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and
89 undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P>89 undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P>
90 <P>90 <P>
91 As·an·example·we·show·how·to·define·a·tag·that·builds·a91 As·an·example·we·show·how·to·define·a·tag·that·builds·a
92 fancy·horizontal·rule·out·of·several·images.92 fancy·horizontal·rule·out·of·several·images.
93 </P>93 </P>
94 ··<p><code>94 ··<p><code>
 95 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="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>
 96 <font·size="-2">&nbsp;2.·</font>text·block<br>
95 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br> 
96 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
97 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br> 
98 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>97 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br>
99 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br> 
100 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br> 
101 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
102 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
103 <font·size="-2">&nbsp;9.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
104 <font·size="-2">10.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
105 <font·size="-2">11.·</font><br>98 <font·size="-2">&nbsp;4.·</font><br>
106 <font·size="-2">12.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br> 
107 <font·size="-2">13.·</font><br> 
108 <font·size="-2">14.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br> 
109 <font·size="-2">15.·</font><br> 
110 <font·size="-2">16.·</font>&nbsp;·This·will·fail:<br> 
111 <font·size="-2">17.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br> 
112 <font·size="-2">18.·</font><br> 
113 <font·size="-2">19.·</font>&nbsp;·Instead,·use·*·like·this:<br> 
114 <font·size="-2">20.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br> 
115 <font·size="-2">21.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br> 
116 <font·size="-2">22.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
117 <font·size="-2">23.·</font>&nbsp;·&nbsp;·<br> 
118 <font·size="-2">24.·</font>&nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br> 
119 </code></p>99 </code></p>
120 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.100 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.
121 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.101 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.
122 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and102 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and
123 <code>/def</code></a>·tags.··You·don't·have·to·understand·this103 <code>/def</code></a>·tags.··You·don't·have·to·understand·this
124 html·code,·but·you·should·understand·that·this·is·just·pure·html·to104 html·code,·but·you·should·understand·that·this·is·just·pure·html·to
125 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>105 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>
Offset 129, 39 lines modifiedOffset 109, 36 lines modified
129 file</a>.··</p>109 file</a>.··</p>
130 <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
131 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
132 encounters·a·blockdef·tag·it·will·automatically·search·for·the112 encounters·a·blockdef·tag·it·will·automatically·search·for·the
133 matching·closing·tag·and·put·everything·between·these·tags·in·a·block113 matching·closing·tag·and·put·everything·between·these·tags·in·a·block
134 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>
135 ··<p><code>115 ··<p><code>
 116 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
136 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>&gt;</span><br> 
137 <font·size="-2">&nbsp;2.·</font>text·block<br> 
138 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br> 
139 <font·size="-2">&nbsp;4.·</font><br> 
140 </code></p>117 </code></p>
141 <h2>Using·parameters</h2>118 <h2>Using·parameters</h2>
142 <p>·More·sophisticated·tags·accept·parameters.··The119 <p>·More·sophisticated·tags·accept·parameters.··The
143 <code>option</code>·parameter·lets·multiple·metatag·parameters·be120 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
144 named·and·expanded·inside·the·<code>def</code>·or121 named·and·expanded·inside·the·<code>def</code>·or
145 <code>blockdef</code>·block:·</p>122 <code>blockdef</code>·block:·</p>
146 ··<p><code>123 ··<p><code>
 124 <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>
147 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...]</span>&gt;</span><br> 
148 <font·size="-2">&nbsp;2.·</font><br> 
149 </code></p>125 </code></p>
150 <h2>Saving·blocks·for·later</h2>126 <h2>Saving·blocks·for·later</h2>
151 <p>When·you·are·using·templates,·the·html·should·only·be·written·by127 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
152 the·template·file.··The·normal·htp·files·should·just·define·macros128 the·template·file.··The·normal·htp·files·should·just·define·macros
153 that·are·used·later·in·the·template.··So·you·may·want·to·write·block129 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
154 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this130 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
155 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to131 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
156 do·this:</p>132 do·this:</p>
157 ··<p><code>133 ··<p><code>
 134 <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>
 135 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·block<br>
158 <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>136 <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>
159 <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> 
160 <font·size="-2">&nbsp;3.·</font><br>137 <font·size="-2">&nbsp;4.·</font><br>
161 </code></p>138 </code></p>
162 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a139 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
163 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is140 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
164 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is141 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
165 build·from·this·counter.··So·the·first·section·is·stored·in·block142 build·from·this·counter.··So·the·first·section·is·stored·in·block
166 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>·flag143 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
167 in·line·4·tells·htp·that·these·macros·should·be·defined·globally144 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
Offset 180, 15 lines modifiedOffset 157, 16 lines modified
180 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be157 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be
181 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the158 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the
182 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you159 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
183 use·expand·in·a·block·around·it.</p>160 use·expand·in·a·block·around·it.</p>
184 <p>To·close·this·example·we·show·how·to·expand·the161 <p>To·close·this·example·we·show·how·to·expand·the
185 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>162 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>
186 ··<p><code>163 ··<p><code>
187 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>&gt;</span><br>164 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
 165 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
188 </code></p>166 </code></p>
189 <p>167 <p>
190 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·whether168 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
191 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is169 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is
192 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards170 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards
193 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This171 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This
194 repeats·until·sect-${sect-ctr}·is·not·defined.172 repeats·until·sect-${sect-ctr}·is·not·defined.
3.29 KB
./usr/share/doc/htp/opt.html
    
Offset 114, 21 lines modifiedOffset 114, 17 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">APPEND</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>&gt;</span><br>
 122 text·block<br>
 123 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">IMGXY</span><span·class="ebnf">|</span><span·class="htp-attrib">NOIMGXY</span><span·class="ebnf">)</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">QUIET</span><span·class="ebnf">|</span><span·class="htp-attrib">VERBOSE</span><span·class="ebnf">)</span>&gt;</span><br> 
123 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">DEPEND</span><span·class="ebnf">|</span><span·class="htp-attrib">NODEPEND</span><span·class="ebnf">)</span>&gt;</span><br> 
124 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">PRECIOUS</span><span·class="ebnf">|</span><span·class="htp-attrib">NOPRECIOUS</span><span·class="ebnf">)</span>&gt;</span><br> 
125 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>&gt;</span><br> 
126 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>&gt;</span><br> 
127 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>&gt;</span><br> 
128 <br>124 <br>
129 </code></p>125 </code></p>
130 <h2>synopsis</h2>126 <h2>synopsis</h2>
131 <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
132 options·inside·the·actual·document·being·processed.··The·options·are128 options·inside·the·actual·document·being·processed.··The·options·are
133 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
134 preceded·by·a·&lsquo;-&rsquo;·character.130 preceded·by·a·&lsquo;-&rsquo;·character.
1.43 KB
./usr/share/doc/htp/output.html
    
Offset 114, 16 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 <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>121 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br>
122 <span·class="htp-tag">&lt;<a·href="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>122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
123 <br>123 <br>
124 </code></p>124 </code></p>
125 <h2>synopsis</h2>125 <h2>synopsis</h2>
126 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary126 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary
127 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the127 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the
128 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>128 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
129 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you129 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
1.26 KB
./usr/share/doc/htp/quote.html
    
Offset 114, 17 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
123 <br> 
124 </code></p>122 </code></p>
125 <h2>synopsis</h2>123 <h2>synopsis</h2>
126 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise124 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise
127 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a125 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a
128 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early126 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early
129 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still127 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still
130 done·inside·a·quote·block.128 done·inside·a·quote·block.
3.74 KB
./usr/share/doc/htp/set.html
    
Offset 114, 28 lines modifiedOffset 114, 25 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</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·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>
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>
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">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br> 
129 &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> 
130 &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> 
131 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
132 &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>131 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>
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>&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">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br> 
135 </code></p>132 </code></p>
136 <P>133 <P>
137 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">134 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">
138 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular135 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular
139 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the136 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
140 <A·HREF="use.html">'$'</A>·operator.137 <A·HREF="use.html">'$'</A>·operator.
141 <P>138 <P>
397 B
./usr/share/doc/htp/tut/jh.html
    
Offset 16, 10 lines modifiedOffset 16, 10 lines modified
16 <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr>16 <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr>
17 <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr>17 <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr>
18 </table>18 </table>
19 ···</td></tr>19 ···</td></tr>
20 ··</table>20 ··</table>
21 ··<hr>21 ··<hr>
22 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>22 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>
23 ··last·updated·Sat·Jul·03,·202123 ··last·updated·Fri·Aug·05,·2022
24 ·</body>24 ·</body>
25 </html>25 </html>
340 B
./usr/share/doc/htp/tut/tut1.html
    
Offset 5, 9 lines modifiedOffset 5, 9 lines modified
5 <meta·name="Generator"·content="htp·1.19">5 <meta·name="Generator"·content="htp·1.19">
6 </head>6 </head>
7 <body>7 <body>
8 This·page·was·produced·by·htp.8 This·page·was·produced·by·htp.
9 <hr>9 <hr>
10 Copyright·by·Joe·Doe,10 Copyright·by·Joe·Doe,
11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,
12 last·updated·Sat·Jul·03,·202112 last·updated·Fri·Aug·05,·2022
13 </body>13 </body>
348 B
./usr/share/doc/htp/tut/tut2.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 <p>13 <p>
14 As·you·can·see·the·file·contains·almost·only·the·contents.14 As·you·can·see·the·file·contains·almost·only·the·contents.
15 </p>15 </p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Sat·Jul·03,·202120 ··last·updated·Fri·Aug·05,·2022
21 ·</body>21 ·</body>
22 </html>22 </html>
344 B
./usr/share/doc/htp/tut/tut3.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 ·<p>13 ·<p>
14 ·As·you·can·see·the·file·contains·almost·only·the·contents.14 ·As·you·can·see·the·file·contains·almost·only·the·contents.
15 ·</p>15 ·</p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Sat·Jul·03,·202120 ··last·updated·Fri·Aug·05,·2022
21 ·</body>21 ·</body>
22 </html>22 </html>
1.5 KB
./usr/share/doc/htp/undef.html
    
Offset 114, 18 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
121 <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>122 </code></p>
126 <h2>synopsis</h2>123 <h2>synopsis</h2>
127 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags124 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags
128 created·by·<A·HREF="def.html">DEF</A>·and·<A125 created·by·<A·HREF="def.html">DEF</A>·and·<A
129 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF126 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF
130 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by127 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by
131 htp·until·it·is·reassigned.··</P>128 htp·until·it·is·reassigned.··</P>
4.77 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 35 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 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br> 
122 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br> 
123 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br> 
126 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br> 
127 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
128 </code></p>122 </code></p>
129 <h2>synopsis</h2>123 <h2>synopsis</h2>
130 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.124 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.
131 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.125 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
132 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or126 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
133 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The127 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
134 old·macro·definition·will·be·removed·automatically.)128 old·macro·definition·will·be·removed·automatically.)
135 <P>129 <P>
136 For·example:130 For·example:
137 ··<p><code>131 ··<p><code>
 132 <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>
 133 &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>
 134 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 135 &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>
138 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>136 &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 &nbsp;·&nbsp;·block<br> 
140 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>137 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>
141 <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">"footer.hti"</span>&gt;</span><br>
142 </code></p>139 </code></p>
143 <P>140 <P>
144 More·than·one·macro·may·be·removed·in·the·same·tag:141 More·than·one·macro·may·be·removed·in·the·same·tag:
145 ··<p><code>142 ··<p><code>
146 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>143 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
147 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>144 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
148 </code></p>145 </code></p>
4.88 KB
./usr/share/doc/htp/use.html
    
Offset 114, 15 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="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·block<br>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>123 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
 124 <br>
122 </code></p>125 </code></p>
123 <h2>synopsis</h2>126 <h2>synopsis</h2>
124 <strong>USE</strong>·will·expand·macros·that·have·been·previously127 <strong>USE</strong>·will·expand·macros·that·have·been·previously
125 declared·with·either·<A·HREF="set.html">SET</A>·or·<A128 declared·with·either·<A·HREF="set.html">SET</A>·or·<A
126 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other129 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other
127 markup·tags.130 markup·tags.
128 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will131 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will
Offset 132, 15 lines modifiedOffset 135, 18 lines modified
132 attribute·to·prevent·further·expansion.··</p>135 attribute·to·prevent·further·expansion.··</p>
133 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros136 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
134 for·the·expanded·macro.··This·is·only·valid·for·<A137 for·the·expanded·macro.··This·is·only·valid·for·<A
135 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
136 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For139 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
137 example:</p>140 example:</p>
138 ··<p><code>141 ··<p><code>
139 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>&gt;</span><br>142 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>
 143 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
 144 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
 145 <font·size="-2">&nbsp;4.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
140 </code></p>146 </code></p>
141 <P>147 <P>
142 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on148 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
143 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and149 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
144 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8150 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8
145 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is151 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
146 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.152 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
Offset 151, 18 lines modifiedOffset 157, 16 lines modified
151 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or157 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or
152 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.158 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.
153 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or159 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or
154 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it160 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it
155 replaces·the·macro·name·by·the·contents·of·the·macro·without·further161 replaces·the·macro·name·by·the·contents·of·the·macro·without·further
156 processing·the·contents.162 processing·the·contents.
157 ··<p><code>163 ··<p><code>
 164 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
 165 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
158 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
159 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br> 
160 <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> 
161 <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> 
162 </code></p>166 </code></p>
163 <P>167 <P>
164 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and168 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
165 should·never·cause·confusion·with·surrounding·text.··If·no·curly169 should·never·cause·confusion·with·surrounding·text.··If·no·curly
166 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation170 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation
167 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;171 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;
168 and·&quot;_&quot;·that·follows·it.172 and·&quot;_&quot;·that·follows·it.
4.52 KB
./usr/share/doc/htp/while.html
    
Offset 114, 36 lines modifiedOffset 114, 39 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·<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> 
122 <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>121 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br>
 122 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 123 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br>
 125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
 126 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>
 127 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br>
123 </code></p>128 </code></p>
124 <h2>synopsis</h2>129 <h2>synopsis</h2>
125 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.130 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.
126 The·basic·form·is·shown·above.131 The·basic·form·is·shown·above.
127 <P>132 <P>
128 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.133 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
129 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.
130 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
131 conditional·is·reversed:136 conditional·is·reversed:
132 ··<p><code>137 ··<p><code>
133 &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>138 <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>
 139 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
134 </code></p>140 </code></p>
135 <P>141 <P>
136 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·a142 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
137 macro's·existance:143 macro's·existance:
138 ··<p><code>144 ··<p><code>
 145 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>
139 &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> 
140 &nbsp;·&nbsp;·...<br> 
141 &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;·<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 </code></p>146 </code></p>
144 <P>147 <P>
145 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the148 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
146 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the149 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
147 WHILE·tag·it·is·also·reevaluated·on·each·iteration.150 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
148 <P>151 <P>
149 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.152 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.