www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/03/23:28:58

From: fabio AT joplin DOT colorado DOT edu (Fabio Somenzi)
Subject: env command does not work correctly.
3 Apr 1997 23:28:58 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199704032102.OAA22323.cygnus.gnu-win32@joplin.colorado.edu>
References: <Pine DOT LNX DOT 3 DOT 91 DOT 970403090237 DOT 294B-100000 AT localhost>
Reply-To: Fabio AT Colorado DOT EDU
Mime-Version: 1.0
Original-To: "John D. Robertson" <john AT rrci DOT com>
Original-CC: gnu-win32 AT cygnus DOT com
In-Reply-To: <Pine.LNX.3.91.970403090237.294B-100000@localhost>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

>>>>> "JDR" == John D Robertson <john AT rrci DOT 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 AT Colorado DOT EDU
Boulder CO 80309-0425  | WWW:   http://vlsi.colorado.edu/~fabio
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019