• # Après relecture, peut être tout simplement ...

    Posté par . En réponse au message Programmation de commandes awk. Évalué à 6.

    awk -f fichier_script_awk input_file

    Man de GNU awk :

    gawk [ POSIX or GNU style options ] -f program-file [—] file ...

    -f program-file
    --file program-file
     Read the AWK program source from the file program-file, instead of from the first command line argument. Multiple -f (or --file) options may be used.