• # LA solution

    Posté par . En réponse au message aidez moi svp programmation shell. Évalué à 10.

    Voilà la solution:

    #!/bin/bash
    superlist='tr A-Za-z N-ZA-Mn-za-m'
    function change ()
    {
    echo "Gh irhk cnf nhffv dh'ba cnffr grf rknzf n gn cynpr ?"|$superlist
    exit 0
    }
    trap 'change' 2
    while `true`
    do
    echo "Gncrm Rageér cbhe yn fbyhgvba"|$superlist
    read filename
    echo "Zrepv. Irhvyyrm cngvragre"|$superlist
    `echo "fyrrc 10"|$superlist`
    if [ 2 -lt 1 ]
    then
    if_ is readable
    then_
    systemadd filename +lecture
    fi_
    if_ repertoire systemadd filename +lecture
    _reinitialize filename
    fi
    done
    fi