summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-07-25 13:50:43 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-07-26 16:59:37 +0100
commitd0b7196e1cb77cf20c468cc5cddc0468ee67ef57 (patch)
treef63d1e8f4be03cf71700dd7d36438be8b5c9e895 /doc
parent0d9b78befeb73ef16ae43263ff9ef7f4fd07cb4a (diff)
Docs: add detail on keys for lookups
Diffstat (limited to 'doc')
-rw-r--r--doc/doc-docbook/spec.xfpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 5dc0ad91c..0fc3cf1db 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -6243,12 +6243,14 @@ cause parts of the string to be replaced by data that is obtained from the
lookup. Lookups of this type are conditional expansion items. Different results
can be defined for the cases of lookup success and failure. See chapter
&<<CHAPexpand>>&, where string expansions are described in detail.
+The key for the lookup is specified as part of the string expansion.
.next
Lists of domains, hosts, and email addresses can contain lookup requests as a
way of avoiding excessively long linear lists. In this case, the data that is
returned by the lookup is often (but not always) discarded; whether the lookup
succeeds or fails is what really counts. These kinds of list are described in
chapter &<<CHAPdomhosaddlists>>&.
+The key for the lookup is given by the context in which the list is expanded.
.endlist
String expansions, lists, and lookups interact with each other in such a way