The last couple of days the mh-format %(clock{date}) function is returning
non integer values.  For example...

% scan -format '%(msg) %{date} %(clock{date}) ' +inbox/cron/sachiko

1 Mon, 10 Sep 2001 10:45:03 -0400 709281369 
2 Mon, 10 Sep 2001 11:00:03 -0400 709282006 
3 Mon, 10 Sep 2001 11:15:04 -0400 709282645 
4 Mon, 10 Sep 2001 11:30:07 -0400 709283286 
5 Mon, 10 Sep 2001 11:45:03 -0400 70928391= 
6 Mon, 10 Sep 2001 12:00:03 -0400 70928455; 


Also notice that %(timenow) fails the same way, and that the values do not
agree with those returned by the  UNIX time(2) system call (assuming that is
what perl does), for example...

% repeat 30
  do
     perl -e 'print time(),"  "'
     scan -format '%(timenow)' cur
     sleep 1
  done

1000139831  70928613;
1000139832  70928613<
1000139833  70928613=
1000139834  709286140
1000139835  709286141
1000139836  709286142
1000139837  709286143
1000139838  709286144
1000139839  709286145
1000139840  709286146
1000139841  709286147
1000139842  709286148
1000139843  709286149
1000139844  70928614:
1000139845  70928614;
1000139846  70928614<
1000139847  70928614=
1000139848  709286150
1000139849  709286151
1000139850  709286152
1000139851  709286153
1000139852  709286154
1000139853  709286155
1000139854  709286156
1000139855  709286157
1000139856  709286158
1000139857  709286159
1000139858  70928615:
1000139859  70928615;
1000139860  70928615<

Looks like base 15 to me??!!.  Dont know why I have never seen it before.

System particulars...

% uname -a
Linux aragorn 2.4.7 #3 Tue Jul 31 21:57:02 EDT 2001 i686 unknown% cat /etc/issue

Red Hat Linux release 7.1 (Seawolf)
Kernel 2.4.7 on an i686

% rpm -q nmh
nmh-1.0.4-8

% scan -v
scan -- nmh-1.0.4 [compiled on porky.devel.redhat.com at Wed Feb 14 12:14:22 EST 2001]

--
peta

Reply via email to