The replacement find command doesn't quite reproduce the effect of the
linux find command in the original manpage, so I've tweeked it a bit.
I mentioned the problem upstream, maybe it will be fixed in the next
release.

Attached is the diff to sxiv in cvs.

Index: sxiv/patches/patch-sxiv_1
===================================================================
RCS file: sxiv/patches/patch-sxiv_1
diff -N sxiv/patches/patch-sxiv_1
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ sxiv/patches/patch-sxiv_1   1 Mar 2012 18:33:55 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- sxiv.1.orig        Thu Mar  1 12:42:54 2012
++++ sxiv.1     Thu Mar  1 13:21:38 2012
+@@ -301,7 +301,7 @@ Additionally, run the following command afterwards ins
+ to remove empty subdirectories:
+ .P
+ .RS
+-find \-type d \-empty \-delete
++find . \-depth \-type d \-empty ! \-name '.' \-exec rmdir {} \\;
+ .RE
+ .SH AUTHORS
+ .EX

Attachment: pgpy5r5tK4KeY.pgp
Description: PGP signature

Reply via email to