Re: Print modification time in compact form

2021-03-15 Thread William Bader
> $ stat -c '%y' file.txt > 2017-07-31 17:50:54.0 +0100 > Is there a way to directly print it as 20170731-1750? Thanks. date --date="@$(stat -c '%Y' file.txt)" '+%+4Y%m%d-%H%M' From: coreutils on behalf of Peng Yu Sent: Monday, March 15, 2021 10:16 PM

Print modification time in compact form

2021-03-15 Thread Peng Yu
Hi, I see modification time can be printed in this format. $ stat -c '%y' file.txt 2017-07-31 17:50:54.0 +0100 Is there a way to directly print it as 20170731-1750? Thanks. -- Regards, Peng

Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout

2021-03-15 Thread Alex Henrie
On Mon, Mar 15, 2021 at 11:42 AM Alex Henrie wrote: > > On Sun, Mar 14, 2021 at 3:44 AM Alejandro Colomar (man-pages) > wrote: > > > > On 1/25/21 5:03 AM, Bernhard Voelker wrote: > > > OTOH I understand that there's a little gap in the tool landscape. > > > Astonishingly, there doesn't seem to

Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout

2021-03-15 Thread Alex Henrie
On Sun, Mar 14, 2021 at 3:44 AM Alejandro Colomar (man-pages) wrote: > > On 1/25/21 5:03 AM, Bernhard Voelker wrote: > > OTOH I understand that there's a little gap in the tool landscape. > > Astonishingly, there doesn't seem to exist a trivial tool to redirect > > from standard input (or any

Re: [PATCH] cksum: Use pclmul hardware instruction for CRC32 calculation

2021-03-15 Thread Pádraig Brady
The pclmul implementation is now pushed at: https://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=4b9118cdb I've also pushed an unrelated cksum adjustment to not fail immediately if there is an overflow processing any particular file: