• [^] # man sed

    Posté par . En réponse au message Sed ... je vais craquer. Évalué à 2.

    sed -ie s/[hs]d[a-z]/${INSTALL_DISK}/g ${TARGET}/etc/lilo.conf > ${TARGET}/etc/lilo.conf

    note le -i (in-place).

    https://damien.pobel.fr