<CAKkjsY8sHxkqDW+YO_BqK7mx0M+RdYVBuc7-9EDRk0dgi0Ta2A@mail.gmail.com>
Hello, I am trying to find the total number of packages in the aports tree. These are my results, - main (2031) - community (1157) - testing (1294) - non-free (9) - unmaintained (39) Here is what I attempted, $ for repo in main community testing non-free unmaintained; do > find $repo -maxdepth 2 -type d | wc -l > done I then subtracted one from each because it is including the directory itself. Does that seem reasonable? -- [image: Visit online journal] <https://lramage94.github.io> *Lucas Ramage* / Software Engineer ramage.lucas@openmailbox.org / (941) 404-6794 *PGP Fingerprint* / Learn More <https://emailselfdefense.fsf.org/en/> EAE7 45DF 818D 4948 DDA7 0F44 F52A 5A96 7B9B 6FB7 <https://pgp.mit.edu/pks/lookup?op=get&search=0xF52A5A967B9B6FB7> *Visit online journal* http://lramage94.github.io <https://lramage94.github.io> [image: Github] <https://github.com/lramage94>[image: Linkedin] <https://www.linkedin.com/in/lramage94>
<CAKkjsY_tx+kVaMhe+_GvtP20VLX8MzxqD40wd5Jpnpr3GyTdGA@mail.gmail.com>
<20180207103053.GA26602@e460.lan>
(view parent)
Awesome. I wasn't completely off. Thanks, On Wed, Feb 7, 2018 at 5:30 AM, Svyatoslav Mishyn < svyatoslav.mishyn@gmail.com> wrote: > Hi, > > (Tue, 06 Feb 20:51) Lucas Ramage: > > I am trying to find the total number of packages in the aports tree. > > > > These are my results, > > - main (2031) > > - community (1157) > > - testing (1294) > > - non-free (9) > > - unmaintained (39) > > > > Here is what I attempted, > > > > $ for repo in main community testing non-free unmaintained; do > > > find $repo -maxdepth 2 -type d | wc -l > > > done > > > > I then subtracted one from each because it is including the directory > > itself. > > > > Does that seem reasonable? > > I searched against name APKBUILD, and results almost identical (only > main -1): > > /home/juef/alpine/aports: for repo in main community testing non-free > unmaintained; do > > printf "%-15s%d\n" "$repo:" "$((find $repo -name APKBUILD) | wc -l)" > > done > main: 2030 > community: 1157 > testing: 1294 > non-free: 9 > unmaintained: 39 > > > -- > https://www.juef.space/ > -- [image: Visit online journal] <https://lramage94.github.io> *Lucas Ramage* / Software Engineer ramage.lucas@openmailbox.org / (941) 404-6794 *PGP Fingerprint* / Learn More <https://emailselfdefense.fsf.org/en/> EAE7 45DF 818D 4948 DDA7 0F44 F52A 5A96 7B9B 6FB7 <https://pgp.mit.edu/pks/lookup?op=get&search=0xF52A5A967B9B6FB7> *Visit online journal* http://lramage94.github.io <https://lramage94.github.io> [image: Github] <https://github.com/lramage94>[image: Linkedin] <https://www.linkedin.com/in/lramage94>
<20180207103053.GA26602@e460.lan>
<CAKkjsY8sHxkqDW+YO_BqK7mx0M+RdYVBuc7-9EDRk0dgi0Ta2A@mail.gmail.com>
(view parent)
Hi, (Tue, 06 Feb 20:51) Lucas Ramage: > I am trying to find the total number of packages in the aports tree. > > These are my results, > - main (2031) > - community (1157) > - testing (1294) > - non-free (9) > - unmaintained (39) > > Here is what I attempted, > > $ for repo in main community testing non-free unmaintained; do > > find $repo -maxdepth 2 -type d | wc -l > > done > > I then subtracted one from each because it is including the directory > itself. > > Does that seem reasonable? I searched against name APKBUILD, and results almost identical (only main -1): /home/juef/alpine/aports: for repo in main community testing non-free unmaintained; do > printf "%-15s%d\n" "$repo:" "$((find $repo -name APKBUILD) | wc -l)" > done main: 2030 community: 1157 testing: 1294 non-free: 9 unmaintained: 39 -- https://www.juef.space/