9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] /lib/dict: improve downloading scripts
@ 2022-05-13 20:27 mkf9
  2023-04-21  6:27 ` unobe
  0 siblings, 1 reply; 3+ messages in thread
From: mkf9 @ 2022-05-13 20:27 UTC (permalink / raw)
  To: 9front

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
+

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] /lib/dict: improve downloading scripts
  2022-05-13 20:27 [9front] /lib/dict: improve downloading scripts mkf9
@ 2023-04-21  6:27 ` unobe
  2023-04-24 18:55   ` qwx
  0 siblings, 1 reply; 3+ messages in thread
From: unobe @ 2023-04-21  6:27 UTC (permalink / raw)
  To: 9front

Any reason why this wasn't committed?  Seems like an improvement to
me.

Quoth mkf9 <mkf9@riseup.net>:
> 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
> +


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] /lib/dict: improve downloading scripts
  2023-04-21  6:27 ` unobe
@ 2023-04-24 18:55   ` qwx
  0 siblings, 0 replies; 3+ messages in thread
From: qwx @ 2023-04-24 18:55 UTC (permalink / raw)
  To: 9front

On Fri Apr 21 08:38:24 +0200 2023, unobe@cpan.org wrote:
> Any reason why this wasn't committed?  Seems like an improvement to
> me.

lgtm, if there are no objections from others, I can push it a bit
later.

Thanks,
qwx

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-24 18:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 20:27 [9front] /lib/dict: improve downloading scripts mkf9
2023-04-21  6:27 ` unobe
2023-04-24 18:55   ` qwx

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).