So, in my script, I have to decide whether one of the parameters is a valid email address. I was trying, but it failed.
if $maddr="^.$*\(@\)\(*\)\(.\)\(??*\)" then ...
It's meant to mean: at least 1 character followed by @ followed by anything followed by a dot and followed by something, which has at least 2 characters.
Any help is appreciated. (Yes, I'm rookie, I'm learning scripting atm)