The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Pulling Input from HTML into Shell mosammey Shell Programming and Scripting 1 02-17-2008 10:02 PM
Search withing the line Nafanja Shell Programming and Scripting 4 11-29-2007 01:04 PM
Converting Shell Script to HTML davwel Shell Programming and Scripting 3 10-25-2007 10:25 PM
Difference between writing Unix Shell script and AIX Shell Scripts haroonec AIX 0 04-12-2006 02:27 AM
Access shell scripts from HTML page nhatch Shell Programming and Scripting 4 03-01-2005 11:48 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-26-2008
divzz divzz is offline
Registered User
  
 

Join Date: Mar 2008
Location: Bangalore
Posts: 20
Post html withing shell scripts,how??

Hi can anybody guide me to write html programs using shell script.
FYI: I use ksh.

Thanks in advance,
Divya
  #2 (permalink)  
Old 05-26-2008
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Staff  
Part Time Moderator and Full Time Dad
  
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
do you want to create web pages having functionality which is missing in bare HTML? If yes, then check out PHP or perl-CGI

If you want to create HTML files from a shell script, then let us know what the HTML would be (maybe a template would help).
  #3 (permalink)  
Old 05-26-2008
divzz divzz is offline
Registered User
  
 

Join Date: Mar 2008
Location: Bangalore
Posts: 20
Quote:
Originally Posted by Yogesh Sawant View Post
do you want to create web pages having functionality which is missing in bare HTML? If yes, then check out PHP or perl-CGI

If you want to create HTML files from a shell script, then let us know what the HTML would be (maybe a template would help).
Thanks for ur reply. Yes, I want to create HTML files from shell script. yes a template would be of great help.
  #4 (permalink)  
Old 05-28-2008
divzz divzz is offline
Registered User
  
 

Join Date: Mar 2008
Location: Bangalore
Posts: 20
Hey Yogesh I am waiting for your template buddy. Please send me a sample template.

Thanks,
Divya.
  #5 (permalink)  
Old 05-28-2008
divzz divzz is offline
Registered User
  
 

Join Date: Mar 2008
Location: Bangalore
Posts: 20
Quote:
Originally Posted by divzz View Post
Hey Yogesh I am waiting for your template buddy. Please send me a sample template.

Thanks,
Divya.

To be more precise I am using PuTTY SSH session.
  #6 (permalink)  
Old 05-28-2008
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Staff  
Part Time Moderator and Full Time Dad
  
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
Quote:
Originally Posted by divzz View Post
Hey Yogesh I am waiting for your template buddy. Please send me a sample template.

Thanks,
Divya.
when i mentioned template, i meant to refer to html that you wished to produce. something like:
Code:
<html>
<head>
    <title>Greetings</title>
</head>
<body>
Hi _name_
</body>
</html>
and then replace the _name_ with whatever value you want
  #7 (permalink)  
Old 05-28-2008
divzz divzz is offline
Registered User
  
 

Join Date: Mar 2008
Location: Bangalore
Posts: 20
Quote:
Originally Posted by Yogesh Sawant View Post
when i mentioned template, i meant to refer to html that you wished to produce. something like:
Code:
<html>
<head>
    <title>Greetings</title>
</head>
<body>
Hi _name_
</body>
</html>
and then replace the _name_ with whatever value you want
Hey Yogesh, I know to write HTML buddy, but I wanted something like how can I generate the same in PuTTY SSH client. Say When I run a shell script like sample.sh, It should generate a HTML file, the same way we do in Windows. Is there any way to accomplish that? or there no such things possible? please clear me with my doubt.

Thanks,
Divya
Closed Thread

Bookmarks

Tags
html, ksh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:19 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0