From owner-freebsd-questions@FreeBSD.ORG Fri Jun 10 20:17:34 2005 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADA2616A41C for ; Fri, 10 Jun 2005 20:17:34 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 626D543D4C for ; Fri, 10 Jun 2005 20:17:34 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 63BE05DBB; Fri, 10 Jun 2005 16:17:33 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 61977-08; Fri, 10 Jun 2005 16:17:32 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-69-6.ny325.east.verizon.net [68.161.69.6]) by pi.codefab.com (Postfix) with ESMTP id 6B0095CAF; Fri, 10 Jun 2005 16:17:32 -0400 (EDT) Message-ID: <42A9F55C.1060501@mac.com> Date: Fri, 10 Jun 2005 16:17:32 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mikhail Teterin References: <200506101239.17128.mi+mx@aldan.algebra.com> In-Reply-To: <200506101239.17128.mi+mx@aldan.algebra.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: questions@FreeBSD.org Subject: Re: patching a file with blanks in the name X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 20:17:34 -0000 Mikhail Teterin wrote: > How does one make a patch for a while, that has blanks in the path: > > --- foo bar/meow~ Fri Mar 11 09:00:49 2005 > +++ foo bar/meow Fri Jun 10 12:17:22 2005 > - a = 0; > + a = 1; > > With the above example, patch searches only for `foo', then gives up and asks > for help. I tried quoting the entire file name and escaping the blanks with > backslashes -- neither method works... Any ideas? Thanks! There was a discussion and maybe even a fix proposed for this issue on one of the GNU lists, probably ? Anyway, I don't think the current release version of patch will handle paths containing spaces... -- -Chuck