]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
print out partial tables
authorAlan T. DeKok <aland@freeradius.org>
Fri, 6 Feb 2026 18:08:56 +0000 (13:08 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 6 Feb 2026 18:10:33 +0000 (13:10 -0500)
scripts/dict/rfc-title

index 41e31b825b6002249100111b113c54b6b92261c3..030b4290357a15eeaa92419d536355c24a60b757 100755 (executable)
 #
 # ./scripts/dict/rfc-title share/dictionary/*/dictionary.rfc*
 #
+#
+#  Or:
+#
+#  for x in dhcpv4 dhcpv6 dns radius tacacs; do ./scripts/dict/rfc-title share/dictionary/$x/dictionary.rfc* > doc/antora/modules/developers/partials/dict_$x.adoc; done
+#
+#  We don't want this to run automatically, because it hits the IETF web site quite a bit.
+#
 
 ######################################################################
 #
@@ -49,6 +56,14 @@ $ua->ssl_opts(
     verify_hostname => 0
 );
 
+print <<EOF;
+[options=header,cols="20,~",autowidth]
+|====
+
+|RFC    |Description
+
+EOF
+
 while (@ARGV) {
     my $rfc= shift;
 
@@ -70,5 +85,7 @@ while (@ARGV) {
     $title =~ s/(RFC \d+) - //;
 
 
-    print $url, "[$1] - ", $title, "\n";
+    print "|", $url, "[$1] | ", $title, "\n\n";
 }
+
+print "|====\n";