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

From: FRIGN <dev_AT_frign.de>
Date: Mon, 3 Nov 2014 23:31:38 +0100

On Mon, 3 Nov 2014 17:01:13 -0500
Brandon Mulcahy <brandon_AT_jangler.info> wrote:

> I'm not advocating a more general approach, however; that minor convenience
> would be nowhere near worth the headache of having to figure out whether a
> program is being invoked by a user or by another program in the general case.

Parsing environment variables is complex and can lead to issues depending
on which shell you use, ultimately exposing the program to unnecessary
bloat and security considerations.
For options, we have command line arguments for a reason. If you need
defaults, set a bloody alias.

Cheers

FRIGN

-- 
FRIGN <dev_AT_frign.de>
Received on Mon Nov 03 2014 - 23:31:38 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 03 2014 - 23:36:07 CET