Package: perforate Version: 1.2-5 Followup-For: Bug #566998 The reason that finddup fails in this case is that it was run in verbose mode (in two ways: first by passing the -v option, and secondly by passing the -n option, which implies -v).
The verbose mode’s messages are sent to stdout, and so get into the output file finddup.out. finddup does not know how to parse this, so it doesn’t work properly when it is run on that file. Finally, the -o option does not take an argument; rather, the old output must be supplied on stdin. The following two commands work correctly, after the test setup given by the reporter: # finddup -d test > finddup.out # finddup -o < finddup.out To make it less likely to get into this mess, I’ve changed -v to print to stderr in my recent improvements (shortly coming as version 1.3). -- System Information: Debian Release: stretch/sid APT prefers xenial-updates APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.10.0-32-generic (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages perforate depends on: ii libc6 2.23-0ubuntu9 perforate recommends no packages. perforate suggests no packages. -- no debconf information