I am using the following command on HPUX 10.20 to send the contents of a file to me in an email:
mail <address> </home/<user>/report.txt
It works fine but it would be nice to have it give a subject in the email - with the above command the email arrives with a blank subject. Everything I've managed to find about this suggests that
mail -s "title" <address> </home/<user>/report.txt
ought to work, but it does not appear to do so on HPUX 10.2.
Does anybody know if there is a switch I can use?
mail <address> </home/<user>/report.txt
It works fine but it would be nice to have it give a subject in the email - with the above command the email arrives with a blank subject. Everything I've managed to find about this suggests that
mail -s "title" <address> </home/<user>/report.txt
ought to work, but it does not appear to do so on HPUX 10.2.
Does anybody know if there is a switch I can use?