Re: Date documentation

2023-07-14 Thread Michael Partridge via GNU coreutils General Discussion
After a long time, I encountered this problem again. Could you add the following to the example to the man page: ```txt Show the current date and time using a custom format $ date "+%Y-%m-%d %H:%M" ``` Feel free to edit wording. MCP On Tue, Oct 12, 2021 at 2:00 PM Michael Partridge

Re: [PATCH] cksum: improve problematic_chars function

2023-07-14 Thread Jim Meyering
On Fri, Jul 14, 2023 at 3:27 AM Pádraig Brady wrote: > On 14/07/2023 07:54, Jim Meyering wrote: > > Small suggested improvement: > > Looks good thanks. > Testing with the attached shows a 23% improvement on average > with using strcspn() over strchr()x3. Thanks for checking. Pushed.

New to tech

2023-07-14 Thread oladimeji idowu
Good day.. Pls I am new to tech and I have been looking for how to set up my bash

Re: [PATCH] cksum: improve problematic_chars function

2023-07-14 Thread Pádraig Brady
On 14/07/2023 07:54, Jim Meyering wrote: Small suggested improvement: Looks good thanks. Testing with the attached shows a 23% improvement on average with using strcspn() over strchr()x3. thanks, Pádraig.#include #include #include #include __attribute__ ((__pure__)) static bool

[PATCH] cksum: improve problematic_chars function

2023-07-14 Thread Jim Meyering
Small suggested improvement: >From c0e7e4a1d41049bbf38cf902d13746b1ab5b1e38 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 13 Jul 2023 22:29:52 -0700 Subject: [PATCH] cksum: improve problematic_chars function * src/digest.c (problematic_chars): Implement using strcspn, and traversing S