Package: plocate X-Debbugs-Cc: d...@gnui.org Version: 1.1.13-1 Severity: normal
Dear developer, as you find it okay to break backward-compatibility with mlocate <https://bugs.debian.org/999487>, let me suggest you a thing, that is definitely worth being broken: a *very* unorthodox handling¹ of arguments to -n / --add-prunenames and -e / --add-prunepaths by updatedb(8), that prevents users from specifying whitespace-containing filenames here. Instead, it seems to be reasonable to stick by the simplest approach possible, where a switch accepts a single argument, and to specify multiple values, one have to repeat it: $ updatedb -l no -o "$HOME/.cache/plocate.db" -U "$HOME" -e "$HOME/.local/share/Trash" -e "$HOME/various useless stuff" Support for repeated switches is already here, so all what is to be done is to stop splitting their arguments. -- ¹ For anyone unaware: they accept a single argument, which is expected to be a whitespace-separated list of filenames. Can anybody suggest any other util, that has the same inteface? -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'experimental') Architecture: amd64 (x86_64)
signature.asc
Description: PGP signature