[Bug 860013] [NEW] date command produces trailing space from %d format sequence from latest coreutils package in lucid.
B. D.
860013 at bugs.launchpad.net
Mon Sep 26 20:31:53 UTC 2011
Public bug reported:
The %d format sequence used in date from coreutils version 7.4-2ubuntu2
did not output a trailing space, however in version 7.4-2ubuntu3 the %d
format sequence outputs a trailing space.
It may be that the change was deliberate, however, the man page has not
changed.
1)
Description: Ubuntu 10.04.3 LTS
Release: 10.04
2)
7.4-2ubuntu3
3)
I believe the %d format sequence should output a 2 digit day of the month
Man page excerpt
"%d day of month (e.g, 01)"
e.g. "01"
4)
A script of mine relied on the old behavior, such that a command stopped working which revealed the trailing space to me.
e.g. "01 "
** Affects: coreutils (Ubuntu)
Importance: Undecided
Status: New
** Tags: date
** Description changed:
- The %d format sequence used in date from coreutils v:7.4-2ubuntu2 did
- not output a trailing space, however in version 7.4-2ubuntu3 the %d
+ The %d format sequence used in date from coreutils version 7.4-2ubuntu2
+ did not output a trailing space, however in version 7.4-2ubuntu3 the %d
format sequence outputs a trailing space.
It may be that the change was deliberate, however, the man page has not
changed.
1)
Description: Ubuntu 10.04.3 LTS
Release: 10.04
2)
7.4-2ubuntu3
3)
I believe the %d format sequence should output a 2 digit day of the month
Man page excerpt
"%d day of month (e.g, 01)"
e.g. "01"
4)
A script of mine relied on the old behavior, such that a command stopped working which revealed the trailing space to me.
e.g. "01 "
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/860013
Title:
date command produces trailing space from %d format sequence from
latest coreutils package in lucid.
Status in “coreutils” package in Ubuntu:
New
Bug description:
The %d format sequence used in date from coreutils version
7.4-2ubuntu2 did not output a trailing space, however in version
7.4-2ubuntu3 the %d format sequence outputs a trailing space.
It may be that the change was deliberate, however, the man page has
not changed.
1)
Description: Ubuntu 10.04.3 LTS
Release: 10.04
2)
7.4-2ubuntu3
3)
I believe the %d format sequence should output a 2 digit day of the month
Man page excerpt
"%d day of month (e.g, 01)"
e.g. "01"
4)
A script of mine relied on the old behavior, such that a command stopped working which revealed the trailing space to me.
e.g. "01 "
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/860013/+subscriptions
More information about the foundations-bugs
mailing list