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

 
 

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

Submitted by:  Dmitry Bolshakov <bdimych>
Submitted on:  Tue 06 Feb 2018 09:27:54 AM UTC  
 
Category:  find Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  None Fixed Release:  None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3