delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/21/19:59:43

X-Spam-Check-By: sourceware.org
From: "Bruce Jones" <brucejones AT hawaii DOT rr DOT com>
To: <flucifredi AT acm DOT org>
Cc: <cygwin AT cygwin DOT com>
Subject: Makewhatis problem in Man 1.5p-1
Date: Fri, 21 Apr 2006 13:59:37 -1000
Message-ID: <000001c6659f$a6371130$6401a8c0@brucerjones>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Version info:

Windows XP Pro SP1
CYGWIN_NT-5.1 1.5.19(0.150/4/2) 2006-01-20 13:28
Man 1.5p-1

The makewhatis shell script generates an error message when $PWD contains a
space, e.g. "/cygdrive/c/Documents and Settings/username"  The message is:

/usr/sbin/makewhatis: line 380: cd: /cygdrive/c/Documents: No such file or
directory

Apart from the message the script appears to execute correctly.

Changing line 380 from 'cd $here' to 'cd "$here"' fixes the problem.

man-1.6c/src/makewhatis.sh (from
http://primates.ximian.com/~flucifredi/man/) contains the same problem in
line 394.

I'm sending to the cygwin list also since it seems Windows systems are more
likely to have paths with embedded spaces.

Regards,
Bruce


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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