Date: Fri, 10 Jun 2005 16:17:32 -0400 From: Chuck Swiger <cswiger@mac.com> To: Mikhail Teterin <mi+mx@aldan.algebra.com> Cc: questions@FreeBSD.org Subject: Re: patching a file with blanks in the name Message-ID: <42A9F55C.1060501@mac.com> In-Reply-To: <200506101239.17128.mi%2Bmx@aldan.algebra.com> References: <200506101239.17128.mi%2Bmx@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bug-gnu-utils@gnu.org>? Anyway, I don't think the current release version of patch will handle paths containing spaces... -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42A9F55C.1060501>