Re: [dev] environment variables versus runtime configuration (rc) files versus X resources
On Mon, Nov 03, 2014 at 11:31:38PM +0100, FRIGN wrote:
> 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.
I agree completely!
Received on Mon Nov 03 2014 - 23:39:35 CET
This archive was generated by hypermail 2.3.0
: Mon Nov 03 2014 - 23:48:12 CET