bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] core-count: A new program to count the number of cpucores


From: Giuseppe Scrivano
Subject: Re: [PATCH] core-count: A new program to count the number of cpucores
Date: Mon, 26 Oct 2009 21:53:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Pádraig Brady <address@hidden> writes:

> Hmm it's a bit surprising that min()/max() are not available
> as $((shell arithmetic)) or in `expr`.  Consequently I agree that
> adding the option you suggest is useful.  What will we call it though?

I remember a recent discussion about adding min/max to sort.  Is still
this feature desired?


> Maybe:
>
>   --ignore=N    If possible reduce the count by N

Even if it looks a bit ugly, IMO this new option can help to put less
logic in every shell script using it.


Cheers,
Giuseppe




reply via email to

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