• [^] # Re: en fait non ..

    Posté par . En réponse au message Test si le retour d'un grep est vide, erreurs.. Évalué à 3.

    Et le code retour de grep, ca ne convient pas?

    Sous Solaris 8:

    EXIT STATUS
    The following exit values are returned:

    0 One or more matches were found.

    1 No matches were found.

    2 Syntax errors or inaccessible files (even if matches
    were found).