bug#66698: I think hex decoding with basenc -d --base16 should be case-insensitive

2023-10-23 Thread Niels Möller
either). But less important than fixing the default behavior. > + basenc --base16 -d no supports lower case hexadecimal characters. > + Previously an error was given for lower case hex digits. s/ no / now / Regards, /Niels -- Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677. In

bug#66698: I think hex decoding with basenc -d --base16 should be case-insensitive

2023-10-23 Thread Niels Möller
d give the same output, "foo\n", at least by default. Possibly configurable with options like --strict, --upper, --lower, etc (--upper/--lower would be useful also for the --base16 encoding, i.e., no -d). Regards, /Niels -- Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677

bug#42269: Remove non-GMP code from coreutils factor.c

2020-07-08 Thread Niels Möller
64-bit computers, the GMP code would be used only for numbers above 127 bits. I'm really not that familiar with state of the art factoring, but I'd guess pollard rho is a bad algorithm choice for that range, and one ought to use, e.g., some variant of the quadratic sieve. Regards, /Niels -- N

bug#32843: Feature request: rm -ir variant not asking about directories

2018-09-26 Thread Niels Möller
ns. Would make sense as a --recursive/-r flag to rmdir, rather than a new option to rm. I'm using GNU coreutils 8.28, which doesn't seem to have these features. Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject to wholesale government surveillance.

bug#25135: Infinite loop in factor

2016-12-07 Thread Niels Möller
the quotient */ n1 = 0; /* modulo B, ignoring the high divisor word. */ commit 1bdf193895da010daf95260158c1eba5b9377b30 Author: Niels Möller <ni...@lysator.liu.se> Date: Wed Dec 7 18:50:20 2016 +0100 factor: Fix infinite loop in gcd2_odd * src/factor

bug#16578: Wish: Support for non-native endianness in od

2014-02-09 Thread Niels Möller
... Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26. Internet email is subject to wholesale government surveillance.

bug#16578: Wish: Support for non-native endianness in od

2014-01-31 Thread Niels Möller
ni...@lysator.liu.se (Niels Möller) writes: Pádraig Brady p...@draigbrady.com writes: I agree this would be useful and easy enough to add. I suppose the interface would be --endian=little|big Maybe I can have a look at what it takes. Below is a crude patch (missing: usage message, tests

bug#16578: Wish: Support for non-native endianness in od

2014-01-30 Thread Niels Möller
Pádraig Brady p...@draigbrady.com writes: On 01/28/2014 12:54 PM, Niels Möller wrote: For the od program, it would be nice with a flag to specify the endianness for all types which are larger than a byte. Possible alternatives could be big endian, little endian, native endian. I agree

bug#16578: Wish: Support for non-native endianness in od

2014-01-28 Thread Niels Möller
, for systems where these are different. Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26. Internet email is subject to wholesale government surveillance.

bug#12350: Composites identified as primes in factor.c (when HAVE_GMP)

2012-09-07 Thread Niels Möller
) times slower than the real gmp for numbers up to a few hundred bits (for larger numbers, it gets much slower due to lack of sophisticated algorithms, but we probably can't factor them in reasonable time anyway). Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26

bug#12350: Composites identified as primes in factor.c (when HAVE_GMP)

2012-09-07 Thread Niels Möller
^{-1} mod 2^{bits} and floor ( (2^{bits} - 1) / p), where bits is the size of an uintmax_t. This will break cross compilation, if uintmax_t is of different size on build and host system, or if different suffixes (U, UL, ULL) are needed in the generated primes.h. Regards, /Niels -- Niels Möller

bug#12350: Composites identified as primes in factor.c (when HAVE_GMP)

2012-09-07 Thread Niels Möller
Pádraig Brady p...@draigbrady.com writes: On 09/07/2012 09:43 AM, Niels Möller wrote: If this is an important feature, maybe one should consider bundling mini-gmp Bundling libraries is bad if one needed to update it. mini-gmp is not an ordinary library. It's a single portable C source file

Documentation discrepancy for ls -f

2006-03-03 Thread Niels Möller
I this still the right place to send bug-reports for GNU ls? Or should I use bug-coreutils instead? I'm using ls (GNU fileutils) 4.0. The info documentation has the following to say about -f: `-f' Primarily, like `-U'--do not sort; list the files in whatever order they are stored in