03-21-2009
This is an interesting post...
I am wondering if there is a shell utility like the poppler tools (which convert pdf format to text), which perform conversion of html to text? Maybe I am asking the same question please advise................................
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi guys,
am required to prepare a report and mail it, to make it more appealing :p i wish to have content of mail in rich text format i.e html type
with mailx how to specify the content type of mail body as html?
Thanks in advance!!!
rishi (2 Replies)
Discussion started by: RishiPahuja
2 Replies
2. UNIX for Dummies Questions & Answers
I have a html file called myfile. If I simply put "cat myfile.html" in UNIX, it shows all the html tags like <a href=r/26><img src="http://www>. But I want to extract only text part.
Same problem happens in "type" command in MS-DOS.
I know you can do it by opening it in Internet Explorer,... (4 Replies)
Discussion started by: los111
4 Replies
3. Shell Programming and Scripting
Hi All,
I'm trying to extract some floating point numbers from within some HTML code like this:
<TR><TD class='awrc'>Parse CPU to Parse Elapsd %:</TD><TD ALIGN='right' class='awrc'> 64.50</TD><TD class='awrc'>% Non-Parse CPU:</TD><TD ALIGN='right' class='awrc'> ... (2 Replies)
Discussion started by: pondlife
2 Replies
4. Shell Programming and Scripting
Hello,
i try to extract urls from google-search-results, but i have problem with sed filtering of html-code.
what i wont is just list of urls thay apears between ........<p><a href=" and next following " in html code.
here is my code, i use wget and pipelines to filtering. wget works, but... (13 Replies)
Discussion started by: L0rd
13 Replies
5. Shell Programming and Scripting
I am attempting to extract weather data from the following website, but for the Victoria area only:
Text Forecasts - Environment Canada
I use this:
sed -n "/Greater Victoria./,/Fraser Valley./p"
But that phrasing does not sometimes get it all and think perhaps the website has more... (2 Replies)
Discussion started by: lagagnon
2 Replies
6. Shell Programming and Scripting
Hi
I've searched for it for few hours now and i can't seem to find anything working like i want. I've got webpage, saved in file par with form like this:
<html><body><form name='sendme' action='http://example.com/' method='POST'>
<textarea name='1st'>abc123def678</textarea>
<textarea... (9 Replies)
Discussion started by: seb001
9 Replies
7. Shell Programming and Scripting
Hi Expert,
Is there any other way to print and write to a same filename the content between two html tags?
Here the sample:
cat file.html
<div id="outline">
hello world<br>
</div>
<div id="container_faq">
test1<br>
</div>
<div class="widget_quick">
thead test<br>
</div>
... (3 Replies)
Discussion started by: lxdorney
3 Replies
8. Shell Programming and Scripting
I'm extracting text between table tags in HTML
<th><a href="/wiki/Buick_LeSabre" title="Buick LeSabre">Buick LeSabre</a></th>
using this:
awk -F "</*th>" '/<\/*th>/ {print $2}' auto2 > auto3
then this (text between a href):
sed -e 's/\(<*>\)//g' auto3 > auto4
How to shorten this into one... (8 Replies)
Discussion started by: p1ne
8 Replies
9. Shell Programming and Scripting
Hi, Please see my code below i'm trying get an email send with attachment and html content in the body.
Using the code below will put the encoding for attachment in the body as well
SUBJECT="$(echo "XPI Monitoring "${tcnt}" transactions waiting \nContent-Type: text/html")"
cat... (3 Replies)
Discussion started by: bhoshan
3 Replies
10. Shell Programming and Scripting
Hi
I have file like this:
jack black 104
daniel nick 75
lily harm 2
albert 5
and need to convert it into the html table like this:
NO.......name....family..... id
1...........jack.....black.....104
2..........daniel....nick.......75
3..........albert.................5
i mean... (5 Replies)
Discussion started by: indeed_1
5 Replies
LEARN ABOUT REDHAT
mailpost
MAILPOST(1) General Commands Manual MAILPOST(1)
NAME
mailpost - feed an email message into a news group
SYNOPSIS
mailpost [ -r addr ] [ -f addr ] [ -a addr ] [ -d distribution ] [ -m mailing-list ] [ -b database ] newsgroups
DESCRIPTION
The mailpost program reads a properly formatted email message from stdin and feeds it to inews for posting to a news server. Before feeding
the article to inews it checks that the article has not been seen before, and it changes some headers (cleans some address headers up and
puts ``X-'' in front of unknown headers).
If the article has been seen before (mailpost records the message-id of all articles is handles), the the article will be silently dropped.
Other errors will cause the article to be mailed to the newsmaster.
Normally mailpost is run by sendmail via an alias entry:
local-mail-wreck-bikes: "|<PREFIX specified with --prefix at configure>/bin/mailpost
-d local local.mail.rec.bicycles.racing"
newsgroups cannot be multiple groups. Only one newsgroup name is allowed.
OPTIONS
-r If the ``-r'' flag is used the program will use the given address as the Path header, if no other value can be determined.
-f The ``-f'' flag is a synonym for the ``-r'' flag.
-a If the ``-a'' flag is used the value given is added to the article as an Approved header.
-d If the ``-d'' flag is used the value given is added to the article as a Distribution header.
-m If the ``-m'' flag is used the value given is added to the articles in a Mailing-List header, if a Mailing-List header doesn't
already exist.
-b IF the ``-b'' flag is used, then it defines the location of the database used to store the message ids of articles sent on. This is
to prevent articles looping around if a news to mail gateway sends them back here. This option may be required if the mailpost
process doesn't have write access to the news tmp directory (the value of pathtmp in inn.conf(5).
HISTORY
Written by Paul Vixie long ago and then hacked up by James Brister for INN integration. This is revision 1.2.2.3, dated 2001/09/22.
FILES
<pathdb in inn.conf>/mailpost-msgid.db database file
BUGS
Is lacking in configurability.
SEE ALSO
active(5), inn.conf(5), nnrpd(8), wildmat(3).
MAILPOST(1)