Multiple Subkey Pairs
mailinglisten at hauke-laging.de
Thu Mar 13 23:38:00 CET 2014
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.
"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
gpg --recipient 0xD4BC64B8\!
gpg --recipient "0xD4BC64B8!"
Crypto für alle: http://www.openpgp-schulungen.de/fuer/unterstuetzer/
OpenPGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 490 bytes
Desc: This is a digitally signed message part.
More information about the Gnupg-users