Hello Everyone:
I'm trying determine the best way to check if a file name is contained
within a couple of larger files. I can do a grep from the command line
but, what's the fun of that!? Plus there's about a hundred files which
would be tedious.
Here's my coding attempt:
$dirname = "/var/
Hi All:
If I have files like the following:
checking: env-20010712-0
checking: env-20010712-1
checking: env-20010712-10
checking: env-20010712-11
checking: env-20010712-12
checking: env-20010712-13
checking: env-20010712-14
checking: env-20010712-15
checking: env-20010712-16
checking: env-20010
y 18, 2001, at 05:33 PM, Jeff 'japhy/Marillion' Pinyan
wrote:
> On Jul 18, Groove Salad said:
>
>> checking: env-20010712-0
>> checking: env-20010712-1
>> checking: env-20010712-10
>> checking: env-20010712-11
>> checking: env-20010712-12
> [sn
olfiles = map retrieve($_),
sort map normalize($_), @controlfiles;
foreach my $ctrlfile ( @sorted_controlfiles )
{
print "checking: $ctrlfile for message, $msgfile\n";
}
}
close(CONTROL);
I must be missing something.
gS
On Wednesday, July 18, 2001, at 06:17 PM, Jeff 'japhy/Marillion&
Yep-- That did it.
THANK YOU!
gS
On Wednesday, July 18, 2001, at 09:35 PM, Jeff 'japhy/Marillion' Pinyan
wrote:
> On Jul 18, Groove Salad said:
>
>> sub normalize
>> {
>> my $file = shift;
>> my $s = sprintf("%02d",$1);
>
Hi,
I've been reading the latest post regarding the Date::Calc module with
great interest.
My question is this:
Is there a way using Date::Calc to determine all the files in a DIR that
have not been accessed or modified in the last xx number of days? I
thought it would also require the use of
Greetings all,
I am trying to assign the results of a background process to $variable.
I can't seem to get the correct syntax, could one of you good people
assist?
Below is a snippet of what I have ( running on Solaris 2.6 ), I know
there are more elegant ways to do this. I'm open to any sugge