i'm making a ksh script that dumps regular backups and encrypts them using gpg,
and am having trouble with the @ character that appears in the recipient's 
email:

ADMIN="[EMAIL PROTECTED]"
...
gpg -e -r $ADMIN $ROOT/$HOST/$FN

i've tried escaping the @ with \ to no avail. i am aware that @ is involved in
regexps in ksh scripts, but i do not see how to escape a literal @.

the particular message i get when running the script is

/tmp/dobackup.WQnCtMA23614/backup[153]: [EMAIL PROTECTED]: unexpected `@'

cluesticking is appreciated. once this script is in a more thoroughly tested
form, i'll post it to [EMAIL PROTECTED]

cheers,
jake

Reply via email to