Message-ID: <746D722EB387D21180EE0000F87A4ADF020664@bxbexc1> From: "Schullman, Dan" To: "'djgpp AT delorie DOT com'" Subject: GNU date utility problems (Y2K, etc.) Date: Mon, 7 Jun 1999 14:47:47 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BEB116.3CD4A6DE" Reply-To: djgpp AT delorie DOT com This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BEB116.3CD4A6DE Content-Type: text/plain; charset="iso-8859-1" Hello, I've run into some problems with the MSDOS/DJGPP precompiled version of the GNU 'date' utility, and wonder if someone might be able to help? It sounds like at least one of them might be fixed by re-porting the latest GNU version, for which I'd be most appreciative! I'd sent the email below a while back to the GNU folks but haven't gotten a response from them. Thanks in advance, Dan S. ---------- From: Schullman, Dan Sent: Thursday, 28 January 1999 13:36 To: 'sh-utils-bugs AT gnu DOT ai DOT mit DOT edu' Subject: date bugs Hello, I've got some problems with the 'date' utility on Windows 9x and NT, as follows. I am using a precompiled MSDOS executable for date (GNU Sh-utils 1.12 to MSDOS/DJGPP), obtained from the SimTel mirror of ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/sh112b.zip. I am running on Microsoft Windows NT 4.0 and 95 systems, from command prompt windows. I've named the executable 'gdate.exe', since the MSDOS shell treats 'date' and even 'date.exe' as an internal command name. PROBLEM #1: The -d option seems not to work with dates beyond 1999. For example, 'gdate -d "2000-02-03"' is returned as if 1-Jan-1970. It sounds like this may be fixed in the latest (1.16) version of the shell utilities, based on a bug list I read somewhere, but I am looking for a precompiled executable. I am NOT aware of a way to report such bugs or request a recompile of the DJGPP GNU stuff. PROBLEM #2: I am also unable to get the hyphen (-) and underscore (_) syntaxes to suppress leading zeros. For example, 'gdate -d "1999-01-02" +"%%-d"' gives me '-d' rather than '2'. [FYI, the doubling of the percent-sign is necessary because MSDOS uses the percent-sign to indicate MSDOS shell variable substitution.] I hope I/we can get these problems rectified soon. As you may be aware, the date capabilities provided by the MSDOS shell are pitiful! Much thanks in advance! Dan S. ------_=_NextPart_001_01BEB116.3CD4A6DE Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable GNU date utility problems (Y2K, etc.)

Hello,

I've run into some problems with = the MSDOS/DJGPP precompiled version of the GNU 'date' = utility, = and wonder if someone might be able to = help? It sounds like at least one of them might be fixed by = re-porting the latest GNU version, for = which I'd be most = appreciative! I'd sent the = email below a while back to the GNU folks but haven't gotten a = response from = them.

Thanks in = advance,
  Dan S.

----------
From:  Schullman, = Dan
Sent:  Thursday, 28 January 1999 = 13:36
To:  = 'sh-utils-bugs AT gnu DOT ai DOT mit DOT edu'
Subject:  date = bugs

Hello,

I've got some problems with the = 'date' utility on Windows 9x and NT, as follows.

I am using a precompiled MSDOS = executable for date (GNU Sh-utils 1.12 to MSDOS/DJGPP), obtained from = the SimTel mirror of ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/sh1= 12b.zip. I am running on Microsoft Windows NT 4.0 and 95 systems, = from command prompt windows.  I've named the executable = 'gdate.exe', since the MSDOS shell treats 'date' and even 'date.exe' as = an internal command name.

PROBLEM #1:  The -d option = seems not to work with dates beyond 1999. For example, 'gdate -d = "2000-02-03"' is returned as if 1-Jan-1970. It sounds like this may be = fixed in the latest (1.16) version of the shell utilities, based on a = bug list I read somewhere, but I am looking for a precompiled = executable.  I am NOT aware of a way to report such bugs or = request a recompile of the DJGPP GNU stuff.

PROBLEM #2:  I am also = unable to get the hyphen (-) and underscore (_) syntaxes to suppress = leading zeros. For example, 'gdate -d "1999-01-02" +"%%-d"' gives me = '-d' rather than '2'. [FYI, the doubling of the percent-sign is = necessary because MSDOS uses the percent-sign to indicate MSDOS shell = variable substitution.]

I hope I/we can get these = problems rectified soon. As you may be aware, the date capabilities = provided by the MSDOS shell are pitiful!

Much thanks in advance!
  Dan S.

------_=_NextPart_001_01BEB116.3CD4A6DE--