Date: Sun, 13 Jan 2002 08:30:02 -0800 (PST) From: "Tim J. Robbins" <tim@robbins.dropbear.id.au> To: freebsd-doc@freebsd.org Subject: Re: docs/28699 Message-ID: <200201131630.g0DGU2v30873@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/28699; it has been noted by GNATS.
From: "Tim J. Robbins" <tim@robbins.dropbear.id.au>
To: freebsd-gnats-submit@FreeBSD.ORG
Cc:
Subject: Re: docs/28699
Date: Mon, 14 Jan 2002 03:01:26 +1100
strptime(3) does not accept "a space followed by a single digit" for %d.
It chews off up to 2 digits and uses them. It doesn't do anything about
whitespace.
tim@raven$ date -j -f "%d" " 1" +%d
Failed conversion of `` 1'' using format ``%d''
date: illegal time format
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
Tim
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201131630.g0DGU2v30873>
