Ask a question Report

Html code in shell script.......... [Solved]

deepgupta 1Posts Sunday July 27, 2008Registration date July 28, 2008 Last seen - Latest answer on Apr 29, 2011 01:21AM
Hello,
I want to share one of article of a recent magazine to write html code in shell script..........
<html>
<head>
<title>any title</title>
</head>
<body>
Our content information goes here
</body>
</html>
this is written in shell script as
#!bin/bash
#create_page - This script will produce on HTML file
cat <<- _EOF_
<html>
<head>
<title>any title</title>
</head>
<body>
Our content information goes here
</body>
</html>
_EOF_
Read more 
Answer
+18
moins plus
Thanks for this post !
Add comment
Answer
+1
moins plus
Thanks a bunch for such an easy example
Add comment
This document entitled « html code in shell script.......... » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.

Not a member yet?

sign-up, it takes less than a minute and it's free!

Members get more answers than anonymous users.

Being a member gives you detailed monitoring of your requests.

Being a member gives you additional options.