On Sat, 30 Apr 2005 01:03:49 -0700 (PDT), wolfe said:
gpg --no-tty --export-secret-keys --armor '$EMAIL' $IDENT.sec.asc
gpg --no-tty --export --armor '$EMAIL' $IDENT.pub.asc
Do you really have a key with the string '$EMAIL' in a user ID?
I guess what you want to use is
gpg --batch
In using these commands within a unix bash script
cat -___ | gpg --batch --no-tty --gen-key
%echo Generating a standard key
Key-Type: DSA
Key-Length: 1024
Subkey-Type: ELG-E
Subkey-Length: 1024
Name-Real: $IDENT
Name-Comment: $CALL
Name-Email: $EMAIL
Expire-Date: 0
Passphrase: $PASSPHRASE