bugfindutils - Bugs: bug #49147, Tab character replaced by question...

 
 

bug #49147: Tab character replaced by question mark ("?") when locate outputs to tty

Submitted by:  Yuval S <yuvals>
Submitted on:  Wed 21 Sep 2016 11:13:23 AM UTC  
 
Category:  locate Severity:  3 - Normal
Item Group:  Wrong result Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  4.6.0 Fixed Release:  None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 21 Sep 2016 11:16:33 AM UTC, comment #1:

The second call to `locate` should have `/path/to/locate` as well, of course. I used the exact same executable (4.6.0).

Yuval S <yuvals>
Wed 21 Sep 2016 11:13:23 AM UTC, original submission:

Version: 4.6.0

What I am trying to do:
I added size information after a tab character at the end of each locatedb entry (this allows me to use locate to find files by size).

The exact command lines I was using: (up to absolute paths)

What I expected to happen:
I expect the tab character to be displayed when `locate` outputs results to the terminal.

What did happen:
`locate` replaces tabs with question marks ("?")

More information:
Output piped via `cat` should be identical to direct terminal output. Alternatively, the behavior should be documented in the `man` page.

Relevant code:

Yuval S <yuvals>

 

(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 yuvals (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