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

From: Patrick <201009-suckless_AT_haller.ws>
Date: Tue, 4 Nov 2014 10:15:57 +0800

On 2014-11-03 14:32, 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

Things to think over and critique:

http://www.catb.org/esr/writings/taoup/html/ch10s04.html

extern char **environ;
int main (int argc, char **argv) {
        environ = argv;
Received on Tue Nov 04 2014 - 03:15:57 CET

This archive was generated by hypermail 2.3.0 : Tue Nov 04 2014 - 03:24:25 CET