http://qs1969.pair.com?node_id=1116885


in reply to pack() v unpack() padding: bug or ???

printf "'%s'\n",join "'",unpack '(A2)*','fredx ' 'fr'ed'x'

unpack is deciding to remove trailing spaces, I guess in the assumption that they are artifacts from pack.

Dum Spiro Spero