[aklug] Re: purpose of env

From: <bryanm@acsalaska.net>
Date: Sun Sep 19 2010 - 18:59:31 AKDT

On Sat, September 11, 2010 3:46 pm, barsalou wrote:
> Quoting bryanm@acsalaska.net:
>
>> After Christopher mentioned env, I checked the manpage for it.
>> I don't quite get it. What's the difference between:
>> VAR=value progname
>>
>> and:
>> env VAR=value progname
>>
>> ? Is it only useful for the -i and -u options?
>
<snip>
> It is entirely possible that using env would work across different =20
> shell environments. env is a coreutils command from what I can tell =20
> and should be available to anyone that compiles that set of utilities.

Good call, Mike. It slipped my mind that not everyone uses
bash. :) It looks like env is there for shells that don't
include that functionality like bash does.

--
Bryan Medsker
bryanm@acsalaska.net
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sun Sep 19 18:59:38 2010

This archive was generated by hypermail 2.1.8 : Sun Sep 19 2010 - 18:59:38 AKDT