Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2005 15:27:59 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        Jean-Baptiste Quenot <jb.quenot@caraldi.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: /usr/ports/distfiles maintenance
Message-ID:  <20050527152759.0b2b0a64.lehmann@ans-netz.de>
In-Reply-To: <20050527131802.GB98382@vision.anyware>
References:  <42970476.6050105@btopenworld.com> <20050527113832.GQ1175@k7.mavetju> <20050527131802.GB98382@vision.anyware>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050527152759.0b2b0a64.lehmann>