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.
In reply to Re: pack() v unpack() padding: bug or ???
by GotToBTru
in thread pack() v unpack() padding: bug or ???
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |