]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
note %}
authorAlan T. DeKok <aland@freeradius.org>
Thu, 6 Dec 2018 14:18:28 +0000 (09:18 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 6 Dec 2018 14:20:37 +0000 (09:20 -0500)
man/man5/unlang.5

index dbcfeba4485c72c2a038876d2ac6c6f86b245b3f..dffdf7bdf67d96e77d81d544be8db5867908368c 100644 (file)
@@ -10,7 +10,7 @@
 .RE
 .sp
 ..
-.TH unlang 5 "14 September 2017" "" "FreeRADIUS Processing un-language"
+.TH unlang 5 "06 December 2018" "" "FreeRADIUS Processing un-language"
 .SH NAME
 unlang \- FreeRADIUS Processing un\-language
 .SH DESCRIPTION
@@ -724,11 +724,17 @@ it the given string, and replace the string expansion with the
 resulting string returned from the module.
 
 .DS
-       %{module: string ...}
+       %{module:string ...}
 .DE
 
 The syntax of the string is module-specific.  Please read the module
-documentation for additional details.
+documentation for additional details.  If a literal "}" character is
+needed inside of an expansion, it should be escaped as "%}".  e.g.
+"%{module:This uses {braces%} as an example}"
+
+Many modules will take data that is dynamically expanded, e.g.
+"%{module:%{Attribute-Name}}".  The expansion will be turned into a
+static string before it is passed to the module.
 .RE
 .PP
 Conditional Syntax