Created
September 17, 2020 06:08
-
-
Save petrohs/6611eedbe703bd2b6358825a3b768132 to your computer and use it in GitHub Desktop.
debianHuerfanosPopular¦ obtener listado de paquetes huarfanos de la lista de popularidad Debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm by_vote orphaned.html orphaned.txt huerfanosPopulares.txt; | |
wget https://popcon.debian.org/by_vote | |
wget https://www.debian.org/devel/wnpp/orphaned.html | |
#grep 'bugs.debian.org' orphaned.html | cut -d: -f2 | cut -d\> -f2 | sed -e "s/.*/& /" | head -2 > orphaned.txt | |
grep 'bugs.debian.org' orphaned.html | sed -e "s'.*<li><a href=.https://bugs.debian.org/........' '" -e "s/:.*/ /" > orphaned.txt | |
grep -f orphaned.txt by_vote > huerfanosPopulares.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment