Hi perl users,
I have ftp some files from NT to unix and it has put all my files in lowercase.
Is there a way to use the perl command line to uppercase all my files.
should be something perl -p -e ??? *
output would be fileato FILEA
I know how to use sed buit I dont
How do I compare a timestamp using a logical operator >?
here is the problem I want to find any errors in my log from the last hour.
The log file has a timestamp with the local time format.
Wed Apr 11 22:05:09 2001
localtime(time-360)<'Wed Apr 11 22:05:09 2001'
How can I make the string
00; #once again roll up the time into a numeric value
$date=$date+($date[3]*100);
$date=$date+($date[2]);
#print $date
if ($date < $time){ print;}#compare the time value and if older then 1 hr print .
}
}
Thank You
Dennis Smith
SAP Tech Team
484 563 2389
[EMAIL PROTECTED]
__