Open mallek-ahmed opened 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
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