Discussion utilisateur:Laurent Clément

De VSST


Premier pas sur le wiki H2PTM

Traiter l'article qui est disponible en ligne ici :

Le nom de sa page associée sera :

Exemples à utiliser :

Jacques Ducloy 21 mai 2012 à 14:56 (CEST)

Filtre lex pour la biblio de l'article Lebreton

Voir wicri-outils.fr:Lex

%START NUM
%START AUTEUR

%%
^"["              {printf("{{VSST biblio\n |id="); BEGIN NUM;}
<NUM>[A-Z0-9a-z \:\-]+    ECHO;
<NUM>"]"[ ]*             {printf("\n |auteur="); BEGIN AUTEUR;}
<AUTEUR>[a-z]"."         { printf("%c ",yytext[0]);}
<AUTEUR>","               {printf("\n |texte="); BEGIN 0;}
[ ]*\n[ ]*"["            {printf("}}\n{{VSST biblio\n |id="); BEGIN NUM;}
[ ]*\n[ ]*                printf(" ");
%%
main ()
{
  yylex();
  printf("}}\n");
}

Compilation

lex monFiltre.lex
gcc lex.yy.c -ll -o monFiltre

Exécution

./monFiltre <<...
[1]Nordstrom.R.D., Pinkerton.R.L., « Taking Advantage of Internet Sources to Build a Competitive System. », CIR Spring, 1999.
[2]Ashkenas.R., « Breaking through global boundaries. », Executive Excellence, July 1999.
[3]Bertacchini.Y., Dumas.Ph., Boutin.E., « La mise en convergence des usages locaux. Vers l’élaboration d’un outil de veille territoriale. », Colloque de l’île Rousse sur les Systèmes d’information élaborés, Septembre 1999.
[4]Bellavista.T., et alii., Politica Cientifica Technolôgîca, Evaluaciôn del R+D en la Universitat de Barcelona, 1993.
[5]Bertacchini.Y., « Closing the gap between the proximity of the local steps and their adjacent skills : toward the knowledges of endorsement will. », [http://crrm.Mrs3.univ-.fr], Information Scientific for Decision Making N°3. 
[6]Dou.H., Veille Technologique et Compétitivité, p.18, Dunod, 1995.