Package: perforate
Version: 1.0
Author: Guillem Jover <guillem@hadrons.org>
Status: applied
Description:
 Support for filenames with spaces.

diff -Naur old/perforate-1.0/finddup new/perforate-1.0/finddup
--- old/perforate-1.0/finddup	Mon Dec  3 02:51:29 2001
+++ new/perforate-1.0/finddup	Mon Dec  3 04:34:32 2001
@@ -12,10 +12,12 @@
 #
 
 
-find . -xdev -type f ! -name '*[[:space:]]*' -printf "%p %i\n" |
-sort +1 |
-uniq -1 |
-cut -f 1 -d ' ' |
+# changed order of inode and filename to avoid problems with
+# paths with spaces
+find . -xdev -type f -printf "%i %p\n" |
+sort +0 |
+uniq -0 |
+cut -f 2- -d ' ' |
 tr '\n' '\0' | # To avoid problems with quotes and `_'.
 xargs -0 md5sum |
 sort +0 -1 |
