Avec awk



awk '{ while ( length($0) < 50 ) $0=$0"0" ; print $0 }' fichier.txt