Re: uuencode in mailx

Paul Eggert <[email protected]> Mon, 25 Apr 2022 18:27:03 -0700
Newsgroups gmane.comp.gnu.utils.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
On 4/25/22 17:04, tekumal sai krishna wrote:
> In the older host
> the "UUENCODE" command works fine while in the new host although it encodes
> the file but doesn't send the email as an attachment rather sends in the
> email body with ASCII values.

Is this a problem with uuencode or with your "mail" command? I'd guess 
the latter, in which case you'd need to send a bug report to whoever 
maintains your "mail" command, not to bug-gnu-utils.

To see whether it's a uuencode problem, run the command

uuencode test.txt test_attachment.test >outfile
uudecode <outfile >infile
cmp infile test.txt

on both Solaris and GNU/Linux, and compare the output files. If you get 
the same results, I doubt whether it's a uuencode bug.