/usr/ports/distfiles maintenance

Oliver Lehmann lehmann at ans-netz.de
Fri May 27 06:28:03 PDT 2005


Jean-Baptiste Quenot wrote:

> * Edwin Groothuis:
> > I would say, that the output of 
> >     grep MD5 */*/distinfo | awk '{ print $2 }' | sed -e 's/[()]//g'
> > [...]
> > Oh, and it kind of sucks too that */*/distinfo gives an "argument
> > list too long" :-)
> 
> What about:
> 
> find . -name distinfo | xargs grep MD5 | awk '{ print $2 }' | sed -e 's/[()]//g'

find . -name distinfo -type f | xargs awk -F'[()]' '/MD5/ {print $2}' 

-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/


More information about the freebsd-ports mailing list