diff options
author | merakor <cem@ckyln.com> | 2020-10-25 21:43:52 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-10-25 21:43:52 +0000 |
commit | e3145335fb336b83e32ba22a0ec259e0c1cbe61a (patch) | |
tree | fe1695d0263e0c0d24418f0588a6b073fc63b43e /contrib/cpt-export | |
parent | 90ffb98b53b977c74adf3153ff6caa0ad7bc12cf (diff) | |
download | cpt-e3145335fb336b83e32ba22a0ec259e0c1cbe61a.tar.gz |
pkg_owner(): add function to retrieve the owning package of a file
This function is almost identical to the function with the same name on
kiss. However, instead of saving the owner on a global variable, the function
prints the owning package to the standard output.
The function can be called similar to grep. The usage is:
pkg_owner GREP_FLAGS FILE_TO_CHECK MANIFEST_LOCATIONS...
If no manifest is specified, the function will use every installed package
on the system database.
FossilOrigin-Name: 53cbeff7a92850efd172960f12848885961655c9c53e24a5f8cb8da7642ce541
Diffstat (limited to 'contrib/cpt-export')
0 files changed, 0 insertions, 0 deletions