From d0b7196e1cb77cf20c468cc5cddc0468ee67ef57 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 25 Jul 2015 13:50:43 +0100 Subject: [PATCH] Docs: add detail on keys for lookups --- doc/doc-docbook/spec.xfpt | 2 ++ 1 file changed, 2 insertions(+) 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 &<>&, 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 &<>&. +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 -- 2.25.1