Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Which is more common for package name: -doc or -docs

For a package that contains the documents for a larger package foo, should you name it foo-doc or foo-docs?

fedora-30$ sudo dnf list | grep -oE -e '-docs?' | sort | uniq -c
   4796 -doc
    172 -docs



devuan-ceres$ apt-cache search doc | grep -oE -e '-docs?' | sort | uniq -c
   4341 -doc
     81 -docs

Which is close to the ratio I was expecting! Now we know for sure though.

Comments