bug-findutils
[Top][All Lists]
Advanced

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

[bug #13303] find should filter out non-printable characters if outputti


From: James Youngman
Subject: [bug #13303] find should filter out non-printable characters if outputting to tty
Date: Sun, 5 Jun 2005 23:35:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2)

Follow-up Comment #2, bug #13303 (project findutils):

I propose the attached patch (against current CVS).   Please try it out and
let me know if you're happy with the result.  

The patch affects -print, -fprint, -fprintf, -printf.   It does not affect
-ok, -okdir or -print0.    The -ls and -fls actions already had escaping.  

The escape style for -print and friends is different to that used by -ls.  
This is explained in the documentation, which is also patched.   Please let
me know how intelligible you find the (updated) documentation.

One could argue that -ok and -okdir should be fixed.  It's not immediately
obvious what the best way of doing that is.

Thanks.
    _______________________________________________________

Additional Item Attachment:

File name: escaped-terminal-output.patch  Size:28 KB
Proposed patch (1) against current CVS
<http://savannah.gnu.org/bugs/download.php?item_id=13303&item_file_id=2576>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13303>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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