help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Most used and least used build-system in Guix packages


From: Martin Castillo
Subject: Re: Most used and least used build-system in Guix packages
Date: Thu, 13 Apr 2023 19:12:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1


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

   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

[Prev in Thread] Current Thread [Next in Thread]