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

deepgupta 1 Posts Sunday July 27, 2008Registration date July 28, 2008 Last seen - Jul 28, 2008 at 12:35 PM - Latest reply:  Kanishka Dutta
- Apr 29, 2011 at 01:21 AM
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 

2 replies

Best answer
Jeff 17997 Posts Monday February 15, 1999Registration dateModeratorStatus April 26, 2018 Last seen - Jul 29, 2008 at 12:52 PM
20
Thank you
Thanks for this post !

Thank you, Jeff 20

Something to say? Add comment

CCM has helped 1850 users this month

Kanishka Dutta - Apr 29, 2011 at 01:21 AM
2
Thank you
Thanks a bunch for such an easy example