summaryrefslogtreecommitdiff
path: root/Hurd/TranslatorWishList.mdwn
diff options
context:
space:
mode:
authorGreg Buchholz <hurd@sleepingsquirrel.org>2003-10-16 20:00:10 +0000
committerGreg Buchholz <hurd@sleepingsquirrel.org>2003-10-16 20:00:10 +0000
commit8297031d3b74196561d687131d427aa19d85cbe9 (patch)
tree3032033f6821dc39af218144b02441f1ec62b5b9 /Hurd/TranslatorWishList.mdwn
parentbfa1b03f8e9ca1a7323f7147c478974042e857f6 (diff)
none
Diffstat (limited to 'Hurd/TranslatorWishList.mdwn')
-rw-r--r--Hurd/TranslatorWishList.mdwn22
1 files changed, 20 insertions, 2 deletions
diff --git a/Hurd/TranslatorWishList.mdwn b/Hurd/TranslatorWishList.mdwn
index 6e00c6e5..c8917bbd 100644
--- a/Hurd/TranslatorWishList.mdwn
+++ b/Hurd/TranslatorWishList.mdwn
@@ -70,6 +70,24 @@ Am I off my rocker, or does an IMAP/POP translator sound like a good idea? It wo
## <a name="UUEncode"> </a> UUEncode
-How about a UUEncode translator for those places you can only store ASCII. Combine this with a NNTP translator and store your data in someone's Usenet archive. Or since, (as far as I know), there are no size limitations on file names in the Hurd, why not have a translator whose underlying store is a file name. (Now ls becomes cat).
+How about a UUEncode translator for those places you can only store ASCII. Combine this with a NNTP translator and store your data in someone's Usenet archive. Or since, (as far as I know), there are no size limitations on file names in the Hurd, why not have a filesystem translator whose underlying store is a file name. (Now ls becomes cat).
--- [[Main/GregBuchholz]] - updated 08 Oct 2003
+## <a name="Computation"> Computation </a>
+
+This is from the revenge of the command-line department. Make a directory translator whose contents are a result of the computation specified in the directory name. Here's an example...
+
+ $ settrans -a /comp /hurd/computationfs
+ $ cd "/comp/3+4"
+ $ ls -l
+ total 0
+ -rw-r--r-- 1 nobody users 0 Oct 16 11:41 7
+ $
+ $ cd "/comp/sqrt(2)"
+ $ ls -l
+ total 0
+ -rw-r--r-- 1 nobody users 0 Oct 16 11:42 1.4142135623731
+ $
+
+...etc. Now think about your favorite GUI HTML editor and using File-&gt;Open on the following directory name, ``"/comp/for i in $( find / -name *.html ); do ln -s $i `basename $i`;done"`` Which would produce a directory listing with soft links to all of the \*.html files on your system. You could have all of the comforts of the shell from within that little File-&gt;Open dialog box.
+
+-- [[Main/GregBuchholz]] - updated 16 Oct 2003