Mail Archives: djgpp-workers/1999/05/03/09:46:49
Regarding the expansion of environment variables in path names:
I like the /dev/env/variable solution very much. The solution
Eli proposed, using ?default? for the default value however
bothers me a bit. In particular, I don't like the fact, that
yet another syntax convention is invented. I understand the
already existing notations for "use this value if empty", like
DJGPP.ENV's + or Bash's ${var-value} cannot be used. So I
think the ?default? solution remains. Or maybe {default},
[default] or (default), so the following would be readable:
/dev/env/C_INCLUDE_PATH{/dev/env/DJDIR{/djgpp}}/include
Would it be a good idea to add the default possibility to the
DJGPP.ENV syntax somehow? Just a suggestion, probably for
2.04...
Wow, imagine we could just say /dev/env/HOME{}/package!
Groeten, Michel.
- Raw text -