delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/03/09:23:57

From: john AT rrci DOT com ("John D. Robertson")
Subject: env command does not work correctly.
3 Apr 1997 09:23:57 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.LNX.3.91.970403090237.294B-100000.cygnus.gnu-win32@localhost>
Mime-Version: 1.0
X-Sender: john AT localhost
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Platform: Win95 / Intel
Release: B17.1

I downloaded the cygnus SDK yesterday, and I am very pleased that these 
tools have been ported to Win32.  I soon attempted to port my tools that 
run under Linux and Irix to gnu-win32, and I ran into a problem.

The "env" command does not set environmental variables as it is supposed 
to.  For example:

   env ONE=one TWO=two echo_1_2

where echo_1_2 is a sh script:

   #!/bin/sh
   echo $ONE $TWO


will print nothing.  I have also noticed that it is not possible to 
export lower case environmental variable at all.  I have seen this 
elsewhere in the list.

Any Ideas?

JDR

|======================================================|
| John D. Robertson, ADAMS Modeler / Software Engineer |
| Robertson & Robertson Consultants, Inc.              |
| 3637 West Georgia Rd.                                |
| Pelzer, SC  29669                                    |
|                                                      |
| Phone: (864) 243-2436                                |
|   Fax: (864) 243-3023                                |
| Email: john AT rrci DOT com                                 |
|======================================================|


-
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