html.m4
----------------------
define(`START_HTML',
`
$1 bgcolor="#e5e5e5" link="#3333ff" vlink="#000099" alink="#ffffff">')
define(`PAGE_HEADER',`
Last Modified: esyscmd(`date')
')
define(`HTML_BANNER',`
$1
|
')
define(`END_HTML',`
')
index.m4
------------------------
include(`html.m4')
define(`BACKGROUND_IMAGE',`bg.jpg')
START_HTML(`Sample Page')
PAGE_HEADER(`computer.jpg',`Sample HTML Page')
HTML_BANNER(`img1.jpg',`News')
HTML_BANNER(`img2.jpg',`Downloads')
END_HTML
命令格式:
#m4 index.m4 > index.html
阅读(467) | 评论(0) | 转发(0) |