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

From: Martti Kühne <mysatyre_AT_gmail.com>
Date: Mon, 3 Nov 2014 23:14:34 +0100

On Mon, Nov 3, 2014 at 10:30 PM, Brandon Mulcahy <brandon_AT_jangler.info> wrote:
> choice (besides doing something like `export option=a; command; export
> option=b`). I do wish the concept of aliasing were a bit more general.


Did you hear of the shell feature where you could immediately pass
environment variables by prepending them to your command?
Like so:

export option=b;
option=a command;
echo $option # shows b

cheers!
mar77i
Received on Mon Nov 03 2014 - 23:14:34 CET

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