delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/27/13:51:23

X-Spam-Check-By: sourceware.org
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sjOccw1iV8bHrzHzaaG0w5YxDoQrFoAeVKkJnEmEtsdgoMkhNEin7nJ4xrzkKpNB4lNvcPEnkrm0cxbqaHDp0Sp832x9UHwid1r0QjkneiwnRp5uotjJ5EFnPBtUfzPU09Xg7WxoObjJQbZ9su3oRpjOZcDlCazt/8s0CmUdBtc=
Message-ID: <82c42b950702271050w2e807388t6009e795f4041d82@mail.gmail.com>
Date: Tue, 27 Feb 2007 13:50:48 -0500
From: "Phil Edwards" <phil DOT m DOT edwards AT gmail DOT com>
To: "Furash Gary" <furashg AT mcao DOT maricopa DOT gov>
Subject: Re: Strange message from updatedb
Cc: cygwin AT cygwin DOT com, ebb9 AT byu DOT net
In-Reply-To: <81BDE334890B7C429EDBA5857465C7565F165F@mcaosx6.ca.mcao.maricopa.gov>
MIME-Version: 1.0
References: <82c42b950702261435t4acc4fbctdd2042aee0f609d4 AT mail DOT gmail DOT com> <81BDE334890B7C429EDBA5857465C7565F165F AT mcaosx6 DOT ca DOT mcao DOT maricopa DOT gov>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 2/27/07, Furash Gary <furashg AT mcao DOT maricopa DOT gov> wrote:
> /cygdrive/c/System\ Volume\ Information

Quotes and backslashes aren't going to solve the problem, I think.  I
looked at updatedb (it's a shell script), and the --prunepaths
argument is passed through a sed script which replaces spaces in order
to turn it all into a regexp.  There's no way of telling sed to avoid
some spaces and translate others.

You used to be able to set the internal PRUNEREGEX variable directly,
in a .conf file, but apparently that file is only used under Linux
versions of updatedb, or something.

Most lists of dirs are passed around with colon (or some such)
separators to avoid just such problems with paths containing
whitespace.  updatedb is still living in the 80's.

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