Paul L. Snyder on 13 Oct 2009 15:48:08 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Distinguishing between environment variable with null value and one that is not set


On Tue, 13 Oct 2009, Paul L. Snyder wrote:

> Indeed, '[[' is a reserved word with undefined behavior, as I should have
> remembered.  The '[' command works, or its synonym 'test' (which needs a
> subshell, so there you have it).

D'oh!  Rather, it requires spawning a new process, not a subshell.
Remember, kiddies, if you're going to be a pedant, be sure you get it
right.

Paul
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug