patching a file with blanks in the name

Mikhail Teterin mi+mx at aldan.algebra.com
Fri Jun 10 16:39:41 GMT 2005


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!

	-mi


More information about the freebsd-questions mailing list