Package: findutils Version: 4.6.0+git+20161106-2 Severity: normal Dear Maintainer,
I am runing periodically > find "$dir" -type f -print0 ! -name clamav.log | xargs -0 clamdscan > -log="$dir/clamav.log" But the file clamav.log is added to the list while it should be excluded. I traced the issue to a -print0 problem. > find -type f -print0 ! -name clamav.log do not remove clamav.log from the list > find -type f ! -name clamav.log works ok. I expected the -print0 option not to change the logic of the -name conditions. -- System Information: Debian Release: 9.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-6-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages findutils depends on: ii libc6 2.24-11+deb9u3 ii libselinux1 2.6-3+b3 findutils recommends no packages. Versions of packages findutils suggests: ii mlocate 0.26-2 -- no debconf information