delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/19/13:35:32

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
Date: Wed, 19 Feb 2003 13:35:11 -0500
From: Robinows AT netscape DOT net (David Robinow)
To: cygwin AT cygwin DOT com
Subject: RE: Output of bash dirs command vs. emacs
MIME-Version: 1.0
Message-ID: <5133CDA7.6304773C.00822747@netscape.net>

Ixnay Amenay <ixnay_amenay AT yahoo DOT com> wrote:
>The output of the 'dirs' builtin does not escape space
>characters:
>
>bash> dirs
>~/program files ~/src/emacs
>bash> 
>
>This breaks the M-x dirs function of both cygwin emacs
>and NT emacs.
>
>I believe this to be a bash bug: There is no way for
>emacs (or anything else) to parse the output of dirs
>and disambiguate "space used as delimiter" vs. "space
>in the directory name".
 bash is working as advertised.  In any case, unless this
is a cygwin-specific behaviour, it's offtopic.
 "M-x dirs" is not a standard emacs function.
 I suggest you recode it to use "dirs -p".  That should be
easy enough to parse.


__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

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