Thanks for all your error reports, I didn't forget it. I'll cleanup my guide soon. Thanks again!
perl -nle 'print $1 if /(p5-.*)-[0-9]+\.[0-9]+/' pkg.tmp > pkg1.tmp
Learn Linux The Hard Way