🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: mod.computers.apollo
1 messages
1 total messages Started by mishkin Thu, 10 Jul 1986 18:06
"Search lists", links and environment variables
#202
Author: mishkin
Date: Thu, 10 Jul 1986 18:06
25 lines
1673 bytes
To follow up on my previous message about multi-valued links, it has been
pointed out to me by several people that I didn't have my head screwed on
quite right:  The right way to look at the problem is in terms of added
pathname syntax, not links and environment variable.  E.g. the syntax
"/a/{x,y,z}/b" might be chosen to mean "/a/x/b", "/a/y/b", and "/a/z/b".
This syntax could be "hidden" inside either environment variables OR
links, as one likes:

    $ v := "{x,y,z}"
    $ catf "/a/$(v)/b"

    $ crl l "{x,y,z}"
    $ catf "/a/l/b"

One interesting note: given that under Unix, all characters (other than
"/") are valid in pathname components, how upset are people likely to
be at me taking even more reserved characters (i.e. the "{" "}", or
whatever)?  If I used a syntax like "/a/$((x,y,z))/b", I wouldn't be
making matters much worse since we already reserved "$(...)" for
environment variables.  Of course, this looks horrible.

                    -- Nat Mishkin
                       Apollo Computer Inc.
                       apollo!mishkin
-------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads