mallek-ahmed / Git-Repo

0 stars 0 forks source link

supprimer lignes vide #8

Open mallek-ahmed opened 1 year ago

mallek-ahmed commented 1 year ago

inputfile="chemin_vers_votre_fichier_input" outputfile="chemin_vers_votre_fichier_output" start_position=5 length=23 awk -v start=$start_position -v len=$length 'substr($0, start, len) ~ /[^\ ]/' $inputfile > $outputfile