Hi,
In my shell script, I have 2 time strings
I want to compare those 2 times, and determine if the second string has a larger time that the first one
so if string 1 is 1:12 and string 2 is 2:03
then the script should state that string 2 is larger
if string 1 is 1:02 and string 2 is 46
then the script should state that string 2 is smaller
I don't want to use perl for this, if possible
thanks
--------------------------------------------------------------------
How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter?
---------------------------------------------------------------------
---------------------------------------------------------------
In my shell script, I have 2 time strings
I want to compare those 2 times, and determine if the second string has a larger time that the first one
so if string 1 is 1:12 and string 2 is 2:03
then the script should state that string 2 is larger
if string 1 is 1:02 and string 2 is 46
then the script should state that string 2 is smaller
I don't want to use perl for this, if possible
thanks
--------------------------------------------------------------------
How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter?
---------------------------------------------------------------------
---------------------------------------------------------------