Re: ksh scripting: unexpected `@'

2006-08-10 Thread jared r r spiegel
On Thu, Aug 10, 2006 at 11:06:40PM -0400, jared r r spiegel wrote: > > the /closest/ thing i'm aware of wrt the '@' being interpreted as > a regex by ksh would be in filename patterns - but even then, it only > indicates that the stuff following in the ERE-like '(a|b|c)' > construct should

Re: ksh scripting: unexpected `@'

2006-08-10 Thread jared r r spiegel
On Thu, Aug 10, 2006 at 07:19:11PM -0500, Jacob Yocom-Piatt wrote: > > thx for the suggestions all, i've fixed the issue. the trouble was that i had > an > if statement that was evaluating $ADMIN like so: > > if [[ $ADMIN -ne "" ]]; then > > this likely had the @ being interpreted as a regexp.

Re: ksh scripting: unexpected `@'

2006-08-10 Thread Jacob Yocom-Piatt
Original message >Date: Thu, 10 Aug 2006 22:28:27 +0200 >From: Alexander Hall <[EMAIL PROTECTED]> >Subject: Re: ksh scripting: unexpected `@' >To: [EMAIL PROTECTED] >Cc: misc@openbsd.org > ... >Don't know if I get you right, but I'd try

Re: ksh scripting: unexpected `@'

2006-08-10 Thread Alexander Hall
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

Re: ksh scripting: unexpected `@'

2006-08-10 Thread Darrin Chandler
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 $ROO

ksh scripting: unexpected `@'

2006-08-10 Thread Jacob Yocom-Piatt
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 invo