05-26-2008
Quote:
Originally Posted by
Yogesh Sawant
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.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need (have been asked/order/instructed) to migrate the access of a number of ksh scripts into a html/web page environment. Currently access is with the user logging onto a unix box and accessing the scripts that way. The users are not unix people so I have restricted the access solely to... (4 Replies)
Discussion started by: nhatch
4 Replies
2. AIX
Hi,
Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies
3. Shell Programming and Scripting
Good day, everyone!
I've got a small question to ask. If I'm getting the value for variable in following way:
LINE=$(grep "search word" myfile)
How can I access the n-th word on this line?
Thank you in advance for any explanations. (4 Replies)
Discussion started by: Nafanja
4 Replies
4. Shell Programming and Scripting
Hello gurus,
I have three korn shell script 3.1, 3.2, 3.3. I would like to call three shell script in one shell script.
i m looking for something like this
call 3.1;
If 3.1 = "complete" then
call 3.2;
if 3.2 = ''COMPlete" then
call 3.3;
else
exit
The... (1 Reply)
Discussion started by: shashi369
1 Replies
5. Shell Programming and Scripting
Hi all,
I'm using awk in a .ksh script to split one file by line prefix into different files (up to 4). The files are named after the prefix in the line, and a sequence no.
Is there any way to get the filenames in to variables too? I need _ftpfile1, _ftpfile2, _ftpfile3 and _ftpfile4 which are... (2 Replies)
Discussion started by: spidermike
2 Replies
6. Shell Programming and Scripting
Hello
I'm trying to develop a shell script that executes commands such as cat / etc / fstab uname, etc. ..... which generates me an output file format html own way.
Currently the shell script with the commands there, I have some notions of html but the generation of my html file is not clean at... (2 Replies)
Discussion started by: ddtseb
2 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
How might I go about writing a program that will read all input as an HTML file, and subsequently strip all HTML, embedded scripts and style sheets from its input, leaving only text as the output?
I am a beginner, so the simpler, the better.
Thanks for any advice :) (4 Replies)
Discussion started by: Molly.P.
4 Replies
8. Solaris
I am trying to use an awk command within a ksh script but it is not working - I am able to run from command line with no problem. It does not err out - it just does not produce a file with final count.
awk "{s+=$0} END {print s}" es.out > es.cntAny help would be greatly appreciated. Thanks (6 Replies)
Discussion started by: bjdamon
6 Replies
9. Shell Programming and Scripting
RHEL 6.2/Bash shell
root user will be executing the below script. It switches to oracle user and expect to do the following things
A. Source the environment variables for BATGPRD Database (the file used for sourcing is shown below after the script)
B. Shutdown the DB from sqlplus -- The... (13 Replies)
Discussion started by: omega3
13 Replies
10. Shell Programming and Scripting
Hi,
I made a script that displays various fileds of report that are required in csv format and send it on mail(the csv file). Now I want to convert the csv format into html table and then send it on mail.
Reports_Output.csv
Code:... (6 Replies)
Discussion started by: Supriya Singh
6 Replies
LEARN ABOUT DEBIAN
html::template::pro
HTML::Template::Pro(3pm) User Contributed Perl Documentation HTML::Template::Pro(3pm)
NAME
HTML::Template::Pro - Perl/XS module to use HTML Templates from CGI scripts
SYNOPSIS
It is moved out and split.
See "SYNOPSIS" in HTML::Template::SYNTAX for introduction to HTML::Template and syntax of template files.
See "SYNOPSIS" in HTML::Template::PerlInterface for perl interface of HTML::Template, HTML::Template::Expr and HTML::Template::Pro.
DESCRIPTION
Original HTML::Template is written by Sam Tregar, sam@tregar.com with contributions of many people mentioned there. Their efforts caused
HTML::Template to be mature html tempate engine which separate perl code and html design. Yet powerful, HTML::Template is slow, especially
if mod_perl isn't available or in case of disk usage and memory limitations.
HTML::Template::Pro is a fast lightweight C/Perl+XS reimplementation of HTML::Template (as of 2.9) and HTML::Template::Expr (as of 0.0.7).
It is not intended to be a complete replacement, but to be a fast implementation of HTML::Template if you don't need querying, the extended
facility of HTML::Template. Designed for heavy upload, resource limitations, abcence of mod_perl.
HTML::Template::Pro has complete support of filters and HTML::Template::Expr's tag EXPR="<expression>", including user-defined functions
and construction <TMPL_INCLUDE EXPR="...">.
HTML::Template work cycle uses 2 steps. First, it loads and parse template. Then it accepts param() calls until you call output().
output() is its second phase where it produces a page from the parsed tree of template, obtained in the 1st step.
HTML::Template::Pro loads, parse and outputs template on fly, when you call $tmpl->output(), in one pass. The corresponding code is written
in C and glued to Perl using Perl+XS. As a result, comparing to HTML::Template in ordinary calls, it runs 10-25 times faster. Comparing to
HTML::Template with all caching enabled under mod_perl, it still 1-3 times faster. At that HTML::Template caching requires considerable
amount of memory (per process, shareable, or on disk) to be permanently filled with parsed trees, whereas HTML::Template::Pro don't
consumes memory for caches and use mmap() for reading templates on disk.
Introduction to HTML::Template and syntax of template files is described in HTML::Template::SYNTAX. Perl interface of HTML::Template and
HTML::Template::Pro is described in HTML::Template::PerlInterface.
SEE ALSO
HTML::Template::SYNTAX, HTML::Template::PerlInterface.
Progect page is http://html-tmpl-pro.sourceforge.net
(and http://sourceforge.net/projects/html-tmpl-pro)
Original modules are HTML::Template, HTML::Template::Expr. Their progect page is http://html-template.sourceforge.net
BUGS
See "BUGS" in HTML::Template::PerlInterface
AUTHOR
I. Vlasenko, <viy@altlinux.org>
with contributions of Bruni Emiliano, <info at ebruni.it> Stanislav Yadykin, <tosick at altlinux.ru> Viacheslav Sheveliov <slavash at
aha.ru> Shigeki Morimoto <shigeki.morimoto at mixi.co.jp> Kirill Rebenok <kirill at rebenok.pl>
COPYRIGHT AND LICENSE
Copyright (C) 2005-2009 by I. Yu. Vlasenko. Pieces of code in Pro.pm and documentation of HTML::Template are copyright (C) 2000-2002 Sam
Tregar (sam@tregar.com)
The template syntax, interface conventions and a large piece of documentation of HTML::Template::Pro are based on CPAN module
HTML::Template by Sam Tregar, sam@tregar.com.
This library is free software; you can redistribute it and/or modify it under either the LGPL2+ or under the same terms as Perl itself,
either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2012-02-28 HTML::Template::Pro(3pm)