nanog mailing list archives

Re: Mail problems, not microsoft


From: Simon Lockhart <simonl () rd bbc co uk>
Date: Mon, 03 Jan 2000 10:07:40 +0000


Similar minor problem here.  An ancient version of GNU date was still
in-use, and it didn't seem to like the year.

      $ date -d "`date`"
      date: invalid date.

Indeed, date seems to be one of the things which required patching. On a 
retired, unpatched, SunOS 4.1.3_U1 machine, date returned strange things:

date +%y%m%d produces
:00103

date +%Y%m%d gives
date: bad format character - Y

once patched it gives
000103
and accepts %Y
date +%Y%m%d
20000103

Simon
-- 
Simon Lockhart                       |   Tel: +44 (0)1737 839676 
Internet Engineering Manager         |   Fax: +44 (0)1737 839516 
BBC Internet Services                | Email: Simon.Lockhart () bbc co uk 
Kingswood Warren,Tadworth,Surrey,UK  |   URL: http://support.bbc.co.uk/





Current thread: