I have the name of a file and I need to determine what package provides it. If it weren't for the fact that I need to perform a case-insensitive search, the following command would work fine:
dpkg -S filename.txt
This works great if the file is named 'filename.txt' but not if it is named 'Filename.txt'.
Consulting the manpage for the
dpkg command doesn't reveal anything about a case-insensitive option for the command and I'm left in the dark.
Is there a way to query the package database for a certain file in a case-insensitive manner?