On Fri, Dec 11, 2020 at 12:07:26AM +0100, GSR wrote:
> The cron script still not installed as executable, which is required
> by run-parts.
Thanks, I'll try to remember next upload.
> Unsorted output of locate, or updatedb.plocate not building the db
> correctly? If the first, eg "apt-cache search locate" too gives poorly
> sorted results. Following Unix philosophy by adding a tool ("| sort")
> that does one thing well solves that cosmetic problem.
Primarily the former. I do not consider this a cosmetic problem; locate
output is meant to be read by end-users, not tools. ls sorts by default,
for instance, and as far as I can tell has done so nearly forever,
so there's nothing in UNIX philosophy that dictates unsorted output.
(POSIX mandates default sorting for ls, so it's not specific to GNU ls.)
There's already a bunch of logic in plocate to get ordering predictable and
correct, and this is _much_ more important to me than catering to fd limits
that mostly stopped making sense twenty years ago.
/* Steinar */
--
Homepage: https://www.sesse.net/