gpg and double quotation mark problem

Shaoping Xie sp_xie at yahoo.com
Mon Mar 4 00:39:49 CET 2013


Greetings:
 
    I am working on a script to automate the encryption process and have encountered a strange problem:
 
    Line 1:    $GPG "$ADDITIONALOPTIONS" -r "$GPGKEY" -o "$OUTPUTFILE" -e "$INPUTFILE"
    Line 2:    $GPG $ADDITIONALOPTIONS -r $GPGKEY -o $OUTPUTFILE -e $INPUTFILE

    Line 2 works as expected while line 1 does not work. 

    Any explanation?

    Thank you,
    Shaoping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20130303/dd9ef2bc/attachment.htm>


More information about the Gnupg-users mailing list