From: Clemens Gößnitzer Subject: Re: bgplg: modernize html To: Claudio Jeker Cc: "Anthony J. Bentley" , tech@openbsd.org Date: Mon, 05 Feb 2024 13:02:36 +0100 On Mon, 2024-02-05 at 10:03 +0100, Claudio Jeker wrote: > On Mon, Feb 05, 2024 at 09:57:26AM +0100, Clemens Gößnitzer wrote: > > On Sun, 2024-02-04 at 15:24 -0700, Anthony J. Bentley wrote: > > > Clemens Gößnitzer writes: > > > > The attached diff modernizes the html output from bgplg(8): > > > > > > > > * Switch to html 5 > > > > * Unify usage of " vs ' in html tags > > > > * Drop trailing / for single tags, type=text/css and \n"); + printf("\n"); } if (stat(INC_HEAD, &st) != 0 || lg_incl(INC_HEAD) != 0) { printf("\n" @@ -308,8 +306,8 @@ main(void) } printf("\n" - "\n" - "\n" + "\n" + "\n" "\n" "\n" "
\n", req ? req : "");
Index: bgplg.foot
===================================================================
RCS file: /cvs/src/usr.bin/bgplg/bgplg.foot,v
retrieving revision 1.1
diff -u -p -u -r1.1 bgplg.foot
--- bgplg.foot	11 Dec 2006 23:10:10 -0000	1.1
+++ bgplg.foot	5 Feb 2024 11:58:37 -0000
@@ -1,2 +1,2 @@
 
-
+
Index: bgplg.head =================================================================== RCS file: /cvs/src/usr.bin/bgplg/bgplg.head,v retrieving revision 1.3 diff -u -p -u -r1.3 bgplg.head --- bgplg.head 30 Mar 2012 14:31:18 -0000 1.3 +++ bgplg.head 5 Feb 2024 11:58:37 -0000 @@ -2,5 +2,5 @@
-OpenBGPD +OpenBGPD Index: index.html =================================================================== RCS file: /cvs/src/usr.bin/bgplg/index.html,v retrieving revision 1.2 diff -u -p -u -r1.2 index.html --- index.html 12 Dec 2006 11:37:55 -0000 1.2 +++ index.html 5 Feb 2024 11:58:37 -0000 @@ -1,9 +1,8 @@ - - - + + bgplg... - +

bgplg...