On Nov 10, 2007, at 7:01 AM, Christian Stimming wrote:

> Am Samstag, 10. November 2007 02:38 schrieb David Reiser:
>> I think I need a bash tutorial. When I upgraded my system I decided  
>> to
>> use the current default shell (bash) instead of the historical
>> carryover (tcsh). In tcsh I used to enter:
>>
>> env ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I /opt/aq3/share/aclocal" make -f
>> Makefile.cvs
>>
>> What should the bash version be?
>
> In bash, setting an environment variable for a single command works  
> just like
> you've written above except for no "env" at the beginning, hence:
>
> ACLOCAL_FLAGS="some value" make
>
> Setting an environment variable in the currently running shell, so  
> that all
> following commands will have it (which is what you would do in the  
> ~/.bashrc
> file) goes like this:
>
> export ACLOCAL_FLAGS="some value"
>
> I think in tcsh this was the "setenv" command and without an equal  
> sign.
>
> Christian


I knew about the export vs. setenv, but I didn't know about leaving  
off the env. (Especially since env exists in bash and does a similar  
job to env in tcsh when used without a following command.)

Without the env works. Thanks.

Dave
--
David Reiser
[EMAIL PROTECTED]





-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Aqbanking-devel mailing list
Aqbanking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to