Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
- The problem statement, all variables and given/known data:
The function will be called m and it will allow you to send an email to someone using the mail command. The function should take the To: address, a Cc: address using the �t parameter, a subject line using the �s parameter and an input file. When running this function, you will type something like the following as an example:
m email1 email2 subject someinputfile.
- Relevant commands, code, scripts, algorithms:
m email1 email2 subject someinputfile
-t, -s
- The attempts at a solution (include all code and scripts):
m()
{
mail=$1
-t=$2
-t=$3
-s=$4
<=$5
}
- Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):
Chemeketa Community College, Salem, Oregon, USA, D. Kraus, CIS140U (Cannot link yet)