I am trying to write a script which will provide a single prompt and as a result provide multiple variables. For example I would like to prompt the user to enter their email address and from that input I would like to get the following three variables.
1. $v1 = the full email address
2. $V2 = the part of the address before @
3. $v3 =the domain.
Any suggestions?