I'm referencing my original post in which I was asking a question about argument placement pertaining to $2 $3 etc, and eventually ${@:2}. It was mentioned that there are better methods to encode email attachments.
Note, I used uname -or to figure out 2.6.32-400.26.3.el5uek GNU/Linux.
I used the command within a bash script to attach a file to an email, and have it in a couple other scripts as well. However, a few of our machines do not even support uuencode, so what are some better options for attaching files to emails than uuencode?
mailmay include-ato attach a file, in which case the encoding is handled under the hood for you. – DopeGhoti Jul 12 '17 at 20:47uuencode. – Chris Davies Jul 12 '17 at 22:15