]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use .Example instead of anything else
authorAlan T. DeKok <aland@freeradius.org>
Tue, 13 Aug 2019 00:14:35 +0000 (20:14 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 13 Aug 2019 00:14:35 +0000 (20:14 -0400)
20 files changed:
doc/unlang/cond_attr.adoc
doc/unlang/cond_data.adoc
doc/unlang/cond_eq.adoc
doc/unlang/cond_module.adoc
doc/unlang/cond_not.adoc
doc/unlang/cond_para.adoc
doc/unlang/data_char.adoc
doc/unlang/data_double.adoc
doc/unlang/data_ip.adoc
doc/unlang/data_numb.adoc
doc/unlang/group.adoc
doc/unlang/load-balance.adoc
doc/unlang/map.adoc
doc/unlang/regex.adoc
doc/unlang/string_backticks.adoc
doc/unlang/string_double.adoc
doc/unlang/string_single.adoc
doc/unlang/string_unquoted.adoc
doc/unlang/xlat_attribute.adoc
doc/unlang/xlat_module.adoc

index 94488fc5de401937048ac67ebe8baa478f67ca3d..7c9fa6ed0fd14c47aa2a038535ec0fe1d5b5f110 100644 (file)
@@ -33,7 +33,7 @@ The attribute reference can also be qualified with a
 link:attr_list.adoc[list] reference.  When no list is given, the
 server looks in the input packet list for the named attribute.
 
-*Examples:*
+.Examples
 
 `&User-Name` +
 `&NAS-IP-Address` +
index 629952e8075edb0c66b8e5fee37d3fe4a12878f6..ce2ea0ff554f92f30dd6c4673c418b6e6efb388c 100644 (file)
@@ -29,7 +29,7 @@ strings are `true`.
 
 All other data types are disallowed in existence checks.
 
-*Examples:*
+.Examples
 
 `"hello there"` +
 `5`
index ca1f313fac9e2e6d9c91c5358750d7a41b97096d..bb81051bf3e700dd73087ee5edcd67e5b6ba0781 100644 (file)
@@ -16,7 +16,7 @@ dictionary. Similarly, if `data-1` refers to an attribute of type `date`, then `
 If the resulting data evaluates to be the same, then the operator
 returns `true`; otherwise, it returns `false`.
 
-*Examples:*
+.Examples
 
 `if (User-Name == "bob") { ...`
 
index d8d35541829aaed323ebe093f900bcf57f99b64c..1b4020e1987a679cd880aeb714b343d68b3c6785 100644 (file)
@@ -33,7 +33,7 @@ The list of valid return codes is as follows:
 |handled |the module has handled the request itself
 |==================================================
 
-*Examples:*
+.Examples
 
 [source,unlang]
 ----
index e1d7003a1e353fa493026d7c1fe0e91a1df4208c..8fe98d2bbe2597404907ab5a8e67b582113c8a5f 100644 (file)
@@ -11,7 +11,7 @@ The `!` operator negates the result of the following condition.  It
 returns `true` when _condition_ returns `false`.  It returns `false`
 when _condition_ returns `true`.
 
-*Examples:*
+.Examples
 
 `(! (foo == bar))` +
 `! &User-Name`
index 22e84c51039e9cc8fd61b189c620ecf5aca53970..450c512b3a141098ad27f50dc111f7215ff2b908 100644 (file)
@@ -11,7 +11,7 @@ The `( )` operator returns the result of evaluating the given
 `condition`. It is used to clarify policies or to explicitly define
 conditional precedence.
 
-*Examples:*
+.Examples
 
 `(foo)` +
 `(bar || (baz && dub))`
index df4627f89286cf9ba92bde8f32cb3fae569b745c..75b163d17251d360b1e47faeb1cde83a846c8227 100644 (file)
@@ -6,7 +6,7 @@ escaped by using the backslash, or `\,` character. The backslash
 character itself can be created by using `\\`. Carriage returns and
 line feeds can be created by using `\n` and `\r`.
 
-*Examples:*
+.Examples
 
 `"I say \"hello\" to you"` +
 `"This is split\nacross two lines"`
index 9f1cd6ef82dea3383b84fddbe10df290fd982ff8..abc9ca9badbc216045df53ceaafca43baf654638 100644 (file)
@@ -29,7 +29,7 @@ used with the context of a known attribute.  That attribute has a
 link:data.adoc[data type], and the text will be interpreted as that
 data type.
 
-*Examples:*
+.Examples
 
 `"word"` +
 `"a string"` +
index fc4aaa85747c961f28ba41f4549e185a79aa65cd..1582b8b909268c5f667796a885aeca026da49c26 100644 (file)
@@ -1,7 +1,7 @@
 
 == IP Addresses
 
-*Examples:*
+.Examples
 
 `192.0.2.16` +
 `::1` +
index db34a0950772df1d37efffcef83a1ebeef31b65a..f0534e42f4899333c6b8fc3f2346a5e107efa4b8 100644 (file)
@@ -1,7 +1,7 @@
 
 == Numbers
 
-*Examples:*
+.Examples
 
 `0` +
 `563`
index f640a5db39dfe54e7edc9e65700d3ac6019d5300..92d6e97ae7937bd463b60756ef17826c4d8526f5 100644 (file)
@@ -22,7 +22,7 @@ enclosing section.  However, the `group` statement is included in the
 
 The contents of a `group` subsection can be any `unlang` statement.
 
-*Examples:*
+.Examples
 
 [source,unlang]
 ----
index f5f021fed9316d64a206bef80dc539dbf8b70cd6..a2bbd4cf548b55494c710602dc0fc89d92c3da9b 100644 (file)
@@ -22,7 +22,7 @@ deterministically shard requests across multiple modules.
 In general, the link:redundant-load-balance.adoc[redundant-load-balance]
 statement is more useful than this one.
 
-*Examples:*
+.Examples
 
 [source,unlang]
 ----
index ab1d362ee2d2f5742bab3c5c17523b1ca2147869..91d9206eb275cfbfac1e0d3b161319d8a647e08d 100644 (file)
@@ -41,7 +41,7 @@ expanded _<field>_ can refer to a non-existent field name.  In both
 cases, the `map` statement returns `fail`, and no server attributes
 are affected.
 
-*Examples:*
+.Examples
 
 [source,unlang]
 ----
index 134a3cd6baebf7d14fb5b831c847c7b9230370a3..a6e3ae308fb8d6d31d2ed84830ac80fd304d1e45 100644 (file)
@@ -49,7 +49,7 @@ contain the substring matches, starting from the left-most parentheses.
 If there are more than eight parentheses, the additional results will be
 discarded and will not be placed into any variables.
 
-*Examples:*
+.Examples
 
 `if (User-Name =~ /@example\.com$$/) { ...`
 
index bfc9622525dde2d76b1fdc78b91ea600f9799993..933e7688e14a7f5311ccd8c37167451ac1e6309b 100644 (file)
@@ -30,7 +30,7 @@ programs need to be executed, it is suggested that alternative ways to
 achieve the same result be found. In some cases, using a real
 programming language such as `lua`, `perl` or `python` may be better.
 
-*Examples:*
+.Examples
 
 `{backtick}/bin/echo hello{backtick}`
 
index 2d5c8479cf3e6b20097f95f0d73e391ccc8f196b..ae2e13866767eeb044d7b1f3b311a570ff4dedeb 100644 (file)
@@ -28,7 +28,7 @@ represent in datastores, or the FreeRADIUS configuration files.
 | `\x<oct><oct><oct>` | A byte whose numerical value is given by `<oct><oct><oct>` interpreted as an octal number.
 |=====
 
-*Examples:*
+.Examples
 
 `"hello"` +
 `"foo bar"' +
index 94699076b3b4d50494351ab9a290107c07054daf..777072932ae33ad1347c8f064f5893057eabdc03 100644 (file)
@@ -8,7 +8,7 @@ expansion. The quotes allow the string to contain spaces, among other
 special characters. The single quote character can be placed in such a
 string by escaping it with a backslash.
 
-*Examples:*
+.Examples
 
 `'hello'` +
 `'foo bar`' +
index 23ff669ecd60d345745cfc035443316e0d27d715..4075ace86dd20cf92d0708ace43400fff9f4f2a4 100644 (file)
@@ -12,7 +12,7 @@ equivalent to placing the string in single quotes.
 The interpretation of the text depends on the context, which is
 usually defined by an attribute which has a link:data.adoc[data type].
 
-*Examples:*
+.Examples
 
 `Hello` +
 `192.168.0.1` +
index dff6939bec704a0e028b0329b1d5a6376228179a..959f2dc93c3aa0f16049308182168b33551531ea 100644 (file)
@@ -24,7 +24,7 @@ attribute of the given name. If found, the variable reference in the
 string is replaced with the value of that attribute. Otherwise, the
 reference is replacedd with an empty string.
 
-*Examples:*
+.Examples
 
 `%{User-Name}` +
 `%{request:User-Name} # same as above` +
index db5a6b94a04cf3bfdc75b9f4d5a6e0d57d1685e8..19064d307e2c4f0152f6eba1f04ca7025cdd98e3 100644 (file)
@@ -11,7 +11,7 @@ the module, as described earlier. The string portion is specific to each
 module and is not documented here. It is, however, usually dynamically
 expanded to allow for additional flexibility.
 
-*Examples:*
+.Examples
 
 `%{sql:SELECT name FROM mytable WHERE username = %{User-Name}}`