Html code in shell script..........

Solved/Closed
deepgupta Posts 1 Registration date Sunday July 27, 2008 Status Member Last seen July 28, 2008 - Jul 28, 2008 at 12:35 PM
 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_
Related:

2 responses

Jean-François Pillou Posts 18707 Registration date Monday February 15, 1999 Status Webmaster Last seen February 16, 2023  
Jul 29, 2008 at 12:52 PM
Thanks for this post !
20
Kanishka Dutta
Apr 29, 2011 at 01:21 AM
Thanks a bunch for such an easy example
2