Peter Whaite wrote:
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;
Without looking at the source for a fix, specifying a width of 10 works:
scan -format '%(msg) %{date} %10(clock{date}) ' cur
Simon.
--
Simon Burge[EMAIL PROTECTED]
NetBSD CDs, Support and Service:http://www.wasabisystems.com/