bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: raf
Subject: [bug #64253] Suggestion - Add support for libmagic and xattr
Date: Mon, 5 Jun 2023 03:55:13 -0400 (EDT)

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]