working with
Debian 10
sed (GNU sed) 4.7

Inserting characters at the end leads to errors

cat ~/te.txt | sed 's|$|h|g'
h036
h110
h110
h455
h455
h455
7027h
7059h
7110h
7143h
7287h
7479h
7535h
h772