Am Do 13.03.2014, 22:17:08 schrieb MFPA: > > gpg --recipient 0xD4BC64B8\! > > I've never see it with a backslash before the exclamation mark. > What does the backslash add?
That has nothing to do with GnuPG it is for the Shell. man bash: "History expansions are introduced by the appearance of the history expansion character, which is ! by default. Only backslash (\) and single quotes can quote the history expansion character." "Several characters inhibit history expansion if found immediately following the history expansion character, even if it is unquoted: space, tab, newline, carriage return, and =. If the extglob shell option is enabled, ( will also inhibit expansion." Thus the \ is not necessary in this case. But because I often forget which characters inhibit history expansion I got used to always escape "!". If history expansion is active in your shell (bash: "echo $-" contains "H") compare gpg --recipient 0xD4BC64B8\! with gpg --recipient "0xD4BC64B8!" Hauke -- Crypto für alle: http://www.openpgp-schulungen.de/fuer/unterstuetzer/ http://userbase.kde.org/Concepts/OpenPGP_Help_Spread OpenPGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users