Re: bash : fonction min

Liste des GroupesRevenir à fco unix 
Sujet : Re: bash : fonction min
De : fantome.forums.tDeContes (at) *nospam* free.fr.invalid (Thomas)
Groupes : fr.comp.os.unix
Date : 19. Oct 2021, 18:52:13
Autres entêtes
Organisation : Guest of ProXad - France
Message-ID : <fantome.forums.tDeContes-2D1C95.18521319102021@news.free.fr>
References : 1 2
User-Agent : MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
In article <87k0ia5fn8.fsf@universite-de-strasbourg.fr.invalid>,
 Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> wrote:

Thomas <fantome.forums.tDeContes@free.fr.invalid> writes:
 
existe-t-il une fonction min dans bash ?
j'imagine ça disponible parmi les opérations mathématiques auxquelles on
accède via $(( ))
 
$(( X < Y ? X : Y ))

merci bcp, ça marche parfaitement bien :-)


et merci à vous 2 pour les précisions qui peuvent servir plus tard ou à
d'autres !

--
RAPID maintainer
http://savannah.nongnu.org/projects/rapid/

Date Sujet#  Auteur
18 Oct 21 * bash : fonction min6Thomas
18 Oct 21 +* Re: bash : fonction min4Alain Ketterlin
19 Oct 21 i+* Re: bash : fonction min2Christian Weisgerber
19 Oct 21 ii`- Re: bash : fonction min1Alain Ketterlin
19 Oct 21 i`- Re: bash : fonction min1Thomas
23 Oct 21 `- Re: bash : fonction min1Stéphane CARPENTIER

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal