( gemnon | 2017. 10. 21., szo – 08:05 )


cat input.txt | sed 's/^\(.\{40\}\)/\1:/' > output.txt

Bár lehet van egyszerűbb is.