bug#35336: date should respect TIME_STYLE too

2019-04-20 Thread Paul Eggert

積丹尼 Dan Jacobson wrote:

All the other utilities respect the environment variable ‘TIME_STYLE’,
except date(1) itself! Date should be no different...


I don't think I agree. In hindsight, that environment variable was a mistake and 
we shouldn't let the mistake propagate elsewhere. Standard utilities should 
minimize their use of nonstandard environment variables.






bug#35343: sort: printing characters: define

2019-04-20 Thread 積丹尼 Dan Jacobson
(info "(coreutils) sort invocation") says

‘-i’
‘--ignore-nonprinting’
 Ignore nonprinting characters.  The ‘LC_CTYPE’ locale determines
 character types...

Well this leaves the user high and dry trying to figure out what you
mean by printing characters.

Is SPC a printing character he wonders. It makes the printer head
advance one unit, whereas ESC doesn't.

So at least mention the ASCII range [A-Z...] of what your are talking
about. It would only take up a word or two of the INFO page.

Anyway, each program might have their own idea of "printing characters"
as well as grandpa down the hall's definition. So the user is left unsure.





bug#35336: date should respect TIME_STYLE too

2019-04-20 Thread 積丹尼 Dan Jacobson
All the other utilities respect the environment variable ‘TIME_STYLE’,
except date(1) itself! Date should be no different...





bug#35335: touch --verbose

2019-04-20 Thread 積丹尼 Dan Jacobson
Say, rm, cp, mv have --verbose.
How about for touch too?
Then one wouldn't need
$ set -x; touch /tmp/{a,b,c}.el; set +x
+ touch /tmp/a.el /tmp/b.el /tmp/c.el
to see what it was touching or not.