Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
cpan rss generation for archlinux aur packages (upstream cpan repo rss)
packages=( `curl -s "" | tr \" "\n" | grep '^/packages/' | grep perl | awk -F/ '{print $3};' | tr '\n' ' '` )
for package in ${packages[*]}; do
perl_module=$(curl -s "${package}/" | tr \" "\n" | grep -m1 '^https://meta' | awk -F/ '{print $5};')
echo "${perl_module}"

This comment has been minimized.

Copy link
Owner Author

@swiftgeek swiftgeek commented May 8, 2015

Take output to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.