• [^] # Re: À propos de ta syntaxe

    Posté par . En réponse au message comment je vide proprement mon /boot des vieux noyaux installés par ma distrib. Évalué à 2.

    amusant, ou pas

    ma version du script fonctionne

    :/tmp$ bash test.sh 3.5.0 31 32
    linux-image-3.5.0-31-generic linux-image-extra-3.5.0-31-generic linux-headers-3.5.0-32 linux-headers-3.5.0-32-generic linux-image-3.5.0-32-generic linux-image-extra-3.5.0-32-generic linux-libc-dev:amd64

    alors que la tienne ne fait rien

    :/tmp$ bash test.sh 3.5.0 31 32

    NB : j'ai remplacé le aptitude purge par un
    echo $LISTE dans mon script
    echo "$LISTE" dans le tiens