9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Below is the data file(results) contents-
13450708,13470474,US,15
24954,24845,JPN,44
14258992,14365059,US,4
24954,24845,IND,44
I want to send above data sets to email in a tabular format. For that I am using below awk script. Now the challenge I am facing here is - I want to make the... (2 Replies)
Discussion started by: Roseline
2 Replies
2. UNIX for Advanced & Expert Users
I have tried only 4 types of bulletins in Html using unix
circle, square,disc,li
Do we have any other than these in unix? (2 Replies)
Discussion started by: cassia
2 Replies
3. Shell Programming and Scripting
Hi All,
I'm new to this forum. This is my first question. I'm trying to automate the status related information in our environment. So this is how the output would be.
SEGMENT SERVER PORT1 PORT2 PORT3 PORT4 PORT5
ACS acscsa01 up up up up up
All... (2 Replies)
Discussion started by: anand.aswini
2 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I am trying to generate a weekly HTML report using LINUX Scripting. This will have record counts of some files. (like below)
touch path/filename.html
echo "Weekly Summary Report for Business Date : $P_BUS_DT">path/filename.html
export A1=`cat path/filename1.txt |wc -l`
echo "A1... (6 Replies)
Discussion started by: dsfreddie
6 Replies
5. Shell Programming and Scripting
Hello can anyone help me parse this line.
<tr><td>United States of America</td><td>Dollar</td><td>43.309</td></tr><tr><td>Japan</td><td>Yen</td><td>0.5579</td></tr>
the line above did not break.
so i would like to have a result like this
United States of America
Dollar
43.309
Japan... (3 Replies)
Discussion started by: doomsayer16
3 Replies
6. Shell Programming and Scripting
Hello everyone I am writing a cgi script in bash/html. I am trying something new with this one I have seperated the html code from the scripting. The html code is found in text files on the drive and the scripting is only one script in the cgi bin and i am using
"<select multiple name="state"... (3 Replies)
Discussion started by: wlane7878
3 Replies
7. Shell Programming and Scripting
Hai friends
I have a small doubt..
how can we use html tag in shell scripting
code :
echo "<html>"
echo "<body>"
echo " welcome to peace world "
echo "</body>"
echo "</html>"
output displayed like this:
<html>
<body>
welcome to peace world
</body>
</html> (5 Replies)
Discussion started by: jrex1983
5 Replies
8. Shell Programming and Scripting
Hello,
is there a way to go through a file and remove certain html tags with bash? If it needs sed or awk, that'll do too.
The reason why I want this is, because I have a monitor script which generates a logfile in HTML and every time it generates a logfile, the tags are reproduced. The tags... (4 Replies)
Discussion started by: dejavu88
4 Replies
9. Shell Programming and Scripting
I have a bash script (it downloads images and saves them) that I want to call from a link on a web page. I cant seem to make this work:mad: ? It works fine if I call it from command prompt. Any help much apprieciated.... (1 Reply)
Discussion started by: Leahy
1 Replies
HTML::WikiConverter::MediaWiki(3pm) User Contributed Perl Documentation HTML::WikiConverter::MediaWiki(3pm)
NAME
HTML::WikiConverter::MediaWiki - Convert HTML to MediaWiki markup
SYNOPSIS
use HTML::WikiConverter;
my $wc = new HTML::WikiConverter( dialect => 'MediaWiki' );
print $wc->html2wiki( $html );
DESCRIPTION
This module contains rules for converting HTML into MediaWiki markup. See HTML::WikiConverter for additional usage details.
ATTRIBUTES
In addition to the regular set of attributes recognized by the HTML::WikiConverter constructor, this dialect also accepts the following
attributes:
preserve_bold
Boolean indicating whether bold HTML elements should be preserved as HTML in the wiki output rather than being converted into MediaWiki
markup.
By default, <b> and <strong> elements are converted to wiki markup identically. But sometimes you may wish <b> tags in the HTML to be
preserved in the resulting MediaWiki markup. This attribute allows this.
For example, if "preserve_bold" is enabled, HTML like
<ul>
<li> <b>Bold</b>
<li> <strong>Strong</strong>
</ul>
will be converted to
* <b>Bold</b>
* '''Strong'''
When disabled (the default), the preceding HTML markup would be converted into
* '''Bold'''
* '''Strong'''
preserve_italic
Boolean indicating whether italic HTML elements should be preserved as HTML in the wiki output rather than being converted into MediaWiki
markup.
For example, if "preserve_italic" is enabled, HTML like
<ul>
<li> <i>Italic</i>
<li> <em>Emphasized</em>
</ul>
will be converted to
* <i>Italic</i>
* ''Emphasized''
When disabled (the default), the preceding HTML markup would be converted into
* ''Italic''
* ''Emphasized''
preserve_templates
Boolean indicating whether "{{template}}" calls found in HTML should be preserved in the wiki markup. If disabled (the default), templates
calls will be wrapped in "<nowiki>" tags.
preserve_nowiki
Boolean indicating whether "<nowiki>" tags found in HTML should be preserved in the wiki markup. If disabled (the default), nowiki tags
will be replaced with their content.
pad_headings
Boolean indicating whether section headings should be padded with spaces (eg, "== Section ==" instead of "==Section=="). Default is false
(ie, not to pad).
AUTHOR
David J. Iberri, "<diberri at cpan.org>"
BUGS
Please report any bugs or feature requests to "bug-html-wikiconverter-mediawiki at rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter-MediaWiki>. I will be notified, and then you'll automatically be
notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc HTML::WikiConverter::MediaWiki
You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/HTML-WikiConverter-MediaWiki>
o CPAN Ratings
<http://cpanratings.perl.org/d/HTML-WikiConverter-MediaWiki>
o RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-MediaWiki>
o Search CPAN
<http://search.cpan.org/dist/HTML-WikiConverter-MediaWiki>
COPYRIGHT & LICENSE
Copyright 2006 David J. Iberri, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.0 2009-05-29 HTML::WikiConverter::MediaWiki(3pm)