]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Tue, 15 Nov 2022 11:12:53 +0000 (06:12 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 15 Nov 2022 11:17:51 +0000 (06:17 -0500)
doc/antora/modules/reference/pages/unlang/edit.adoc

index 34ce7d4237c10b20b17040afed6c25cbf2f0ab17..76a6ce24f9947481c11c618d152976fe3badb0c8 100644 (file)
@@ -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 _<rhs>_ are added to the value of the _<attribute>_.
 | -=       | Perform subtraction. The contents of the _<rhs>_ are subtracted from the value of the _<attribute>_.
 | *=       | Perform multiplication.  The value of the _<attribute>_ is multiplied by the contents of the _<rhs>_.
-| /=       | Perform subtraction. The value of the _<attribute>_ is divided by the contents of the _<rhs>_.
-| \|=       | Perform logical "or".  The value of the _<attribute>_ is "or"ed with the contents of the _<rhs>_.
+| /=       | Perform division. The value of the _<attribute>_ is divided by the contents of the _<rhs>_.
+| \|=      | Perform logical "or".  The value of the _<attribute>_ is "or"ed with the contents of the _<rhs>_.
 | &=       | Perform logical "and".  The value of the _<attribute>_ is "and"ed with the contents of the _<rhs>_.
-| <\<=       | Perform left shift.  The value of the _<attribute>_ is shifted left by the value of _<rhs>_
-| >>=       | Perform right shift.  The value of the _<attribute>_ is shifted right by the value of _<rhs>_
+| <\<=     | Perform left shift.  The value of the _<attribute>_ is shifted left by the value of _<rhs>_
+| >>=      | Perform right shift.  The value of the _<attribute>_ is shifted right by the value of _<rhs>_
 |=====
 
 The _<rhs>_ 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.