commit a4ecedfae16860af6c96b200486e8830a8cf4c4e
parent 45c6d18d368079899fa45275e40b636479179113
Author: Juan F. Meleiro <juan@juanmeleiro.mat.br>
Date: Fri, 24 Mar 2023 11:29:25 -0300
weekly: Transform into m4 template
Diffstat:
8 files changed, 99 insertions(+), 110 deletions(-)
diff --git a/weekly.m4 b/weekly.m4
@@ -0,0 +1,18 @@
+define(dhl, `===============================================================================')dnl
+define(shl, `-------------------------------------------------------------------------------
+')dnl
+define(module, shl`$1
+
+include($2)')dnl
+dhl
+`Registrar: juan The Agoran Directory 'esyscmd(date +%Y-%m-%d | tr -d '\n')
+dhl
+
+module(NEWS, weekly/news.m4)
+module(PLAYERS, weekly/players.m4)
+module(FORA, weekly/fora.m4)
+module(BANNED PEOPLE, weekly/banned.m4)
+module(INTERNAL, weekly/internal.m4)
+module(EDITORIAL, weekly/editorial.m4)
+
+dhl
diff --git a/weekly.txt b/weekly.txt
@@ -1,110 +0,0 @@
-===============================================================================
-Registrar: juan The Agoran Directory 2023-03-21
-===============================================================================
-
--------------------------------------------------------------------------------
-NEWS
-
-* New arrivals! Yachay Wayllukuq (a.k.a. Yachay) has become a player on
- the 16th.
-
--------------------------------------------------------------------------------
-PLAYERS
-
-Active players: 16/17
-
-a Player Registered Last change Contact
-- ------ ---------- ----------- -------
-+ 4st 2023-01-27 " notorious4st at gmail dot com
-+ Aced7 2022-10-19 " cadenomic at gmail dot com
-+ ais523 2021-06-08 " callforjudgement at yahoo.co dot uk
-+ Aspen 2022-11-04 " thoughtsoflifeandlight17 at gmail dot com
-+ G. 2017-08-25 2021-02-03 kerim at uw dot edu
-+ Gaelan 2017-05-15 2021-02-03 gbs at canishe dot com
-+ Janet 2019-06-02 2021-02-03 agora at randomcat dot org
-+ juan 2022-03-14 " juan at juanmeleiro.mat dot br
-+ Marb 2022-11-27 " marb at shabu dot town
-+ Murphy 2017-12-17 2021-02-03 murphy.agora at gmail dot com
-+ nix 2022-10-09 " agora at nullarch dot com
-+ Shy Owl 2022-10-07 " iamashyown at proton dot me
-+ snail 2022-01-29 " secretsnail9 at gmail dot com
-+ cuddlybanana 2021-03-16 2023-01-16 rose.strong42 at gmail dot com
-+ tb148 2023-02-06 " tb148 at proton dot me
-+ R. Lee 2023-01-31 " sarahestrange0 at gmail dot com
-+ Yachay Wayllukuq 2023-03-16 " yachaywayllukuq at gmail.com
-- omd 2011-02-03 2022-03-23 comexk at gmail dot com
-
-Convetions:
-* Player: Latest player name.
-* Registered: Date of latest registration.
-* Last change: date of latest change in Activity.
-* Contact: URI for eir prefered contact method
-
-Legend for symbols:
-a Activity
-+ Active
-- Inactive
-" Same value as cell to the left
-
-
--------------------------------------------------------------------------------
-FORA
-
-Publicity Location or description Typical use
---------- ----------------------- -----------
-Public agora-official at agoranomic.org official reports
-Public agoranomic at groups.io * backup
-Public agora-business at agoranomic.org other business
-Public agora at listserver.tue.nl backup
-Foreign irc://irc.libera.chat:6667/##nomic discussion
-Discussion https://discord.gg/JCC6YGc discussion
-Discussion agora-discussion at agoranomic.org discussion
-
-* The forum is specifically just that email list.
-
-Subscribe or unsubscribe from main lists:
-
- http://www.agoranomic.org/cgi-bin/mailman/listinfo
-
-Subscribe or unsubscribe from tue.nl backup list:
-
- http://listserver.tue.nl/mailman/listinfo/agora
-
-The IRC channel does not require subscription; set your IRC client to
-server irc.libera.chat, port 6667, channel ##nomic.
-
-You can subscribe to GIO by messaging the following email
-
- main+subscribe at agoranomic.groups.io
-
-
--------------------------------------------------------------------------------
-BANNED PEOPLE
-
--------------------
-Person Date of ban
------- -----------
-Madrid 2022-09-11
--------------------
-
--------------------------------------------------------------------------------
-INTERNAL
-
-Regarding what information is included in the report and why.
-
-- List of players (R2139)
-- List of players' contact information (R2139)
-- Date of latest registration (R2139)
-- Fora (R2139)
-- Date of latest activation (convenience for deregistrations as per R2646)
-- Number of players (petition by nix on 2023-02-23)
-- Banned people (R2679)
-
--------------------------------------------------------------------------------
-EDITORIAL
-
-For any corrections,
-For any suggestions or complaints of form,
-Please contact the Registrar.
-
-===============================================================================
diff --git a/weekly/banned.m4 b/weekly/banned.m4
@@ -0,0 +1,5 @@
+-------------------
+Person Date of ban
+------ -----------
+Madrid 2022-09-11
+-------------------
diff --git a/weekly/editorial.m4 b/weekly/editorial.m4
@@ -0,0 +1,3 @@
+For any corrections,
+For any suggestions or complaints of form,
+Please contact the Registrar.
diff --git a/weekly/fora.m4 b/weekly/fora.m4
@@ -0,0 +1,26 @@
+Publicity Location or description Typical use
+--------- ----------------------- -----------
+Public agora-official at agoranomic.org official reports
+Public agoranomic at groups.io * backup
+Public agora-business at agoranomic.org other business
+Public agora at listserver.tue.nl backup
+Foreign irc://irc.libera.chat:6667/##nomic discussion
+Discussion https://discord.gg/JCC6YGc discussion
+Discussion agora-discussion at agoranomic.org discussion
+
+* The forum is specifically just that email list.
+
+Subscribe or unsubscribe from main lists:
+
+ http://www.agoranomic.org/cgi-bin/mailman/listinfo
+
+Subscribe or unsubscribe from tue.nl backup list:
+
+ http://listserver.tue.nl/mailman/listinfo/agora
+
+The IRC channel does not require subscription; set your IRC client to
+server irc.libera.chat, port 6667, channel ##nomic.
+
+You can subscribe to GIO by messaging the following email
+
+ main+subscribe at agoranomic.groups.io
diff --git a/weekly/internal.m4 b/weekly/internal.m4
@@ -0,0 +1,9 @@
+Regarding what information is included in the report and why.
+
+- List of players (R2139)
+- List of players' contact information (R2139)
+- Date of latest registration (R2139)
+- Fora (R2139)
+- Date of latest activation (convenience for deregistrations as per R2646)
+- Number of players (petition by nix on 2023-02-23)
+- Banned people (R2679)
diff --git a/weekly/news.m4 b/weekly/news.m4
@@ -0,0 +1,3 @@
+* New arrivals! Yachay Wayllukuq (a.k.a. Yachay) has become a player on
+ the 16th.
+
diff --git a/weekly/players.m4 b/weekly/players.m4
@@ -0,0 +1,35 @@
+Active players: esyscmd(awk 'BEGIN {flag=0}; /^$/ {flag=0}; /^+/ && flag; /^-[- ]+$/ {flag=1};' __file__ | wc -l | tr -d '\n')/esyscmd(awk 'BEGIN {flag=0}; /^$/ {flag=0}; flag; /^-[- ]+$/ {flag=1};' __file__ | wc -l | tr -d '\n')
+
+a Player Registered Last change Contact
+- ------ ---------- ----------- -------
++ 4st 2023-01-27 " notorious4st at gmail dot com
++ Aced7 2022-10-19 " cadenomic at gmail dot com
++ ais523 2021-06-08 " callforjudgement at yahoo.co dot uk
++ Aspen 2022-11-04 " thoughtsoflifeandlight17 at gmail dot com
++ G. 2017-08-25 2021-02-03 kerim at uw dot edu
++ Gaelan 2017-05-15 2021-02-03 gbs at canishe dot com
++ Janet 2019-06-02 2021-02-03 agora at randomcat dot org
++ juan 2022-03-14 " juan at juanmeleiro.mat dot br
++ Marb 2022-11-27 " marb at shabu dot town
++ Murphy 2017-12-17 2021-02-03 murphy.agora at gmail dot com
++ nix 2022-10-09 " agora at nullarch dot com
++ Shy Owl 2022-10-07 " iamashyown at proton dot me
++ snail 2022-01-29 " secretsnail9 at gmail dot com
++ cuddlybanana 2021-03-16 2023-01-16 rose.strong42 at gmail dot com
++ tb148 2023-02-06 " tb148 at proton dot me
++ R. Lee 2023-01-31 " sarahestrange0 at gmail dot com
++ Yachay Wayllukuq 2023-03-16 " yachaywayllukuq at gmail.com
+- omd 2011-02-03 2022-03-23 comexk at gmail dot com
+
+Convetions:
+* Player: Latest player name.
+* Registered: Date of latest registration.
+* Last change: Date of latest change in Activity.
+* Contact: URI for eir prefered contact method
+
+Legend for symbols:
+a Activity
++ Active
+- Inactive
+" Same value as cell to the left
+