Det här kanske är lite intressant för listan också. Jonas har just kodat
(se nedan) så att det går att läsa diffar mellan förslaget från rådet
och kommissionens ursprungliga förslag. Här är ett delresultat:

    http://erikjosefsson.eu/sites/default/files/consent.html

Nu råkade det bli en diff om consent som exempel. Hoppas kunna göra
mera/flera imorgon.

//Erik


-------- Original Message --------
Subject:        Perl, regexps and dreamscraping (DebianParl)
Date:   Wed, 8 May 2013 18:06:22 +0200
From:   JOSEFSSON Erik <erik.josefs...@europarl.europa.eu>
To:     <epf...@epfsug.eu>



Dear all,

After years of serious mediawiki abuse, I have been saved by regexps,
perl poetry and sprinkles of that feeling you have just before you wake
up with a brilliant idea.

May I present the command line:

    ehj@hedgehog:~/Documents/epfsug/diff$ localworddiff 3-rec-004.mdwn
    4-rec-005.mdwn consent.html

and its output:

    http://erikjosefsson.eu/sites/default/files/consent.html

The file "consent.html" above is a partial diff between a Council leak
from statewatch (which I think was published yesterday?):

    http://www.statewatch.org/news/2013/may/eu-coe-data-protection-8825-13.pdf

and the Commission proposal:

    
http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=CELEX:52012PC0011:EN:PDF

(I used to do such by hand in mediawiki)


What it's about?

Well... its legislation for .5 bn citizens, so I think that perl code is
a candidate for the meta package "parl-tools" that I hope will be a part
of the Debian Pure Blend project:

    https://wiki.debian.org/DebianParl

which is hereby announced :-)


Just to be clear, I did not write any perl at all. My contribution to
the above progress has been making lots and lots of regexp mistakes and
asking stupid stupid questions.

Jonas made the rest.

Thank you Jonas.

//Erik


-- 
Erik Josefsson
Advisor on Internet Policies
Greens/EFA Group
<http://www.greens-efa.eu/36-details/josefsson-erik-138.html>
GSM: *+32484082063*
BXL: PHS 04C075 TEL: +3222832667
SBG: WIC M03005 TEL: +33388173776


Till