[Perl-unix-users] command interpreter uppercase files

2001-02-09 Thread Dennis Smith
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

[Perl-unix-users] Compare timestamp using localtime objects

2001-04-12 Thread Dennis Smith
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

[Perl-unix-users] lpstat.pl need help simplifing this code

2001-08-27 Thread Dennis Smith
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] __