uuencode change from Solaris to Linux

EmailI am currently involved with migrating a system from Solaris to Linux.  One of the issues with some of the scripts where the emails were not sending attachments from the server.  They use uuencode to attach the csv files generated from the database and mail out to the relevant groups.

On the Solaris side we were using 

~< ! uuencode $FILE1 `basename $FILE1`

 Once migrated on the Linux side we had to change them to


$(cat $FILE1 | uuencode `basename $FILE1`)

So if you do swap to a different OS you may need to change this also.

I am always interested in feedback so please feel free to add any comments, or you can mail me  here.  If you would like to submit a quick tip  with full credit and links back to your site then also feel free to contact me.

Enable FTP in Lion

Disable desktop icons