I'm writing a sell script.
What quick function/program can I use to split a string of the form
I need to use command substitution, e.g. `program email@example.com
I want to have 2 variables. One with value 'user' and the other one with 'domain.tld' . In other words, I want to split using the '@'