#! /bin/bash #**********************************## NOM :FONCTION="lire fichier ligne par ligne"VERSION="alpha"# NOTES DE VERSIONS##**********************************#touch "un_autrefichier.txt"echo "début du fichier" > "un_autrefichier.txt"
while read line do # echo -e "$line\n">>un_autrefichier.txt echo -e "$line" echo -e "$line">>"un_autrefichier.txt"done < "un_fichier.txt"
exit 0