Question: Exists an (easy) way to 'grep' all headers files of all[...]
packages in Debian?
Question: Exists an (easy) way to 'grep' all headers files of all packages in Debian?
Question: Exists an (easy) way to 'grep' all headers files of all packages in Debian?
wget http://ftp.debian.org/debian/dists/sid/main/Contents-amd64.gz
apt download `zgrep '\.h ' Contents-amd64.gz |rev|cut -d/ -f1|rev|sort|uniq`
wget http://ftp.debian.org/debian/dists/sid/main/Contents-source.gz
apt source `zgrep '\.h\t' Contents-source.gz |cut -d$'\t' -f2|sort|uniq`
The result is a bit astonishing. I have not checked for false positives yet. But the initial search gave 650 affected source packages. I expected perhaps 15 packages, which I fix then. However, that is 2.5% of the actual amount, 40 times more thanenvisioned. Any idea how to tackle that?
Thank you so much. Both helped. For another project, I am going for the -dev package content. For this issue here, the source turned out to be much easier.envisioned. Any idea how to tackle that?
The result is a bit astonishing. I have not checked for false positives yet. But the initial search gave 650 affected source packages. I expected perhaps 15 packages, which I fix then. However, that is 2.5% of the actual amount, 40 times more than
upstream .. issue
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 61:48:47 |
Calls: | 6,654 |
Files: | 12,200 |
Messages: | 5,331,620 |