`plocate` does not have an option which `mlocate` [1] has:
-A, --all
Print only names which match all non-option arguments, not
those matching one or more non-option arguments.
The same could be achieved using extended regular expressions i.e.
`--regex`, but it's cumbersome.
Say I want to find out all documents about Fedora IoT security. Compare:
mlocate -i -A fedora iot security
with:
plocate -i --regex
'fedora.*iot.*security|fedora.*security.*iot|iot.*fedora.*security|iot.*security.*fedora|security.*fedora.*iot|security.*iot.*fedora'
This is needed because the order of the words is not fixed; results
could include for example `Security/Fedora IoT.pdf` or
`Fedora/IoT/Security.pdf`.
Speaking of security, `systemd-analyze security plocate-updatedb.service`
suggests a couple of improvements which could be made, e.g.
LockPersonality or ProtectClock.
[1]:
https://man7.org/linux/man-pages/man1/locate.1.html