Hi,
is there anyway by which one can compare 2 date strings as returned by
"date" in bash.
I can ofcourse parse it with something like
"^(???) (???) ([1-9]*) (([1-9]*:)*)([1-9]*) .* [1-9]*$"
Thu Dec 28 17:19:35 IST 2000
and then compare the year month and day. But I am looking for a simpler
solution ( i.e without parsing )
thanks in advance
sreangsu
p.s.
No Perl please ;)
--
----------------------------------------------
Find out more about this and other Linux India
mailing lists at http://lists.linux-india.org/