This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
env command does not work correctly.
- To: "John D. Robertson" <john at rrci dot com>
- Subject: env command does not work correctly.
- From: Fabio Somenzi <fabio at joplin dot colorado dot edu>
- Date: Thu, 3 Apr 1997 14:02:19 -0700
- CC: gnu-win32 at cygnus dot com
- References: <Pine.LNX.3.91.970403090237.294B-100000@localhost>
- Reply-To: Fabio at Colorado dot EDU
>>>>> "JDR" == John D Robertson <john@rrci.com> writes:
JDR> Platform: Win95 / Intel Release: B17.1
JDR> The "env" command does not set environmental variables as it is
JDR> supposed to. For example:
JDR> env ONE=one TWO=two echo_1_2
JDR> where echo_1_2 is a sh script:
env is a command typically used in csh-like shells. With bash, you
can just say:
ONE=one TWO=two echo_1_2
Under Linux, env works fine with both tcsh and bash. I haven't tried
env with cygwin---I wasn't even aware of its inclusion---and right now
I have no access to my Win95 laptop. But it looks like a bug.
Fabio
--
Fabio Somenzi | Phone: 303-492-3466
University of Colorado | Fax: 303-492-2758
ECE Dept. | Email: Fabio@Colorado.EDU
Boulder CO 80309-0425 | WWW: http://vlsi.colorado.edu/~fabio
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".