[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: It's Huntin' Season

On Wed, Jan 30, 2002 at 08:23:22PM +1000, Anthony Towns wrote:
> 	ssh master
> 		cd /org/lintian.debian.org/laboratory/source
> 		for a in *; do (cd $a && echo ${a}_*.tar.gz) | head -1; done |
> 			sed 's/\.\(orig\.\)\?tar\.gz$//' | 
> 			tr '_' ' '  >~/lintianvers.txt

Duh. This gets you the upstream version, which isn't what's wanted.

	ssh master
 		cd /org/lintian.debian.org/laboratory/source
		for a in *; do echo -n "$a "; cat ${a}/fields/version; done

...works better.


Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

The daffodils are coming. Are you?
      linux.conf.au, February 2002, Brisbane, Australia
                                --- http://linux.conf.au/

Attachment: pgpHyH_kHcaak.pgp
Description: PGP signature

Reply to: