I have a program that is passing a variable with several names in it: a$ = rich, tom, chuck, pat
I want to replace the commas with an email extension like @yahoo.com
The result should create a variable with the information like this:
Names$ = rich@yahoo.com, tom@yahoo.com, chuck@yahoo.com, pat@yahoo.com
What is the easiest way to do this in a shell script.
Thanks for your help.
I want to replace the commas with an email extension like @yahoo.com
The result should create a variable with the information like this:
Names$ = rich@yahoo.com, tom@yahoo.com, chuck@yahoo.com, pat@yahoo.com
What is the easiest way to do this in a shell script.
Thanks for your help.