Re: unix search list logicals ??
- From: Hoff Hoffman <hoff-remove-this@xxxxxx>
- Date: Mon, 31 Jul 2006 19:33:34 GMT
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.
- Prev by Date: RE: Linux on military aircraft
- Next by Date: RE: Linux on military aircraft
- Previous by thread: Re: unix search list logicals ??
- Next by thread: BACKUP weirdness