From 72e95a8826c2de752d3caf26cdbf24e6c7568e04 Mon Sep 17 00:00:00 2001 From: Andrew Yu Date: Sat, 16 Apr 2022 22:42:47 +0200 Subject: test --- pragmatics/Edfile | 3 +++ pragmatics/Makefile | 1 + pragmatics/pragmatics.txt | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 pragmatics/Edfile (limited to 'pragmatics') diff --git a/pragmatics/Edfile b/pragmatics/Edfile new file mode 100644 index 0000000..3afcce4 --- /dev/null +++ b/pragmatics/Edfile @@ -0,0 +1,3 @@ +6 +s/^...../RFD 1/ +w diff --git a/pragmatics/Makefile b/pragmatics/Makefile index 39f765f..bb8b210 100644 --- a/pragmatics/Makefile +++ b/pragmatics/Makefile @@ -10,6 +10,7 @@ pragmatics.7: pragmatics.md pragmatics.txt pragmatics.html: pragmatics.xml xml2rfc --text --html pragmatics.xml sed -i -e '/\f/{n;s/^.\{5\}/RFD 1/}' pragmatics.txt + ed pragmatics.txt < Edfile pragmatics.xml: pragmatics.md sed '0,/title =/{s/ ."$$/"/}' pragmatics.md | mmark > pragmatics.xml diff --git a/pragmatics/pragmatics.txt b/pragmatics/pragmatics.txt index dab31eb..f83b84c 100644 --- a/pragmatics/pragmatics.txt +++ b/pragmatics/pragmatics.txt @@ -3,7 +3,7 @@ Free Software Community A. Yu - The 2nd School Aff. to FDU +RFD 1 The 2nd School Aff. to FDU 16 April 2022 -- cgit 1.4.1-2-gfad0