• [^] # Re: Parfait !

    Posté par (site web personnel) . En réponse au message Le plus petit. Évalué à 1.

    Tu aurais également pu faire (juste pour te montrer qu'il y a plein de solution à un problème)

    RESULT=$(wget --no-check-certificate -qO- "https://freedom-ip.com/statistiques.php" | awk 'BEGIN { FS="=| "; minCon=99999; } /personnes/ { gsub("\"","",5ドル); gsub("\"","",9ドル); if (5ドル<minCon) { minCon=5ドル; str=5ドル" "6ドル" "7ドル" "8ドル" "9ドル; } } END { print str }')
    echo $RESULT
    
    

    ou

     RESULT=$(wget --no-check-certificate -qO- "https://freedom-ip.com/statistiques.php" | awk 'BEGIN { FS="<|\""; minCon=99999; } /personnes/ { split(3,ドルarr," "); if (arr[1]<minCon) { minCon=arr[1]; str=3ドル } } END { print str }')
    echo $RESULT
    
    

    ou

     RESULT=$(wget --no-check-certificate -qO- "https://freedom-ip.com/statistiques.php" | awk 'BEGIN { FS="<|\"" } /personne/ { print 3ドル }' | sort -k 1 -n | head -1)
    echo $RESULT
    
    

    Is it a Bird? Is it a Plane?? No, it's Super Poil !!!