'artistic-version' pushed to the pkg-perl scripts repository
On Fri, Oct 10, 2014 at 11:21:32PM +0300, Niko Tyni wrote:
> As seen at <http://spdx.org/licenses/>, there are three variants
> of the Artistic license version 1.0 around.
> A crude way to tell these apart is
> /7\.\s*C subroutines/ and out("Artistic-1.0-Perl");
> /8\.\s*The name of the Copyright Holder/ and out("Artistic-1.0");
> /8\.\s*Aggregation of this Package/ and out("Artistic-1.0-cl8");
>
> I'm attaching an even cruder script that can be run on a number of files
> and uses the above heuristics. Maybe it's useful to somebody.
I ended up pushing this to the pkg-perl scripts repository, see
http://anonscm.debian.org/cgit/pkg-perl/scripts.git/plain/artistic-version
If you use it, feel free to make it better :)
--
Niko Tyni ntyni@debian.org
Reply to: