9front - general discussion about 9front
 help / color / mirror / Atom feed
From: mkf9 <mkf9@riseup.net>
To: 9front@9front.org
Subject: [9front] /lib/dict: improve downloading scripts
Date: Sat, 14 May 2022 00:57:14 +0430	[thread overview]
Message-ID: <89da55e6-d896-8369-2d3b-929695621a55@riseup.net> (raw)

It's easier now since you can do
% cd /lib/dict ; rc *
instead of selecting and sending.

diff 7aa8c6d47ede0a8d419ba0c9695933f67f01ffda uncommitted
--- a/lib/dict/README.pgw
+++ /tmp/diff100000015484
@@ -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
+++ /tmp/diff100000015487
@@ -1,5 +1,0 @@
-To get the Project Gutenberg Roget's thesaurus use
-
-	9fs sources
-	cp /n/sources/extra/roget/* /lib/dict
-
--- /tmp/diff100000015490
+++ 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
+
--- /tmp/diff100000015494
+++ 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
+

                 reply	other threads:[~2022-05-13 20:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89da55e6-d896-8369-2d3b-929695621a55@riseup.net \
    --to=mkf9@riseup.net \
    --cc=9front@9front.org \
    --subject='Re: [9front] /lib/dict: improve downloading scripts' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).