From owner-svn-ports-all@FreeBSD.ORG Wed Jul 18 16:56:53 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9B55106564A; Wed, 18 Jul 2012 16:56:53 +0000 (UTC) (envelope-from kozlov@ravenloft.kiev.ua) Received: from ravenloft.kiev.ua (ravenloft.kiev.ua [94.244.131.95]) by mx1.freebsd.org (Postfix) with ESMTP id A24498FC0C; Wed, 18 Jul 2012 16:56:53 +0000 (UTC) Date: Wed, 18 Jul 2012 19:56:52 +0300 From: Alex Kozlov To: Doug Barton , Niclas Zeising Message-ID: <20120718165652.GA89610@ravenloft.kiev.ua> References: <201207172057.q6HKvEJc094784@svn.freebsd.org> <5005DB51.7050809@dougbarton.us> <5005E5C4.2030809@freebsd.org> <20120717230739.GA66332@ravenloft.kiev.ua> <5005F1E3.7080606@dougbarton.us> <20120717234412.GA69885@ravenloft.kiev.ua> <5005FDBD.5000407@dougbarton.us> <20120718001944.GA71608@ravenloft.kiev.ua> <500676B1.30403@dougbarton.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <500676B1.30403@dougbarton.us> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r301039 - head/archivers/zlib X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2012 16:56:54 -0000 On Wed, Jul 18, 2012 at 01:41:21AM -0700, Doug Barton wrote: > On 07/17/2012 17:19, Alex Kozlov wrote: > > Those two lines above are not only list of distinfo files with absent > > EOL at the last line, but also an example of real parser which broken > > by such distinfo. > So again, what I'm asking for are the *details* of what was broken, and > how. I apologize, it seems that I hit send a little too soon. You can see for the details ports-mgmt/pchecker, brief excerpt: file=/usr/ports/mail/meta1/distinfo while read alg fname equal chksum; do case "${chksum}" in *IGNORE) ;; *) fname="${fname##(}" fname="${fname%%)}" case "${alg}" in SIZE) echo "${fname}_size" ;; SHA256) echo "${fname}_sha256" ;; '#') ;; *) echo "${fname}_anomaly" ;; esac ;; esac done < "${file}" > And FWIW, since that was my *first* question, you could have started off > with this answer instead of engaging in pointless theoretical discussion. It was never completely theoretical for me. -- Alex