Date: Wed, 18 Jul 2012 19:56:52 +0300 From: Alex Kozlov <spam@rm-rf.kiev.ua> To: Doug Barton <dougb@dougbarton.us>, Niclas Zeising <zeising@freebsd.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r301039 - head/archivers/zlib Message-ID: <20120718165652.GA89610@ravenloft.kiev.ua> In-Reply-To: <500676B1.30403@dougbarton.us> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120718165652.GA89610>