• # man sed

    Posté par . En réponse au message Doc sur sed. Évalué à 4.

    dans ton terminal favori, tapes

    man sed

    ca t'explique tout

    { Begin a block of commands (end with a }).
    : label
     Label for b and t commands.
    n N
     Read/append the next line of input into the pattern space.
    p Print the current pattern space.
    b label
     Branch to label; if label is omitted, branch to end
     of script.

    donc comme ca
    je dirais que ton script cherche le label,
    ouvre un label nommé 'a'
    lit la ligne suivant le label et l'ajoute au contenu (n)
    imprime le contenu (p)
    retourne en 'a' (ba)