delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/04/16:57:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A78A3B2.5080808@gmail.com>
Date: Tue, 04 Aug 2009 22:10:10 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Minor diff: /bin/ksh.exe
References: <4A78954D DOT 5080508 AT columbus DOT rr DOT com>
In-Reply-To: <4A78954D.5080508@columbus.rr.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Paul McFerrin wrote:
> Just want to point out a slightly difference in behavior of ksh
>    @(#)PD KSH v5.2.14 99/07/13.2
> between Cygwin 1.5 & 1.7  First, the above is a older version of pdksh
> that I had to tweek the cygwin sources a l-o-n-g time ago.  Under 1.5,
> the following does work properly:
>    $ cd /c/Doc*/Paul/App*/Moz*/Fire*/Pro*/*default/

  LERN2SHELL.  Try "echo /c/Doc*/Paul/App*/Moz*/Fire*/Pro*/*default/" to see if
you've actually got a real path there, or no matching path, or several matching
paths. Try stripping components off one by one and seeing which one you made a
mistake in.  The multiple expansions work just fine for me:

$ PS1="$ " pdksh
$ cd /cygdrive/c/Doc*/Adm*/App*/Moz*/Fire*/Pro*/*default/
$ pwd
/cygdrive/c/Documents and Settings/Administrator/Application
Data/Mozilla/Firefox/Profiles/bfwp4loc.default
$

  Also, LERN2BUGREPORT.  You told us all about how you feel, but completely
omitted the crucial detail of WHAT ACTUALLY HAPPENS when you try it.  Error
message?  No error message?  Boxing glove on a spring comes out of your computer
and punches you in the nose?

    cheers,
      DaveK

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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