URL:
<http://savannah.gnu.org/bugs/?50606>
Summary: Garbage printed with "no such file or directory"
Project: findutils
Submitted by: jimc
Submitted on: Tue 21 Mar 2017 10:01:29 PM UTC
Category: find
Severity: 3 - Normal
Item Group: Wrong result
Status: None
Privacy: Public
Assigned to: None
Originator Name: [email protected]
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.5.12
Fixed Release: None
_______________________________________________________
Details:
This is for findutils-4.5.12 from OpenSuSE "Leap" 42.1. When I do:
find /etc/acpi /nonexistent -print > /tmp/find.out 2>&1
cat -v /tmp/find.out
It prints the filenames in the existing directory, plus on
stderr it prints
find: M-bM-^@M-^X/nonexistentM-bM-^@M-^Y: No such file or directory
When output is sent direct to the terminal we do not see
^@ ^X or ^Y but very likely they are being written. "cat -v"
is needed to show the incorrect output consistently. Any
existing directory can be used to demonstrate the bug.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50606>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/