On Mon, Oct 04, 2021 at 01:13:02AM -0600, Liam Stitt wrote: > Hi. plocate is quoting filenames annoyingly in output. This appears to > resemble the breaking change in coreutils a few years ago that was > revertible with the environment variable QUOTING_STYLE. Could plocate > be taught about that or otherwise given an option to output as mlocate > did?
Hi, It's true that it mimics coreutils' changes, simply out of security reasons. If you do not like it, the simplest solution is plocate | cat. I could support QUOTING_STYLE, but it would be limited to supporting literal and shell-escape-always, not the entire range of options. Optionally, I could support -N/--literal, and you could create a plocate alias? /* Steinar */ -- Homepage: https://www.sesse.net/