==============

   Does anyone know if there's a more accurate way of finding out this
   information? I'm asking because my method also counts build systems
   that are mentioned in comments. For example, if a file contains
   comments that mention build systems, they are also counted.

   ,----
   | (... more sentences that mention dub-build-system...)
   | ;; One sentence that mentions dub-build-system
   | ;; Another sentence that mentions dub-build-system
   | (... more sentences that mention dub-build-system...)
   `----

maybe filter out comment lines ?

grep -hREo '^[^;]+[a-zo-]+-build-system' $path | sort | uniq -c | sort -nr

Reply via email to