Report

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

Ask a question 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_
See more 
Helpful
+18
moins plus
Thanks for this post !
Add comment
Helpful
+1
moins plus
Thanks a bunch for such an easy example
Add comment

Members get more answers than anonymous users.

Being a member gives you detailed monitoring of your requests.

Being a member gives you additional options.

Not a member yet?

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