snowcrash+bugbash <[EMAIL PROTECTED]> wrote:
>  CMD="$GPG --output revoke.txt --gen-revoke $ME"
>
>  /usr/bin/expect -c "\
>  spawn `$CMD`;\
>  stty -echo;\
>  expect 'Create a revocation certificate for this key? (y/N) ';\
>  send 'y\n'"

You have backticks around $CMD.  That means bash will run the gpg
command first, and the substitute its output in the argument to
expect.  If you want expect to see literal backticks around the gpg
command, escape them with backslashes.


paul


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to