Docs: fix sort example
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 17 Jan 2015 23:13:20 +0000 (23:13 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 17 Jan 2015 23:13:20 +0000 (23:13 +0000)
doc/doc-docbook/spec.xfpt

index 63fef7fc478d9a33051ddfee599bb0daf9691fa1..f7bebc866c9c8ba89126c0048ffcf3be9c7cd190 100644 (file)
@@ -9736,7 +9736,7 @@ ${sort{3:2:1:4}{<}{$item}}
 .endd
 sorts a list of numbers, and
 .code
 .endd
 sorts a list of numbers, and
 .code
-${sort {$lookup dnsdb{>:,,mx=example.com}} {<} {${listextract{1}{<,$item}}}}
+${sort {${lookup dnsdb{>:,,mx=example.com}}} {<} {${listextract{1}{<,$item}}}}
 .endd
 will sort an MX lookup into priority order.
 
 .endd
 will sort an MX lookup into priority order.