From: nolade Date: Thu, 13 Mar 2025 18:15:49 +0000 (-0400) Subject: Remove & from &Tmp X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40cc57135ed011a97d17269afecef595ff9b481d;p=thirdparty%2Ffreeradius-server.git Remove & from &Tmp perl -p -i -e 's/\&Tmp/Tmp/g' $(git grep -lE '&[a-zA-Z0-9]' doc/antora | egrep -v 'raddb|developers|interpreter|assets') --- diff --git a/doc/antora/modules/howto/pages/twitter.adoc b/doc/antora/modules/howto/pages/twitter.adoc index 4d2629302cd..97e281bda66 100644 --- a/doc/antora/modules/howto/pages/twitter.adoc +++ b/doc/antora/modules/howto/pages/twitter.adoc @@ -68,7 +68,7 @@ twitter_sign { # Stage 1.0 - Generate the nonce (base64 encoding of 32 bytes of random data) and record the timestamp update request { Tmp-Octets-0 := "0x%{randstr:hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh}" - Tmp-String-0 := "%{base64:&Tmp-Octets-0}" + Tmp-String-0 := "%{base64:Tmp-Octets-0}" Tmp-Integer-0 := "%l" } @@ -100,8 +100,8 @@ twitter_sign { # Stage 1.4 - Create the oAuth signature update request { - Tmp-Octets-1 := "0x%{hmacsha1:&Tmp-String-2 &Tmp-String-3}" - Tmp-String-4 := "%{base64:&Tmp-Octets-1}" + Tmp-Octets-1 := "0x%{hmacsha1:Tmp-String-2 Tmp-String-3}" + Tmp-String-4 := "%{base64:Tmp-Octets-1}" } # Stage 2.0 - Adding the authorization header diff --git a/doc/antora/modules/reference/pages/type/string/double.adoc b/doc/antora/modules/reference/pages/type/string/double.adoc index 4a4d2f984cb..6cb367b3df0 100644 --- a/doc/antora/modules/reference/pages/type/string/double.adoc +++ b/doc/antora/modules/reference/pages/type/string/double.adoc @@ -112,7 +112,7 @@ type to `string`. The value is left alone. [source,unlang] ---- "User-Name is %{Tmp-Octets-0}" -"User-Name is %{(string) &Tmp-Octets-0}" +"User-Name is %{(string) Tmp-Octets-0}" ---- if the `Tmp-Octets-0` attribute has value `0x666f6f` (`foo`) diff --git a/doc/antora/modules/reference/pages/unlang/foreach.adoc b/doc/antora/modules/reference/pages/unlang/foreach.adoc index 99ed1126a39..3f8a3acf09b 100644 --- a/doc/antora/modules/reference/pages/unlang/foreach.adoc +++ b/doc/antora/modules/reference/pages/unlang/foreach.adoc @@ -69,7 +69,7 @@ the execution of the loop. ---- Tmp-Integer-0 := { 1, 3, 5, 11 } -foreach self (&Tmp-Integer-0) { +foreach self (Tmp-Integer-0) { self += 19 } ---- @@ -161,7 +161,7 @@ examined, but cannot be changed. This is a limitation of the current interprete .Example of Looping over children of a structural type. [source,unlang] ---- -foreach thing (&Tmp-TLV-0[*]) { +foreach thing (Tmp-TLV-0[*]) { out += &thing.c out += " " }