On Thu, 28 Dec 2000, Binand Raj S wrote:

> You can ask date to print output in a comparable format; like
> 
> if [ $( date '+%Y%m%d%H%M%S' ) -gt 20001226000000 ]; then
>    echo 'Oops! Forgot all about Christmas presents'
> fi

hi,
 thanks, I did not know one could select the format in which the date is
printed. But actually I was interested in parsing the dates in mbox.
Anyway else than regex parsing ?

sreangsu


----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to