Re: [dev] environment variables versus runtime configuration (rc) files versus X resources

From: Markus Teich <>
Date: Mon, 3 Nov 2014 20:37:21 +0100

Greg Reagle wrote:
> It occurred to me that environment variables can be used to configure a
> program, instead of programming in a parser or extension language into a
> program. Are there any reasons not to just use environment variables? Then a
> rc file could just be a shell script that sets environment variables. Do you
> know of any programs that do this? I assume there are disadvantages, but
> what?

Heyho Greg,

you still have to parse the contents of the environment variables compared to
static compiled in configuration as in config.h.

Received on Mon Nov 03 2014 - 20:37:21 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 03 2014 - 20:48:08 CET