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 ------------------------------------------------------------------------- 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