Anthony Towns writes: > Sure. Most scripts do. But we're not talking about most scripts, > we're talking about python scripts, and a large number of those use > /usr/bin/env. Of the 220 python scripts on my system, 202 of them use the > /usr/bin/env trick. This includes scripts in /usr/doc/*/examples and such > [0].
If I interpret your script correctly (?), then you count all the scripts derived from the python1.5 and 2.1 source packages, which are modified to use the /usr/bin/env approach. That leads to wrong numbers.