Re: Plain text file on web server, questions please...




....
what does the <pre> tag mean or do ?
....

<pre>
Add whatever is between these tags
as pre-formatted text just as it is ....
</pre>

Yet another version using 4 files
to generate a 5th that is an html wrapper
around a text file ....

The 4 files ....

ohms_faq_header.htm
ohms_faq.txt
ohms_faq_footer.txt
ohms_faq_build

chmod +x ohms_faq_build


# ohms_faq_header.htm ------------------------------

<html>
<head>
<title>Ohmster's_FAQ</title</title>

<style type="text/css" >
body
{
margin-top : 27px ;
margin-left : 2em ;
margin-right : 2em ;
background-color : moccasin ;
color : black ;
}
</style>
</head>

<body>

<h2>
Ohmster's FAQ
</h2>

<pre>


# ohms_faq.txt ------------------------------------------------------
This FAQ is maintained by Cousin Ohmster.

blah
blah
blah

Adios


# ohms_faq_footer.htm -----------------------------------------------

</pre>

<h4>
Tune in again next week for a brand new show.
</h4>

</body>
</html>


# ohms_faq_build -----------------------------------------------------

cat ohms_faq_header.htm > ohms_faq.htm
cat ohms_faq.txt >> ohms_faq.htm
cat ohms_faq_footer.htm >> ohms_faq.htm

# --------------------------------------------------------------------

# Execute ohms_faq_build to generate ohms_faq.htm

../ohms_faq_build


--
Stanley C. Kitching
Human Being
Phoenix, Arizona


----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
.