coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] factor: add option for printing in x^y format


From: Rasmus Villemoes
Subject: Re: [PATCH 1/2] factor: add option for printing in x^y format
Date: Wed, 4 May 2022 09:28:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 27/04/2022 19.21, Bernhard Voelker wrote:
> On 4/27/22 16:14, Pádraig Brady wrote:
>> On 27/04/2022 11:07, Rasmus Villemoes wrote:

>> Though for interactive use, the new option is a benefit.
>>
>> Given the interactive benefit and a previous request to add this 
>> functionality¹
>> I'm tentatively leaning towards adding this.
> 
> Re. the patch:
> the implementation is quite clean in 2 places - the LONGINT_OK and the MPZ 
> case - and
> doesn't seem to get into the way of any future extensions (null-separated 
> output, whatever).
> 
> Therefore, I'm also 70:30 for adding it.
> Of course, we'd also need a long option and texinfo documentation.

Thanks. I don't care much about what the short option is, but it's quite
important for my use case that it does have a short form. Given the
NetBSD precedent [1], I think -h is fine. We can make the long option
--human-readable or --exponents, I don't have any opinion on that.

Should I respin with -h instead of -e?

Rasmus

[1] https://man.netbsd.org/factor.6



reply via email to

[Prev in Thread] Current Thread [Next in Thread]