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

Jeff 17994 Posts Monday February 15, 1999Registration dateModeratorStatus June 8, 2017 Last seen - Jul 29, 2008 at 12:52 PM
+20
Helpful
Thanks for this post !
Was this answer helpful?  
Kanishka Dutta - Apr 29, 2011 at 01:21 AM
+2
Helpful
Thanks a bunch for such an easy example