procmail
[Top] [All Lists]

Re: -gt again

2005-04-04 04:04:36
Good day David,

Am 2005-04-03 22:01:40, schrieb David W. Tamkin:

 * [ `date +%s` -lt 1113484356 ]

and I replied,

| * $ -`date +%s`^0
| * 1113484356^0

This works already...  :-)

But I notice that Michelle said "-gt" in the subject line but "-lt" in 
the example, and in the description she said that the time has to be 
bigger than the preset number.  So to simulate -gt, move the minus sign:

 * $ `date +%s`^0
 * -1113484356^0

Thanks, for the example... 

I have read the procmail documentation, but I have not
understood how ^0 and the other stuff is working...

With either, there's a Y2038 problem, but there is with most versions of 
 date(1) as well.

:-)

I think, I will have other problems bevore...

This message was already copied to my .Linux.procmail/ directory.

First message succeeded.

Thanks and have a nice week
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>