Search : in
By :

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

Last answer on Jul 29, 2008 5:52:07 pm BST deepgupta, on Jul 28, 2008 5:35:31 pm BST 
 Report this message to moderators

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_

Configuration: Linux Fedora
Firefox 1.5.0.7

Best answers for « html code in shell script.......... » in :
How to easily display PHP/HTML codes in your webpages Show How to easily display PHP/HTML codes in your webpages Issue What code to use? Issue If you want your visitors to be able to see the source codes of your webpage, there is a very easy way to do so. Normally, all you have to do in a...
[Ubuntu] Executing a script at startup and shutdown Show[Ubuntu] Executing a script at startup and shutdown To execute a script at startup To execute a script at shutdown To execute a script at startup of Ubuntu Edit /etc/rc.local and add your commands. The script must always end with...
Changing password via a script ShowChanging password via a script Method 1: passwd Method 2: chpasswd Method 1: passwd Conventionally the command use to change password on Linux based system is passwd , the option related to this command is –stdin ,an this is all...
Download Source Code Spell Checker ShowSource Code Spell Checker is a program that offers to check your lines of code, highlight the errors and to report errors detected. You save valuable time by limiting the reading tedious programming codes. Advantage Via the context menu, you can...
Download HTML Ebook Maker and Encrypter ShowAs its name suggests, this software will allow you to encrypt your HTML pages with a password. It supports the following files: HTML, image, flash, swf, video, Javascript and so forth. The encrypted files will be collected in a single .exe file....
Linux - The shell ShowIntroduction to the shell The command interpreter is the interface between the user and the operating system, hence the name "shell". The shell therefore acts as an intermediary between the operating system and the user thanks to command lines...
HTML forms ShowForms Interactive forms let web page authors give their pages interactive elements, such as for receiving messages from their readers, much like the reply cards found in some magazines. The reader enters information by filling in fields or clicking...
UNIX system - The shell ShowIntroduction to the shell The command interpreter is the interface between the user and the operating system, hence its name "shell". The shell therefore acts as an intermediary between the operating system and the user using command lines...

1

 Jeff, on Jul 29, 2008 5:52:07 pm BST
  • +7

Thanks for this post ! Jeff
webmaster @ comment ca marche . <net|com>

Reply to Jeff