I've got an invoice that I created. I want to be able to make the invoice letter executable. I want to be able to type something like this at the command line:
./invoice someuser@mydomain.com userid password
just a recap of whats goin on here; the ./invoice is the name of the script, the email address would be where the invoice will be sent, the userid and password attributes would replace variables in the invoice so that any ppart that requires a username or password for the user, would automatically be fille before sending.
Is this hard to do? I just want the shellscript to user the userid and password strings and replace the fields in the invoice finally to be sent to the appropriate email address.
Thanks in advance!!
Rninja
./invoice someuser@mydomain.com userid password
just a recap of whats goin on here; the ./invoice is the name of the script, the email address would be where the invoice will be sent, the userid and password attributes would replace variables in the invoice so that any ppart that requires a username or password for the user, would automatically be fille before sending.
Is this hard to do? I just want the shellscript to user the userid and password strings and replace the fields in the invoice finally to be sent to the appropriate email address.
Thanks in advance!!
Rninja