Subject:
|
Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Wed, 11 Feb 2004 17:06:14 GMT
|
Viewed:
|
3935 times
|
| |
| |
In lugnet.cad.dev, Lars C. Hassing wrote:
> In lugnet.cad.dev, Orion Pobursky wrote:
> > I like this idea. Can you support delimiting paths by ';' instead of '|'? ';'
> > is more in line with the delimitation in the PATH environment varible.
>
> Sure, I just chose | because ; is allowed in filenames.
Hey, you're right. I wonder how the Windows PATH variable handles
that. Probably it just doesn't work...
Anyhow, the unix PATH variable uses ':' as the delimiter (at least
with the bash shell). So maybe '|' is better, even though you need
to use quotes when setting the environment variable to avoid it being
interpreted as a pipe. Is there any other character that's illegal
in a directory name, but doesn't require quotes to get it into an
environment variable?
By the way, I like the idea of the two variables. Were you thinking
of searching all subdirs in these directories, or just the subdirs
explicitly mentioned in the parts files like 48 and S? Or were you
expecting the additional directories to contain the P, PARTS, and
MODELS directories, or some subset of them?
Don
|
|
Message has 2 Replies: | | Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
|
| (...) Perhaps the delimiter character needs to be platform dependent? I realize that's not an ideal solution for programs. But I don't think people will be shipping LDraw search path settings between OS's, so it would be alright for users. I don't (...) (21 years ago, 13-Feb-04, to lugnet.cad.dev)
|
Message is in Reply To:
132 Messages in This Thread: (Inline display suppressed due to large size. Click Dots below to view.)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|