www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/12/22:49:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sat, 12 Oct 2002 22:49:44 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: David Ryan <Oobles AT hotmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: export problem.
In-Reply-To: <3DA8D880.1060700@hotmail.com>
Message-ID: <Pine.GSO.4.44.0210122227320.10655-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

David,
This is not a Cygwin bug, this is the way bash is supposed to work.
Try 'man bash<Enter>3618g'.  Also, searching the archives for 'bash
environment export' would have revealed some relevant messages.
	Igor

On Sun, 13 Oct 2002, David Ryan wrote:

> I have very simple script that all it needs to do is export some
> environment variables.  I can't seem to get it to work.  All it does is..
>
> export PS2DEV=/usr/ps2dev
>
> If I do this on the command line it works fine..  and if I place it in
> /etc/profile it works also.  I assume whats happenning is its starting a
> shell.. setting the environment variable and then closing the shell.
>  How do I write a script that modifies the current environment?
>
> If I can get the one line working I'll be expanding it, so doing it on
> the command line everytime is not an option.
>
> I have the cygwin 1.3.12-4 installed.  I also tried going back to
> 1.3.10-1 to see if it was a bug.  I'm hoping theres something small I'm
> missing.
>
> Thanks,
> David.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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