Jose Alves De Castro wrote:
> On Mon, 2004-08-09 at 14:53, David Dorward wrote:
>> On 9 Aug 2004, at 14:34, SilverFox wrote:
>>
>> > Hi all, I'm trying to writing a script that will allow a user to enter
>> > a
>> > number and that number will be c
Hi all, I'm trying to writing a script that will allow a user to enter a
number and that number will be converted into KB,MB or GB depending on the
size of the number. Can someone point me in the right direction?
Example:
user enter: 59443
Script will output: 58M
SilverFox
-
Hi all, I'm trying to figure out how can I check if a variable matches the
first 5 digits of the line below without removing anything from the line.
13384 R 20020920 N Gatekeeper, The
Silver Fox
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all, i'm trying to figure out how I can check for duplicates entries in
an array and remove the duplicate.
Example:
23,23,39,40,44,44
should result in:
23,39,40,44
I'm reading from a file and assigning it to an array.
Silver Fox
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
Hi all, i'm trying to figure out how to test if a number is five digits and
if not add zero/s in front to make it 5 digits. Any ideas?
Examples:
444 = 00444
4120 = 04120
23 = 00023
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hey guys, i'm trying to grep some data from a log file and getting the
following error. Any ideas???
[EMAIL PROTECTED] perl -e 'grep \"Eliminating movie\" update.log |awk {'print
\$5'}';
Can't find string terminator '"' anywhere before EOF at -e line 1.
--
To unsubscribe, e-mail: [EMAIL PROTE
Thanks budwill look into that..
Ramprasad A Padmanabhan wrote:
> Silverfox wrote:
>> hey guys, I'm trying to figure out how to stripe "Anything Else",
>> "7:15pm" and "9:50pm" from the below html code. Any ides?
>>
>> > hre
hey guys, I'm trying to figure out how to stripe "Anything Else", "7:15pm"
and "9:50pm" from the below html code. Any ides?
Anything Else (R, 108 min.)https://tickets.moviefone.com/ticketing/order.adp?movieid=16038&theaterid=757&showdate=20030929&showtime=1915&screenId=3
>7:15pm | https://tic
can anyone tell me how I can remove the period at the end of each line
below??
.
.
.
.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jeff 'Japhy' Pinyan wrote:
> On Aug 17, SilverFox said:
>
>>Hi all...how can I pull the number from the given path??
>>
>>/Machine4/dir/dir/dir
>
> Well, it's a little vague, but perhaps all you want is
>
> my ($num) = $path =~ /(\d+)/;
>
David Storrs wrote:
> On Mon, Aug 11, 2003 at 09:42:40AM -0400, Stephen Gilbert wrote:
>> > -Original Message-
>> > From: SilverFox [mailto:[EMAIL PROTECTED]
>> > Sent: Sunday, August 10, 2003 4:58 PM
>> > To: [EMAIL PROTECTED]
>> > Subje
Hi all...how can I pull the number from the given path??
/Machine4/dir/dir/dir
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hey anyone know how to check if a file exists using the Telnet module?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jeff Westman wrote:
>
> --- SilverFox <[EMAIL PROTECTED]> wrote:
>> Hey can someone help me figure out why the value of $file_exists won't
>> change even when the file is mssing Thx.
>>
>> #!/usr/bin/perl -w
>> $out="/home/laptop/scripts/
Hey can someone help me figure out why the value of $file_exists won't
change even when the file is mssing Thx.
#!/usr/bin/perl -w
$out="/home/laptop/scripts/perl/logs/resetmf.log";
open OUT, ">>$out" or die "Unable to open $out :$!";
@site=("Machine1","Machine2");
#telnet
use Net::Telnet;
$
Hi all, I'm looking for the best way to search/test multiple directories
for a specific file and exec a command depending on which directory is
missing the file. any advice?
ex:
(I'm searching for "filename" in the following dir)
/dir1/file/search
/dir2/file/search
/dir3/file/search/filename
co
Silverfox wrote:
> Sanko Robinson wrote:
>
>> "Silverfox" wrote...
>> : hey All, am trying to use the Aim module and getting this error:
>> : Code =
>> : #!/usr/bin/perl -w
>> :
>> : use Net::AIM;
>> : $aim
Sanko Robinson wrote:
> "Silverfox" wrote...
> : hey All, am trying to use the Aim module and getting this error:
> : Code =
> : #!/usr/bin/perl -w
> :
> : use Net::AIM;
> : $aim = new Net::AIM;
> : $aim->newconn(Screenname =>'anything&
Sanko Robinson wrote:
> "Silverfox" wrote...
> : hey All, am trying to use the Aim module and getting this error:
> : Code =
> : #!/usr/bin/perl -w
> :
> : use Net::AIM;
> : $aim = new Net::AIM;
> : $aim->newconn(Screenname =>'anything&
lib/perl5/site_perl/5.6.1/Net/AIM/Connection.pm line 781.
(in cleanup) No method called "handler" for object. at ./aim.pl
line 0
--
Please reply to "[EMAIL PROTECTED]"
~SilverFox
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
20 matches
Mail list logo