delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/28/01:46:29

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
Message-Id: <5.1.1.5.2.20030228013405.00ac7fe0@mail.earthlink.net>
X-Sender: jeremyhetzler AT mail DOT earthlink DOT net (Unverified)
Date: Fri, 28 Feb 2003 01:51:26 -0800
To: cygwin AT cygwin DOT com
From: Jeremy Hetzler <jeremyhetzler AT mail DOT earthlink DOT net>
Subject: Re: bash's (built-in) type command can not handle spaces in
paths
In-Reply-To: <5.2.0.9.0.20030227151820.073b9ec8@mail.real.com>
Mime-Version: 1.0

At 03:19 PM 2/27/2003 -0800, Curtis Siemens wrote:
>Cygwin's type command (built into bash.exe) does not work for
>executables that are under a directory that has spaces.

Well, it seems to work OK for me:
---
501 $ mkdir /foo\ bar
502 $ touch /foo\ bar/baz
503 $ chmod a+x /foo\ bar/baz
504 $ PATH=/usr/bin:/foo\ bar
505 $ type baz
baz is /foo bar/baz
506 $ bash --version
GNU bash, version 2.05b.0(8)-release (i686-pc-cygwin)
Copyright (C) 2002 Free Software Foundation, Inc.
---

This is cygwin 1.3.20-1 on win2k sp3, CYGWIN=tty. And you're right, it 
hasn't come up on the list before, so probably others aren't seeing it 
either. What is different about your particular installation, I have no idea.

Jeremy Hetzler


--
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