www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/03/09:46:49

Message-ID: <B0FEA00E82A7D1118BFB00A0CC990278213295@ARGON>
From: Michel de Ruiter <Michel AT smr DOT nl>
To: "'DJGPP workers'" <djgpp-workers AT delorie DOT com>
Subject: Re: v2.03: wrapping up
Date: Mon, 3 May 1999 15:47:14 +0200
X-Mailer: Internet Mail Service (5.5.2448.0)
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019