From: Alan T. DeKok Date: Tue, 15 Nov 2022 11:12:53 +0000 (-0500) Subject: typo X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1385d16efbe0bd1daad735e25fcb5525c1c76ff;p=thirdparty%2Ffreeradius-server.git typo --- diff --git a/doc/antora/modules/reference/pages/unlang/edit.adoc b/doc/antora/modules/reference/pages/unlang/edit.adoc index 34ce7d4237c..76a6ce24f99 100644 --- a/doc/antora/modules/reference/pages/unlang/edit.adoc +++ b/doc/antora/modules/reference/pages/unlang/edit.adoc @@ -19,11 +19,11 @@ attributes. ... ---- -In version 4, the `update` statements have been deprecated. They may -still work, but using them will give warnings. In addition, the +In version 4, the `update` statement has been deprecated. Using +`update` may still work, but will give warnings. In addition, the `update` sections are incapable of dealing with nested attributes, and will simply not work with them. We recommend switching to the new -syntax, which is more powerful, and less verbose. +edit syntax, which is more powerful, and less verbose. An edit statement has the following standard syntax: @@ -360,11 +360,11 @@ change the attribute _value_. | += | Perform addition. The contents of the __ are added to the value of the __. | -= | Perform subtraction. The contents of the __ are subtracted from the value of the __. | *= | Perform multiplication. The value of the __ is multiplied by the contents of the __. -| /= | Perform subtraction. The value of the __ is divided by the contents of the __. -| \|= | Perform logical "or". The value of the __ is "or"ed with the contents of the __. +| /= | Perform division. The value of the __ is divided by the contents of the __. +| \|= | Perform logical "or". The value of the __ is "or"ed with the contents of the __. | &= | Perform logical "and". The value of the __ is "and"ed with the contents of the __. -| <\<= | Perform left shift. The value of the __ is shifted left by the value of __ -| >>= | Perform right shift. The value of the __ is shifted right by the value of __ +| <\<= | Perform left shift. The value of the __ is shifted left by the value of __ +| >>= | Perform right shift. The value of the __ is shifted right by the value of __ |===== The __ can be a reference to another attribute @@ -402,7 +402,7 @@ The operators also apply to variable-sized values. Note that the `^=` operator behaves differently for `string` and `octets`. The output of "xor"ing two strings is likely to be binary data, and therefore not a printable string. As a result, it is more -useful for strings to have `^-` be a "prepend" operation. +useful for strings to have `^=` be a "prepend" operation. // Copyright (C) 2021 Network RADIUS SAS. Licenced under CC-by-NC 4.0. // Development of this documentation was sponsored by Network RADIUS SAS.