bug#72024: documentation suggestion: make old versions of docs easily available

2024-07-09 Thread mark . yagnatinsky--- via GNU coreutils Bug Reports
If go to the website of say, Perl or Python, and I see there's a cool function I want to use, then often there will be a note "new in version X.Y". Then I know that if I need to support versions older than that, I can't use it, and otherwise I can. If there is no such note, then I also have the o

bug#72023: feature request for date(1): strptime-style format string when you don't want date to guess

2024-07-09 Thread mark . yagnatinsky--- via GNU coreutils Bug Reports
I suspect this has been requested many times over the decades but I haven't found anything in the issue tracker so... The date command lets you choose my output format, but for input it tries to figure it out without hints. For interactive use, this is great. For usage in scripts, this is less t

bug#72012: [PATCH] id: Warn if user in more groups than `id` can reliably print

2024-07-09 Thread Paul Eggert
On 7/10/24 00:35, Pádraig Brady wrote: OK so id(1) will always show all groups it knows about. Then the warning message might be along the lines of:   "warning: User '%s' is a member of more groups than the current system limit" I also am not seeing the point of the proposed diagnostic. I da

bug#72012: [PATCH] id: Warn if user in more groups than `id` can reliably print

2024-07-09 Thread Pádraig Brady
On 09/07/2024 21:15, Otto Kekäläinen wrote: Hi! The point is just to emit a warning when this happens. Sure it is rare but the fix is pretty safe to apply. OK so id(1) will always show all groups it knows about. Then the warning message might be along the lines of: "warning: User '%s' is a

bug#72012: [PATCH] id: Warn if user in more groups than `id` can reliably print

2024-07-09 Thread Otto Kekäläinen
Hi! The point is just to emit a warning when this happens. Sure it is rare but the fix is pretty safe to apply.

bug#72012: [PATCH] id: Warn if user in more groups than `id` can reliably print

2024-07-09 Thread Pádraig Brady
On 09/07/2024 05:22, Otto Kekäläinen wrote: While rare, it is possible for a user to be a member in more groups than what the system limit allows (on Linux typically NGROUPS_MAX=65536) and if that is the case, running `id` or `id user` will not print all of them. This is a minor bug, but easily f

bug#72012: [PATCH] id: Warn if user in more groups than `id` can reliably print

2024-07-09 Thread Otto Kekäläinen
While rare, it is possible for a user to be a member in more groups than what the system limit allows (on Linux typically NGROUPS_MAX=65536) and if that is the case, running `id` or `id user` will not print all of them. This is a minor bug, but easily fixable by emitting a warning if it happens. --

bug#71986: RFC: date @ to support ms.

2024-07-09 Thread Paul Eggert
On 7/9/24 03:19, Richard Neill wrote: IP_JSON=$(curl https://whatsmyip.dev/api/ip) TS=$(echo $IP_JSON | jq '.ts' -r) TS=$(echo "$TS/1000" | bc) DATE=$(date --date @$TS) This is better, as it saves on subprocesses: IP_JSON=$(curl https://whatsmyip.dev/api/ip) TS=$(jq -nr "$IP_JSON|.ts") DATE=$