X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Ffusionax%2Fformation.pl;h=c6eb6a7b037a4c7ee5c1c87d5e164800dca75c4b;hb=ddc4c64239397960c7c95aad9153009b986038bb;hp=3ee392af5bc37c37810098f48ded32142aca11a9;hpb=8a43972f58f0a77015ae9e509f1c073d188874d2;p=platal.git diff --git a/modules/fusionax/formation.pl b/modules/fusionax/formation.pl index 3ee392a..c6eb6a7 100755 --- a/modules/fusionax/formation.pl +++ b/modules/fusionax/formation.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl use utf8; -open(FILE, "<:encoding(UTF-8)", "Formations.txt") || die ("Erreur d'ouverture"); -open(OUT, ">:encoding(UTF-8)", "Formations_out.txt") || die ("Erreur d'ouverture"); +open(FILE, "<:encoding(UTF-8)", "../../spool/fusionax/Formations.txt") || die ("Erreur d'ouverture"); +open(OUT, ">:encoding(UTF-8)", "../../spool/fusionax/Formations_out.txt") || die ("Erreur d'ouverture"); while () { @@ -103,7 +103,7 @@ while () s/CESDR\t//; s/CFAF\t//; s/CHEA\t//; - s/CHEAR\t//; + s/CHEAR\t/CHEAr/; s/CHEE&DD Session 9\t//; s/CESB\t//; s/CESSID\t//; @@ -265,7 +265,7 @@ while () s/\tès /\t/g; s/\tof /\t/g; s/( )+(\t)/\t/g; - + # On remet dans l'ordre lorsque le diplôme se situe après l'université s/Manag\.Vanderblit/Vanderbilt University\tManagement/;