Re: base64 feature request / enhancement ideas

2023-11-18 Thread Jeffrey Walton
On Sat, Nov 18, 2023 at 11:39 AM Pádraig Brady wrote: > > On 18/11/2023 09:07, Sadi Yumuşak wrote: > > I've recently experienced some difficulties in decoding/saving several > > inline attachments in an EML (Internet Message Format) file saved from > > Thunderbird (same for GMail web client) using

Re: stdbuf feature request - line buffering but for null-terminated data

2024-03-12 Thread Jeffrey Walton
On Tue, Mar 12, 2024 at 2:59 PM Kaz Kylheku wrote: > > On 2024-03-10 01:37, Pádraig Brady wrote: > > On 09/03/2024 16:30, Zachary Santer wrote: > >> 'stdbuf --output=L' will line-buffer the command's output stream. > >> Pretty useful, but that's looking for newlines. Filenames should be > >> passe

Re: GNU Coding Standards, automake, and the recent xz-utils backdoor

2024-04-02 Thread Jeffrey Walton
On Tue, Apr 2, 2024 at 6:05 PM Karl Berry wrote: > > I'm also wondering whether the GNU system should recommend using zstd > instead of or in addition to xz for compression purposes. > > I'm not sure GNU explicitly recommends anything. Although the tarball > examples in standards.texi and

Re: [PATCH] scripts: rewrite dcgen in shellscript

2024-05-29 Thread Jeffrey Walton
On Wed, May 29, 2024 at 4:02 AM Rob Landley wrote: > > On 5/27/24 11:21, Pádraig Brady wrote: > [...] > > BTW in regard to ensuring GNU sed is invoked, supporting overriding > > the called sed with a $SED env var would be useful. > > 20 years ago; > > http://lists.busybox.net/pipermail/busybox/20

FAIL: test-rwlock1 on 32-bit ARM

2018-02-05 Thread Jeffrey Walton
Hi Everyone, I'm building coreutils 8.29 on a CubieTruck v5. The CubieTruck uses a Cortex-A7. It runs a Ubuntu port: $ lsb_release -a No LSB modules are available. Distributor ID: Linaro Description:Linaro 14.04 Release:14.04 Codename: trusty And: $

FAIL: test-rwlock1 on 32-bit ARM

2018-02-05 Thread Jeffrey Walton
Hi Everyone, I'm building coreutils 8.29 on a CubieTruck v5. The CubieTruck uses a Cortex-A7. It runs a Ubuntu port: $ lsb_release -a No LSB modules are available. Distributor ID: Linaro Description:Linaro 14.04 Release:14.04 Codename: trusty And: $

Re: FAIL: test-rwlock1 on 32-bit ARM

2018-02-06 Thread Jeffrey Walton
On Tue, Feb 6, 2018 at 12:11 PM, Bruno Haible wrote: > Hi, > > Jeffrey Walton wrote: >> > FAIL: test-rwlock1 >> > == >> > >> > Unexpected outcome 3 >> > FAIL test-rwlock1 (exit status: 134) >> &

Re: ls is broken, what's next cd?

2018-02-07 Thread Jeffrey Walton
On Wed, Feb 7, 2018 at 1:34 PM, Michael wrote: > On 06/02/2018 20:16, Kaz Kylheku (Coreutils) wrote: >>... no, as explained it does not affect programs and scripts, because this only changes the output to the terminal. >>> >>> Yes, I thought about that too. So, maybe I would have liked t

Re: Im being hacked

2018-05-26 Thread Jeffrey Walton
On Sat, May 26, 2018 at 12:34 PM, Real Deth wrote: > > This is not my work . I cant write a single command.please help. > /System/Library/PrivateFrameworks/CoreUtils.framework/CoreUtils > 0x18ff https://lists.apple.com/

Where to locate source for find utility?

2019-09-26 Thread Jeffrey Walton
Hi Everyone, I thought the find utility would be part of coreutils, but I don't see it at https://github.com/coreutils/coreutils/tree/master/src. Where can I find the source for the utility? Jeff

Re: Where to locate source for find utility?

2019-09-26 Thread Jeffrey Walton
On Thu, Sep 26, 2019 at 5:35 PM Eric Blake wrote: > > On 9/26/19 3:21 PM, Philipp Thomas wrote: > >> Where can I find the source for the utility > > > > Find is part of the findutils package > > which is at https://git.sv.gnu.org/cgit/findutils.git > > >

Disable b2sum from coreutils?

2020-07-01 Thread Jeffrey Walton
Hi Everyone, The BLAKE2 folks have optimized implementations for b2sum on i686, x86_64, NEON and PowerPC. It also has more options than the coreutils version. I'd like to disable b2sum in coreutils and use the BLAKE2 team's version. Is it possible to disable b2sum from coreutils? If so, how? Th

Re: coreutils and GCC -fanalyzer

2020-07-10 Thread Jeffrey Walton
On Fri, Jul 10, 2020 at 5:22 PM Pádraig Brady wrote: > > On 02/07/2020 01:26, Paul Eggert wrote: > > On 5/23/20 9:08 AM, Paul Eggert wrote: > > > >> So I am thinking of killing two > >> stones by doing the following. > >> > >> 1. Test for -fanalyzer, -Wall, -Wextra. > >> > >> 2. Test for flags not

Re: Enhancement Request for sha256sum - output only the SHA-256 hash alone

2020-07-19 Thread Jeffrey Walton
On Fri, Jul 17, 2020 at 10:53 AM jens.archlinux jens wrote: > ... > propose to add a new option for sha256sum to output only the SHA-256 hash > alone, without a trailing file name and without a trailing newline. Related, b2sum (also provided by coreutils), offers the option. But you have to speci

touch --date=TIME argument

2020-12-26 Thread Jeffrey Walton
Hi Everyone, I'm trying to restore filetimes based on the timestamp from a ZIP file. I can extract the newest filetime from a ZIP with: unzip -l "${file}" 2>&1 | head -n -3 | tail -n +4 | cut -b 12-27 | sort -r | uniq | head -n 1 (The head and tail trims away header and footer cruft so only

Re: [PATCH] tee: Add -q, --quiet option to not write to stdout

2021-01-21 Thread Jeffrey Walton
On Thu, Jan 21, 2021 at 9:33 AM Alejandro Colomar wrote: > > This is useful for using tee to just write to a file, > at the end of a pipeline, > without having to redirect to /dev/null > > Example: > > echo 'foo' | sudo tee -q /etc/foo; > > is equivalent to the old (and ugly) > > echo 'foo' | sudo

Re: [PATCH] tee: Add -q, --quiet option to not write to stdout

2021-01-21 Thread Jeffrey Walton
On Thu, Jan 21, 2021 at 5:01 PM Christian Groessler wrote: >... > But this feature at hand just seems to be a "convenience" feature. The > same can be accomplished with by using of existing features/programs. To play devil's advocate... why are they mutually exclusive? Can't the -q option co-exis

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

2021-03-14 Thread Jeffrey Walton
On Sun, Mar 14, 2021 at 9:36 AM Kristoffer Brånemyr via GNU coreutils General Discussion wrote: > > Hi, > Ok, good to know it's progressing! > I think that it would be best not to compile the main cksum.c with the -mavx > .. flags. With those flags I think the compiler is free to insert AVX > in

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

2021-03-14 Thread Jeffrey Walton
On Sun, Mar 14, 2021 at 11:07 PM Kaz Kylheku (Coreutils) <962-396-1...@kylheku.com> wrote: > > On 2021-03-14 12:55, Jeffrey Walton wrote: > > The underlying problem is GCC, Clang and friends conflate the user's > > ISA with ISA the compiler uses. They are not the

Re: Securely wipe laptop hard drive

2021-09-24 Thread Jeffrey Walton
On Sat, Sep 25, 2021 at 1:40 AM jedenfalco wrote: > ... > > It can't, because that's not how shred works. Recursively shredding > > files within a larger filesystem does NOT guarantee that the old file > > is wiped out, because modern file systems tend to write the new file > > to a different part

Re: env: can it be used to let only certain variables through (if they're set)?

2022-01-21 Thread Jeffrey Walton
On Fri, Jan 21, 2022 at 6:09 PM Dominique Martinet wrote: > Christoph Anton Mitterer wrote on Fri, Jan 21, 2022 at 04:16:36PM +0100: > ... > > Even sounds like something that is rather delicate in terms of > > security. > > Consider a script that's started with such file, but the file is not > > a

Re: new snapshot available: coreutils-9.0.193-54bec.tar.xz

2022-04-13 Thread Jeffrey Walton
Hi Pádraig, On Wed, Apr 13, 2022 at 4:18 PM Pádraig Brady wrote: > > We plan to release coreutils-9.1 in the next few days > so any testing you can do on various different systems between now and then > would be most welcome. > > -- > > You can download the cor

Re: new snapshot available: coreutils-9.0.193-54bec.tar.xz

2022-04-13 Thread Jeffrey Walton
On Wed, Apr 13, 2022 at 4:55 PM Jeffrey Walton wrote: > > Hi Pádraig, > > On Wed, Apr 13, 2022 at 4:18 PM Pádraig Brady wrote: > > > > We plan to release coreutils-9.1 in the next few days > > so any testing you can do on various different systems between now and

Re: Lost use of laptop mouse

2022-10-15 Thread Jeffrey Walton
On Sat, Oct 15, 2022 at 4:13 PM Joann Macey wrote: > > I lost the left click and attempting to fix it followed this direction I > found online. "Sudo modprobe -r psmouse" Now mouse no longer works. > How do I reinstall mouse modprobe and the mouse driver is part of the kernel. They have littl

Re: trying to contribute but got an error during the setup

2022-12-14 Thread Jeffrey Walton
On Wed, Dec 14, 2022 at 3:07 PM Stéphane Archer wrote: > > I tried to compile the repo on my mac to contribute to the project. > I have the following error: > clang: error: no such file or directory: './lib/parse-datetime.c' > clang: error: no input files > I have the file test-parse-datetime.c bu

Re: [PATCH] cksum: Use AVX2 and AVX512 for speedup

2024-11-25 Thread Jeffrey Walton
On Mon, Nov 25, 2024 at 11:09 AM Sam Russell wrote: > > I've added a sample benchmarking program to measure the difference without > hitting disk, looking like a 40% speedup > > $ time ./cksum_bench_pclmul 1048576 1 > Hash: EFA0B24F, length: 1048576 > > real0m3.018s > user0m3.018s > sy

Re: [PATCH] cksum: Use AVX2 and AVX512 for speedup

2024-11-25 Thread Jeffrey Walton
On Mon, Nov 25, 2024 at 5:31 PM Sam Russell wrote: > > Results thanks to Jeff > > srussell@icelake:~$ time ./cksum_bench_pclmul 1048575 1 > Hash: 5B9DA0F4, length: 1048575 > > real0m3.561s > user0m3.535s > sys 0m0.026s > srussell@icelake:~$ time ./cksum_bench_avx2 1048575 1 > H

Re: Q: enable-single-binary=hardlinks?

2025-04-28 Thread Jeffrey Walton
On Sat, Apr 26, 2025 at 11:16 AM Bernhard Voelker wrote: > > On 4/25/25 21:25, Pádraig Brady wrote: > > On 25/04/2025 19:41, Bernhard Voelker wrote: > >> Is there a particular reason why we only have > >> > >> --enable-single-binary=shebangs|symlinks > >> > >> i.e., no hardlinks? It seems to

Re: build: add src/termios.c to the tarball

2025-06-22 Thread Jeffrey Walton
On Sun, Jun 22, 2025 at 1:49 AM Collin Funk wrote: > > Hi Pádraig, > > I have 2 patches attached. > > First, I noticed many instances of three-valued comparisons written > like: > >return (a > b) - (a < b); Isn't this the transitive comparison function fiasco all over again? See