Multiple Subkey Pairs
Hauke Laging
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.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20140313/2936afe0/attachment.sig>
More information about the Gnupg-users
mailing list