Report

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

Ask a question deepgupta 1Posts Sunday July 27, 2008Registration date July 28, 2008 Last seen - Last answered 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_
See more 
Helpful
+19
moins plus
Thanks for this post !
Add comment
Helpful
+1
moins plus
Thanks a bunch for such an easy example
Add comment

Member requests are more likely to be responded to.

Members can monitor the statuses of their requests from their account pages.

A CCM membership gives you access to additional options.

Not a member yet?

Sign up now. It takes less than a minute and is completely free!