I have the following code
awk test1 > out.xsl
mail -a out.xsl "Test Subject" abc@gmail.com < /dev/null
So I have a file in csv format and i need to convert it into excel when the mail is being sent. I do receive the mail but it gets corrupted when I try to open it. Test1 is a CSV file and Iam converting it in excel file named out.xsl. Iam sending the excel file in mail but Iam not able to open it or view anything inside it Please help