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
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
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
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
Hi!
The point is just to emit a warning when this happens. Sure it is rare but
the fix is pretty safe to apply.
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
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.
--
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=$