[bug #64253] Suggestion - Add support for libmagic and xattr

raf <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #7, bug #64253 (project findutils):

Fair enough. I've added it to rawhide. I'm just accepting that errors become
the text being matched, and document the fact. But yeah, it is wierd.
Debugging search criteria could require using %w/%W to look for error
messages.

Maybe it was just designed for use by file(1) itself. But there are wrappers
for libmagic in python etc., so it might have many clients. Maybe it was a
deliberate choice so clients didn't need to worry about errors. The assumption
might be that the user always sees them. But it would be nice if it were also
possible for clients to be able to choose how they want to handle errors.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64253>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.