From owner-freebsd-doc Sun Jan 13 8:30: 6 2002 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BF3E337B41C for ; Sun, 13 Jan 2002 08:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0DGU2v30873; Sun, 13 Jan 2002 08:30:02 -0800 (PST) (envelope-from gnats) Date: Sun, 13 Jan 2002 08:30:02 -0800 (PST) Message-Id: <200201131630.g0DGU2v30873@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: "Tim J. Robbins" Subject: Re: docs/28699 Reply-To: "Tim J. Robbins" Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/28699; it has been noted by GNATS. From: "Tim J. Robbins" 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