| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| To: | cygwin AT sourceware DOT cygnus DOT com |
| Subject: | Re: Strange PWD result from "Cwd::chdir y:/dir" |
| References: | <uyely1dapa DOT fsf AT tcsi DOT com> |
| From: | dkarr AT tcsi DOT com (David M. Karr) |
| Date: | 17 Jan 2001 15:40:18 -0800 |
| In-Reply-To: | dkarr@tcsi.com's message of "17 Jan 2001 15:24:01 -0800" |
| Message-ID: | <uy7l3td9y5.fsf@tcsi.com> |
| Lines: | 25 |
| User-Agent: | Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6 |
| MIME-Version: | 1.0 |
>>>>> "David" == David M Karr <dkarr AT tcsi DOT com> writes:
David> At the end of this, I have a little Perl test script called
David> "chdirtest".
I just knew I was going to forget to attach it. Here it is:
-----------------------------
#! /usr/local/bin/perl
use English;
use Cwd;
use Cwd 'chdir';
use strict;
$::dir = $ARGV[0];
print ::stdout "dir[" . $::dir . "]\n";
chdir $::dir;
print ::stdout "PWD[" . $ENV{'PWD'} . "]\n";
system('ls');
-----------------------------
--
===================================================================
David M. Karr ; w:(425)487-8312 ; TCSI & Best Consulting
dkarr AT tcsi DOT com ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |