Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset="us-ascii"; format=flowed 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/