bugfindutils - Bugs: bug #53075, FR: command line switch to make...

 
 

bug #53075: FR: command line switch to make -ls print file names as-is

Submitter:  Dmitry Bolshakov <bdimych>
Submitted:  Tue 06 Feb 2018 09:27:54 AM UTC
   
 
Category:  find Severity:  3 - Normal
Item Group:  None Status:  Working as Intended
Privacy:  Public Assigned to:  jay
Originator Name:  Open/Closed:  Closed
Release:  None Fixed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 01 Sep 2019 08:47:42 AM UTC, comment #3: 

I believe that piping the output through "cat" is a sufficient workaround.  Please re-open the bug if you disagree.

James Youngman <jay>
Group administrator
Fri 16 Feb 2018 02:57:37 AM UTC, comment #2: 

I would never have expected that -ls automatically represents non-ASCII bytes as \nnn, because "ls" doesn't do that normally.  If you want to reveal non-graphic characters, you have to use "ls -b".

Though it's not clear to me that there's any gain from -ls behaving like "ls" here.

Dale Worley <worley>
Tue 06 Feb 2018 11:17:25 AM UTC, comment #1: 

Could you tell us more about the use case?

Are these characters actually printable, in some locale, but find is not recognising this?    If yes, what do you expect to happen for path names whose text is in inconsistent locales?

If the characters aren't really printable (e.g. they're control codes) what is the security context you anticipate this happening in?

James Youngman <jay>
Group administrator
Tue 06 Feb 2018 09:27:54 AM UTC, original submission:  

find -ls prints non-ascii characters as \nnn octets,
imho it would be better to have choice to print names as-is in normal readable form,
for example git has such option quotepath=false

Dmitry Bolshakov <bdimych>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by worley (Posted a comment)
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by bdimych (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-09-01 jay StatusNone Working as Intended
        Assigned toNone jay
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code