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

Report
Posts
1
Registration date
Sunday July 27, 2008
Status
Member
Last seen
July 28, 2008
-
 Kanishka Dutta -
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_

2 replies

Posts
18568
Registration date
Monday February 15, 1999
Status
Webmaster
Last seen
October 24, 2020

Thanks for this post !
20
Thank you

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

CCM 2942 users have said thank you to us this month


Thanks a bunch for such an easy example