Re: unix search list logicals ??



Bob Koehler wrote:
In article <eaknf1$g39$1$830fa17d@xxxxxxxxxxxxxxxx>, Chris Sharman <chris.sharman@xxxxxxxxxxxx> writes:
A bit off-topic, this - but I'm asking here because you'll all understand the question!

Is there an equivalent to vms search list logicals on unix ?

You can roll your own. c.f. PATH, which is parsed by your shell,
so somebody put that code in your shell program.

You could start with the source for a shell you like, but it's hardly
a major coding project to roll from scratch.

In approximate implementation terms:

logical name ~!= shell environment variable

DCL symbol ~== shell environment variable

Logical name substitution is implemented within the I/O system and within the related parts of the file system parsing, and doesn't require nor expect the DCL command shell to be processing anything.

Adding logical name support into the Unix kernel would be an interesting programming effort. (And I mean that "interesting" quite seriously.) Unfortunately for any such thoughts, I've more OpenVMS code to write this afternoon, and various administrivia secondary to the impending Freeware shipment.
.



Relevant Pages

  • Re: Results of my straw poll.
    ... or cluster shell symbols. ... Group logicals can be particularly handy for running different versions of the same software concurrently on the same system - for example, having a development group _and_ a test group, both referencing their own discrete sets of files, on one machine. ...
    (comp.os.vms)
  • Re: Results of my straw poll.
    ... or cluster shell symbols. ... Group logicals can be particularly handy for running different versions of the same software concurrently on the same system - for example, having a development group _and_ a test group, both referencing their own discrete sets of files, on one machine. ...
    (comp.os.vms)
  • Re: Porting logical name applications to Unix
    ... *) logicals can be updated and immediately available to all within ... it is common for environment variables to be setup in the shell ... login / startup process - there are files you'd have in the $HOME for ... group - user accounts have a primary 'group' ...
    (comp.os.vms)
  • Re: Porting logical name applications to Unix
    ... *) logicals can be updated and immediately available to all within ... *) logicals have scope, e.g. process, job, group, system, cluster. ... it is common for environment variables to be setup in the shell ... group - user accounts have a primary 'group' ...
    (comp.os.vms)
  • Re: Ada.Command_Line and wildcards
    ... with Unix design choices, that is "only" a shell thing and the shell ... I find it difficult to imagine Unix without the ...
    (comp.lang.ada)