The new std.process is ready for review
Steven Schveighoffer
schveiguy at yahoo.com
Tue Feb 26 06:26:25 PST 2013
On Tue, 26 Feb 2013 09:15:05 -0500, Vladimir Panteleev
<vladimir at thecybershadow.net> wrote:
> On Tuesday, 26 February 2013 at 14:02:08 UTC, Steven Schveighoffer wrote:
>> If I use $XYZ in a script, and XYZ isn't set, it equates to nothing.
>> When I use getenv, it returns null. That is the behavior I would
>> intuitively expect.
>
> I thought well-written scripts should use "set -u"?
I didn't even know about that. But my point still stands -- if
well-written scripts are supposed to use set -u, it should be the default.
Hm... what about something like Environment.throwOnUnsetVariable = true;
-Steve
More information about the Digitalmars-d
mailing list