--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Bob, and thanks RF. I used seek and tell, and now have the data
as part of a module.
Paul
On Wed, Feb 05, 2003 at 05:13:24PM -0500, Bob Showalter wrote:
From: Bob Showalter [EMAIL PROTECTED]
To: 'Paul Tremblay' [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: how to set up
, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
found any straightforward
documentation.
Thanks
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
times. I am working with
someone else, and he has also checked.
(Of course, there is always the possibilithy that I am still wrong!)
Thanks
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED
install
make test
and have everything working right.
Thanks
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, the script needs to put this dtd some place,
and needs to know where it is.
Thanks
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
on perldoc.com for
usage::pod, but this link is broken.
(I read your tutorial, Drieux, but it was a bit too advanced for me!)
Thanks
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
, e-mail: [EMAIL PROTECTED]
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
lines above should look like:
#x2003;
#x2660;
Thanks
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Wed, Aug 21, 2002 at 11:43:43AM -0700, drieux wrote:
On Wednesday, August 21, 2002, at 10:06 , Paul Tremblay wrote:
I am writing a script that converts RTF to XML, and this script needs
to read an external data file to form a hash. I plan to make this
script available to anyone who
, the script outputs to standard output. Future versions might
require that the script make one run through the file, write to a temp
file, then make a run through the temp file. Where should I put this
temp file (if I need to make one, that is)?
Thanks
Paul
--
*Paul Tremblay
only known
to the morons at micro$oft, they changed this code in word 97 and
2000.
Thanks
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
of
the water when it comes to munging text.
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Sat, Aug 03, 2002 at 10:58:24AM +0200, Paul Johnson wrote:
On Fri, Aug 02, 2002 at 02:08:25AM -0400, Paul Tremblay wrote:
(I know I did a little test with sed, a python script, and a perl
script, just changing the word the to teh in a huge file. Sed and
python took about he same
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
script, just changing the word the to teh in a huge file. Sed and
python took about he same time, while perl was six times faster.)
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
there.
But nedit is also a good choice as an editor. It is very intuitive and also
powerful.
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
Or this just occurred to me:
s[()|()|()|\\($rx)][$rep{$1}/]go;
Yea, that should work!
I also realize that I shouldn't initialize my hashes in my subroutines.
Making them global should also speed up my script a bit.
Thanks!
Paul
--
*Paul Tremblay *
*[EMAIL
;
.
);
Then you solution shold work. I planned to change my hash, but I guess I
got ahead of myslef in my email!
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
= \hash_method,
};
# end of the world as I knew it [EMAIL PROTECTED] all rights reserved
###
On Jul 26, Paul Tremblay said:
Is there a quicker way to substitute an item in a line than reading the
line in each time?
I am writing a script to convert RTF
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
'
' brackets'
'\}'
''
'\\'
'\\escaped_back_slash'
'\par'
'
Thanks
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the only free utilities for converting rtf to xml are a java
utility call majix, which deletes your footnotes and only allows
for 9 user-defined styles. If my perl script is too slow, it won't be
very useful.
Thanks
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Rises} \par
I tried this on my big document, and it took only 4 tenths of a
second.
In sum, I am thinking that the regex are so super fast in perl
that it I choose carefully what to substitute first, I can parse
my document much faster.
Thanks!
--
*Paul Tremblay
a question with
an example line, and the same example line was used; I chose two variables, and the
same two variables were used. I kept having to say no they didn't use your code you
posed a few hours ago.
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
website. It appears that this module is broken.
That is, it can't handle certain html (which is valid when looked
at in a browser).
I think I'm ready to try other filters (those not in perl).
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED
module already written.
Converting html to text seems like such a common task, that there
ought to be some robust scripts out there. Interestingly enough,
I found many scripts to convert html to rtf and LaTeX and every
other format, but not plain old text!
Paul
--
*Paul
put a * before list items, might
apporxtimate tables, etc.
No sense in hacking something together when someone problably
wrote a powerful version.
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED
' subroutine. If I put the anonymous
subroutine within the 'new' subroutine block, then the script
executes correctly, and I still make sure that you can't
increment the value of the number of CDs directly.
Thanks!
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED
me it
can't find the module. If I use
use lib /home/paul/perl5;
Then I don't get an error message.
How do I set a permanent path for my own personal library?
Thanks
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e
where I put it.
Thanks!
PS: Typos in computer books can really cause you to lose your
mind. You keep thinking that you typed something wrong!
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED
object oriented
langauge.
Thanks!
Paul
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
*Paul Tremblay *
*[EMAIL PROTECTED]*
--
To unsubscribe, e-mail: [EMAIL
42 matches
Mail list logo