Re: pound sign trouble

2003-07-08 Thread $Bill Luebkert
Michael Higgins wrote: Allegakoen, Justin Devanandan wrote: Peter, I was playing around with this earlier. Heres what I get:- Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Perl\Programsperl -e print ord(''); 163 C:\Perl\Programsperl -e print chr(163);

RE: [Perl-unix-users] Telnet to AIX

2003-07-08 Thread Mundell, R. (Ronald)
Title: Telnet to AIX what does the -a do, the aix server has the same setting -Original Message-From: Sullivan, Patrick [mailto:[EMAIL PROTECTED]Sent: 07 July 2003 04:36 PMTo: Mundell, R. (Ronald); Perl-Unix-Users (E-mail); Perl-Win32-Users (E-mail)Subject: RE:

Re: pound sign trouble

2003-07-08 Thread Sisyphus
- Original Message - From: Peter Guzis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 11:30 AM Subject: RE: pound sign trouble My Windows 2000 box exhibits the same behavior. I believe you are running into an ancient limitation of the DOS shell. DOS and its

Re: Quote

2003-07-08 Thread Sisyphus
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 12:19 AM Subject: Quote THIS E-MAIL CONTAINS CONFIDENTIAL AND PRIVILEGED INFORMATION = Hi all: I have this perl script

Re: pound sign trouble

2003-07-08 Thread csaba . raduly
On 08/07/2003 02:20:33 perl-win32-users-admin wrote: Allegakoen, Justin Devanandan wrote: Peter, I was playing around with this earlier. Heres what I get:- Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Perl\Programsperl -e print ord('£'); 163

Re: pound sign trouble

2003-07-08 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: If you redirect that output to a file and then look at the file with an editor (Vim in my case), This depends on the editor, DOS-based editors may interpret 156 as the pound sign whereas Windows-based ones (e.g. Notepad) will display 163 as the pound sign.

Re[2]: Displaying a status bar

2003-07-08 Thread Lee Goddard
0002 $| = 1;... 5010 $Workbook-SaveAs($path); 5020 $Workbook-Close(); 5030 $Excel-Quit(); 5040 print scriptsetPercent(100)/script; 5050 print h2(Query Completed); 5060 print $r-end_html; Sorry, I don't know the JavaScript you're talking about. But, What happens if you

RE: download patches.

2003-07-08 Thread FARRINGTON, RYAN
Title: RE: download patches. Janardhan, We are working on the same solution... The XML file from shavlik is a little better to play with but microsoft in their infinate wisdom allowed Shavlik to make the XML file so convoluted that it is almost imposible (from my side at least) to get the

case insensitive index() ?

2003-07-08 Thread =James Birkholz=
Is there a way to do an index function that is case-insensitive? For example: sub stripTag { my $startTag = $_[0]; my $endTag = $_[1]; while (index($content, $startTag)0) { my $first = substr($content, 0, index($content, $startTag) ); my

RE: case insensitive index() ?

2003-07-08 Thread Joseph Discenza
=James Birkholz= wrote, on Tuesday, July 08, 2003 9:54 AM : Is there a way to do an index function that is case-insensitive? sub stripTagCaseInsensitive { my $startTag = lc($_[0]); my $endTag = lc($_[1]); my $contentCI = lc($content); while (index($contentCI,

Re: pound sign trouble

2003-07-08 Thread Michael Higgins
$Bill Luebkert wrote: [snip ugly code and verbiage] Or just put it all in a RE and substitute: foreach ... $line =~ s/([\d,]+)/{ my $tmp = $1; $tmp =~ s#,##g; $_ = sprintf '$%.02f', $tmp * $rate }/e; print ... } or maybe more readable: $line =~ s#

RE: Displaying a status bar

2003-07-08 Thread Hsu, David
Mark, I set buffering to off ($| = 0) just before saving Excel Workook, it seems to do what I want it to do. Even though I'm not setting the status bar to 100, it seems to disappear smoothly when the processing is done. BTW, here is how I am looping to increment the status bar. $n=0; While ($i)

RE: Displaying a status bar

2003-07-08 Thread Thomas, Mark - BLS CTR
Mark, I set buffering to off ($| = 0) just before saving Excel Workook, it seems to do what I want it to do. Even though I'm not setting the status bar to 100, it seems to disappear smoothly when the processing is done. Coincidence. It happens to go over 100 near the end of your loop,

Re: pound sign trouble

2003-07-08 Thread Dirk Bremer \(NISC\)
- Original Message - From: $Bill Luebkert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 05:05 Subject: Re: pound sign trouble [EMAIL PROTECTED] wrote: If you redirect that output to a file and then look at the file with an editor (Vim in my case), This

Re: case insensitive index() ?

2003-07-08 Thread Carl Jolley
On Tue, 8 Jul 2003, =James Birkholz= wrote: Is there a way to do an index function that is case-insensitive? For example: sub stripTag { my $startTag = $_[0]; my $endTag = $_[1]; while (index($content, $startTag)0) { my $first = substr($content, 0,

RE: [Perl-unix-users] Telnet to AIX

2003-07-08 Thread Sullivan, Patrick
More info: http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/cmds/aixcmds5/telnetd.htm . . . Flags -a Causes the PTY and socket to be linked directly in the kernel so that the data handling remains in the kernel to improve the performance . . . For use some of our client software just

RE: pound sign trouble

2003-07-08 Thread Frazier, Joe Jr
Message: 19 From: Sisyphus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: pound sign trouble Date: Tue, 8 Jul 2003 16:55:46 +1000 - Original Message - From: Peter Guzis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 11:30 AM Subject: RE: pound

RE: Displaying a status bar

2003-07-08 Thread Hsu, David
Should've known there's always a correct way. I was just adding the increments without realizing the percentage bar numbers. Took your advice and used setPercent() and removed the sleep(), and left buffering on. Works great. Thanks again, David -Original Message- From: Thomas, Mark -

RE: case insensitive index() ?

2003-07-08 Thread =James Birkholz=
Thanks, Joseph, I'll chew on this tonight. I didn't start by trying a regex, as $content still has many \n in it, but in researching your use of the \Q (which isn't in my tutorial book), I ran across the s modifier. Or I could change all the \n to placeholders and then change them back later.

RE: download patches.

2003-07-08 Thread Peter Guzis
I tried this once and gave up due to lack of time. While parsing XML data can be fun, I think you will find it much easier to parse the hfnetchk output than try to sort through the monster XML file it uses. A larger problem is how to download patches. Microsoft does not use one standard web

RE: download patches.

2003-07-08 Thread Edgington, Jeff
Not sure if you have investigated Microsoft's Software Update Services (SUS - http://www.microsoft.com/windows2000/windowsupdate/sus/default.asp)... it may be what you are looking to achieve. jeff e. -Original Message- From: Peter Guzis [mailto:[EMAIL PROTECTED] Sent: Tuesday, July

module to show the owner of a file

2003-07-08 Thread Mohammed Gazal
Hello all, Is there a perl module or function which gives me the owner of a file and Directory on both win 2000 and win nt? Thxs, Mohammed Gazal. Register for the Interwoven 6 Launch - putting your content to work http://www.interwoven.com/launch03

RE: download patches.

2003-07-08 Thread Messenger, Mark
Title: RE: download patches. SUS is your friend: http://www.microsoft.com/windows2000/windowsupdate/sus/default.asp I run this on a little over 1100 computers and it makes my life sooo much easier. Key points: Web based server management Controlled distribution GPO based (or registry