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

Posts
1
Registration date
Sunday July 27, 2008
Last seen
July 28, 2008
- - 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
Posts
18199
Registration date
Monday February 15, 1999
Status
Verified expert
Last seen
January 21, 2019
63784
20
Thank you
Thanks for this post !

Say "Thank you" 20

A few words of thanks would be greatly appreciated. Add comment

CCM 4561 users have said thank you to us this month

2
Thank you
Thanks a bunch for such an easy example