From b1867e815e5f1b3e1fc957cffe6fbadbce7bfb28 Mon Sep 17 00:00:00 2001 From: Andrew Yu Date: Sun, 17 Apr 2022 10:42:54 +0200 Subject: leah is funny --- testing/Edfile | 3 + testing/Makefile | 13 + testing/configure | 65 +++ testing/leahrowe-test.7 | 23 + testing/leahrowe-test.html | 1314 ++++++++++++++++++++++++++++++++++++++++++++ testing/leahrowe-test.md | 69 +++ testing/leahrowe-test.txt | 56 ++ testing/leahrowe-test.xml | 49 ++ 8 files changed, 1592 insertions(+) create mode 100644 testing/Edfile create mode 100644 testing/Makefile create mode 100755 testing/configure create mode 100644 testing/leahrowe-test.7 create mode 100644 testing/leahrowe-test.html create mode 100644 testing/leahrowe-test.md create mode 100644 testing/leahrowe-test.txt create mode 100644 testing/leahrowe-test.xml (limited to 'testing') diff --git a/testing/Edfile b/testing/Edfile new file mode 100644 index 0000000..ca8f541 --- /dev/null +++ b/testing/Edfile @@ -0,0 +1,3 @@ +6 +s/^......../RFD 1548/ +wq diff --git a/testing/Makefile b/testing/Makefile new file mode 100644 index 0000000..2acaad2 --- /dev/null +++ b/testing/Makefile @@ -0,0 +1,13 @@ +update: leahrowe-test.txt leahrowe-test.7 leahrowe-test.html + git add . + git commit + git push + +leahrowe-test.7: leahrowe-test.md + mmark --man leahrowe-test.md > leahrowe-test.7 +leahrowe-test.txt leahrowe-test.html: leahrowe-test.xml + xml2rfc --text --html leahrowe-test.xml + sed -i -e '/\f/{n;s/^......../RFD RFDN/}' leahrowe-test.txt + ed leahrowe-test.txt < Edfile +leahrowe-test.xml: leahrowe-test.md + sed '0,/title =/{s/ ."$$/"/}' leahrowe-test.md | mmark > leahrowe-test.xml diff --git a/testing/configure b/testing/configure new file mode 100755 index 0000000..608292d --- /dev/null +++ b/testing/configure @@ -0,0 +1,65 @@ +#!/bin/sh +# +# A simple shell script for creating new articles +# +# Copyright © 2022 Andrew Yu +# +# This is free and unencumbered software released into the public domain. +# +# Anyone is free to copy, modify, publish, use, compile, sell, or +# distribute this software, either in source code form or as a compiled +# binary, for any purpose, commercial or non-commercial, and by any +# means. +# +# In jurisdictions that recognize copyright laws, the author or authors +# of this software dedicate any and all copyright interest in the +# software to the public domain. We make this dedication for the benefit +# of the public at large and to the detriment of our heirs and +# successors. We intend this dedication to be an overt act of +# relinquishment in perpetuity of all present and future rights to this +# software under copyright law. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +# OTHER DEALINGS IN THE SOFTWARE. + + +[ -z "$2" ] && printf "$0: Not enough arguments.\n$0: You MUST run this script with the following arguments:\n$0: \n" > /dev/stderr && exit 1 +[ "$3" ] && printf "$0: Too many arguments.\n$0: You MUST run this script with the following arguments:\n$0: \n" > /dev/stderr && exit 2 + +FILENAME="$1" +RFDN="$2" + +mv TEMPLATE.md "$FILENAME".md + +sed -i 's/RFDN/'"$RFDN"'/g' "$FILENAME".md + +(sed 's/FILENAME/'"$FILENAME"'/g' << EOF +update: FILENAME.txt FILENAME.7 FILENAME.html + git add . + git commit + git push + +FILENAME.7: FILENAME.md + mmark --man FILENAME.md > FILENAME.7 +FILENAME.txt FILENAME.html: FILENAME.xml + xml2rfc --text --html FILENAME.xml + sed -i -e '/\f/{n;s/^DOTS/RFD RFDN/}' FILENAME.txt + ed FILENAME.txt < Edfile +FILENAME.xml: FILENAME.md + sed '0,/title =/{s/ ."\$\$/"/}' FILENAME.md | mmark > FILENAME.xml +EOF +) | sed 's/DOTS/'"$(printf 'RFD %s' "$RFDN" | sed 's/././g')"'/g' > Makefile + +(sed 's/RFDN/'"$RFDN"'/g' << EOF +6 +s/^DOTS/RFD RFDN/ +wq +EOF +) | sed 's/DOTS/'"$(printf 'RFD %s' "$RFDN" | sed 's/././g')"'/g' > Edfile + +printf "$0: Finished generating Makefile and Edfile.\n$0: You MUST now edit $FILENAME.md and replace the <++>s.\n" > /dev/stderr diff --git a/testing/leahrowe-test.7 b/testing/leahrowe-test.7 new file mode 100644 index 0000000..a983d68 --- /dev/null +++ b/testing/leahrowe-test.7 @@ -0,0 +1,23 @@ +.\" Generated by Mmark Markdown Processer - mmark.miek.nl +.TH "LEAH IS A ROBOT" 1 "April 2022" "leah is a robot" "leah is a robot" + +.SH "ABSTRACT" +.PP +leah is a cookie + +.SH "STATUS OF THIS MEMO" +.PP +This document is currently in the DRAFT status. + +.PP +This document describes the author's viewpoint. Distribution of this memo is unlimited. + +.SH "INTRODUCTION" +.SH "CONCLUSION" +.SH "LEAH IS A ROBOT CONSIDERATIONS" +.SH "ACKNOWLEDGEMENTS" +.SH "CONTRIBUTORS" +.SH "AUTHORS" +.PP +Written by Andrew Yu. + diff --git a/testing/leahrowe-test.html b/testing/leahrowe-test.html new file mode 100644 index 0000000..aac3ce9 --- /dev/null +++ b/testing/leahrowe-test.html @@ -0,0 +1,1314 @@ + + + + + + +leah is a robot + + + + + + + + + + + + + + + + + + + + + + + + + +
leah is a robotApril 2022
YuInformational[Page]
+
+
+
+
Workgroup:
+
leah is a robot
+
Author:
+
+
+
A. Yu
+
The 2nd School Aff. to FDU
+
+
+
+
+

leah is a robot

+
+

Abstract

+

leah is a cookie

+
+
+

+Status of This Memo +

+

This document is currently in the DRAFT status.

+

This document describes the author's viewpoint. Distribution of this memo is unlimited.

+
+ +
+
+

+1. Introduction +

+
+
+
+
+

+2. Conclusion +

+
+
+ +
+
+

+Acknowledgements +

+
+
+
+
+

+Contributors +

+
+
+
+
+

+Author's Address +

+
+
Andrew Yu
+
The 2nd School Aff. to FDU
+ + +
+
+
+ + + diff --git a/testing/leahrowe-test.md b/testing/leahrowe-test.md new file mode 100644 index 0000000..2860b9c --- /dev/null +++ b/testing/leahrowe-test.md @@ -0,0 +1,69 @@ +%%% +title = "leah is a robot" +abbrev = "leah is a robot" +area = "leah is a robot" +workgroup = "leah is a robot" +submissiontype = "independent" +ipr = "none" +keyword = ["leah is a robot"] +#updates = [ leah is a robot ] +#date = 2003-04-01T00:00:00Z + +[seriesInfo] +name = "Internet-Draft" +value = "Request for Discussions 1548" +stream = "independent" +status = "informational" + +[[author]] +initials = "A." +surname = "Yu" +fullname = "Andrew Yu" +#role = "author" +organization = "The 2nd School Aff. to FDU" + [author.address] + email = "andrew@andrewyu.org" + uri = "https://www.andrewyu.org/" +%%% + +.# Abstract + +leah is a cookie + +.# Status of This Memo + +This document is currently in the DRAFT status. + +This document describes the author's viewpoint. Distribution of this memo is unlimited. + +{mainmatter} + +# Introduction + +# Conclusion + +# leah is a robot Considerations + +{backmatter} + +{numbered="false"} +# Acknowledgements + + +{numbered="false"} +# Contributors + + + + + leah is a robot + + leah is a robot +
+ leah is a robot@leah is a robot + https://leah is a robot +
+
+ +
+
diff --git a/testing/leahrowe-test.txt b/testing/leahrowe-test.txt new file mode 100644 index 0000000..1e0907a --- /dev/null +++ b/testing/leahrowe-test.txt @@ -0,0 +1,56 @@ + + + + +leah is a robot A. Yu +RFD 1548 The 2nd School Aff. to FDU + 17 April 2022 + + + leah is a robot + Request for Discussions 1548 + +Abstract + + leah is a cookie + +Status of This Memo + + This document is currently in the DRAFT status. + + This document describes the author's viewpoint. Distribution of this + memo is unlimited. + +Table of Contents + + 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 1 + 2. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . 1 + 3. leah is a robot Considerations . . . . . . . . . . . . . . . 1 + Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . 1 + Contributors . . . . . . . . . . . . . . . . . . . . . . . . . . 1 + Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 1 + +1. Introduction + +2. Conclusion + +3. leah is a robot Considerations + +Acknowledgements + +Contributors + +Author's Address + + Andrew Yu + The 2nd School Aff. to FDU + Email: andrew@andrewyu.org + URI: https://www.andrewyu.org/ + + + + + + + +Yu Informational [Page 1] diff --git a/testing/leahrowe-test.xml b/testing/leahrowe-test.xml new file mode 100644 index 0000000..5f4f1ab --- /dev/null +++ b/testing/leahrowe-test.xml @@ -0,0 +1,49 @@ + + + + + +leah is a robot +The 2nd School Aff. to FDU
+andrew@andrewyu.org +https://www.andrewyu.org/ +
+leah is a robot +leah is a robot +leah is a robot + + +leah is a cookie + + +Status of This Memo +This document is currently in the DRAFT status. +This document describes the author's viewpoint. Distribution of this memo is unlimited. + + +
+ + + +
Introduction +
+ +
Conclusion +
+ +
leah is a robot Considerations +
+ +
+ + + +
Acknowledgements +
+ +
Contributors +
+ +
+ +
-- cgit 1.4.1-2-gfad0