On Thu, Aug 10, 2006 at 11:35:51AM -0500, Jacob Yocom-Piatt wrote: > 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
ADMIN="'[EMAIL PROTECTED]'" -- Darrin Chandler | Phoenix BSD Users Group [EMAIL PROTECTED] | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ |

