code: plan9front

Download patch

ref: 4bad50ce68930c7a1d3136b0970fab73c90483e9
parent: be87fc579e7b44bc8f0b3647d9785d845dc9c20b
author: mkf9 <mkf9@riseup.net>
date: Fri May 13 16:27:14 EDT 2022

/lib/dict: improve downloading scripts

--- a/lib/dict/README.pgw
+++ /dev/null
@@ -1,7 +1,0 @@
-To get the Project Gutenberg dictionary use
-
-	9fs sources
-	cp /n/sources/extra/pgw.tar.bz2 /tmp
-	cd /lib/dict
-	bunzip2 < /tmp/pgw.tar.bz2 | tar x
-
--- a/lib/dict/README.roget
+++ /dev/null
@@ -1,5 +1,0 @@
-To get the Project Gutenberg Roget's thesaurus use
-
-	9fs sources
-	cp /n/sources/extra/roget/* /lib/dict
-
--- /dev/null
+++ b/lib/dict/pgw.rc
@@ -1,0 +1,6 @@
+#!/bin/rc
+# Project Gutenberg dictionary
+9fs sources
+cd /lib/dict
+bunzip2 < /n/sources/extra/pgw.tar.bz2 | tar x
+
--- /dev/null
+++ b/lib/dict/roget.rc
@@ -1,0 +1,5 @@
+#!/bin/rc
+# Project Gutenberg Roget's thesaurus
+9fs sources
+fcp /n/sources/extra/roget/* /lib/dict
+