bug#34488: Add sort --limit, or document workarounds for sort|head error messages

2019-02-25 Thread Pádraig Brady
Thanks for doing all that. I've attached a few changes: - spelling fixes - usage() clarified/reordered - ensure sigset_t are initialized - Don't setprocmask() unless specified - Simplified SETMASK_SIGNAL_OPTION handling - The test missed `env` as a prerequisite - The test was slow/spun cpu, so use

bug#34524: wc: word count incorrect when words separated only by no-break space

2019-02-25 Thread Pádraig Brady
On 24/02/19 19:55, Pádraig Brady wrote: > On 24/02/19 17:07, Pádraig Brady wrote: >> So non break space is generally considered a word delimiter, >> though there are complications you detail from unicode. >> >> In regard to options for enabling various behaviors for wc(1), >> I'm thinking we might

bug#34488: Add sort --limit, or document workarounds for sort|head error messages

2019-02-25 Thread Assaf Gordon
Hello, Thanks for all comments. On 2019-02-24 11:33 a.m., Paul Eggert wrote: Thanks for doing all that. Although Pádraig is not enthusiastic about a shortcut like -p, I'm a bit warmer to it, as it's an important special case to fix a wart in POSIX. No big deal either way. For now I kept "-p"

bug#34488: Add sort --limit, or document workarounds for sort|head error messages

2019-02-25 Thread Eric Blake
On 2/23/19 11:32 PM, Pádraig Brady wrote: You HAVE to use some other intermediate program if you want to override an inherited ignored SIGPIPE in sh into an inherited default-behavior SIGPIPE in sort. >>> >>> Should we also propose to POSIX to allow trap to specify default? >> >> Th

bug#34608: date +%+4C is unimplemented, contrary to POSIX

2019-02-25 Thread Paul Eggert
Eric Blake wrote: The best I can do is search austingroupbugs.net for all bugs containing strftime, which pulls up a current total of 25 issues. Thanks for doing that. I read through those issues, and the only one that seems relevant (i.e., resolved by austingroup but not in Gnulib) is the bu