tools/lemon-0.x-to-1.x.sh
changeset 608 6e0525ec5355
parent 489 4f1431aeef42
child 621 003367ffe66e
equal deleted inserted replaced
7:9dbe1d46989d 8:4c7d24ecfeda
    20         -e "s/\<directed graphs\>/_digr_aph_label_s/g"\
    20         -e "s/\<directed graphs\>/_digr_aph_label_s/g"\
    21         -e "s/\<directed edge\>/_ar_c_label_/g"\
    21         -e "s/\<directed edge\>/_ar_c_label_/g"\
    22         -e "s/\<directed edges\>/_ar_c_label_s/g"\
    22         -e "s/\<directed edges\>/_ar_c_label_s/g"\
    23         -e "s/UGraph/_Gr_aph_label_/g"\
    23         -e "s/UGraph/_Gr_aph_label_/g"\
    24         -e "s/u[Gg]raph/_gr_aph_label_/g"\
    24         -e "s/u[Gg]raph/_gr_aph_label_/g"\
    25         -e "s/\<Graph\>/_Digr_aph_label_/g"\
    25         -e "s/Graph\>/_Digr_aph_label_/g"\
    26         -e "s/\<graph\>/_digr_aph_label_/g"\
    26         -e "s/\<graph\>/_digr_aph_label_/g"\
    27         -e "s/\<Graphs\>/_Digr_aph_label_s/g"\
    27         -e "s/Graphs\>/_Digr_aph_label_s/g"\
    28         -e "s/\<graphs\>/_digr_aph_label_s/g"\
    28         -e "s/\<graphs\>/_digr_aph_label_s/g"\
    29         -e "s/_Graph/__Gr_aph_label_/g"\
    29         -e "s/\([Gg]\)raph\([a-z]\)/_\1r_aph_label_\2/g"\
    30         -e "s/\([Gg]\)raph\([a-z_]\)/_\1r_aph_label_\2/g"\
       
    31         -e "s/\([a-z_]\)graph/\1_gr_aph_label_/g"\
    30         -e "s/\([a-z_]\)graph/\1_gr_aph_label_/g"\
    32         -e "s/Graph/_Digr_aph_label_/g"\
    31         -e "s/Graph/_Digr_aph_label_/g"\
    33         -e "s/graph/_digr_aph_label_/g"\
    32         -e "s/graph/_digr_aph_label_/g"\
    34         -e "s/UEdge/_Ed_ge_label_/g"\
    33         -e "s/UEdge/_Ed_ge_label_/g"\
    35         -e "s/u[Ee]dge/_ed_ge_label_/g"\
    34         -e "s/u[Ee]dge/_ed_ge_label_/g"\
    36         -e "s/IncEdgeIt/_In_cEd_geIt_label_/g"\
    35         -e "s/IncEdgeIt/_In_cEd_geIt_label_/g"\
    37         -e "s/\<Edge\>/_Ar_c_label_/g"\
    36         -e "s/Edge\>/_Ar_c_label_/g"\
    38         -e "s/\<edge\>/_ar_c_label_/g"\
    37         -e "s/\<edge\>/_ar_c_label_/g"\
    39         -e "s/\<Edges\>/_Ar_c_label_s/g"\
    38         -e "s/_edge\>/_ar_c_label_/g"\
       
    39         -e "s/Edges\>/_Ar_c_label_s/g"\
    40         -e "s/\<edges\>/_ar_c_label_s/g"\
    40         -e "s/\<edges\>/_ar_c_label_s/g"\
    41         -e "s/_Edge/__Ed_ge_label_/g"\
    41         -e "s/_edges\>/_ar_c_label_s/g"\
    42         -e "s/Edge\([a-z_]\)/_Ed_ge_label_\1/g"\
    42         -e "s/\([Ee]\)dge\([a-z]\)/_\1d_ge_label_\2/g"\
    43         -e "s/edge\([a-z_]\)/_ed_ge_label_\1/g"\
    43         -e "s/\([a-z]\)edge/\1_ed_ge_label_/g"\
    44         -e "s/\([a-z_]\)edge/\1_ed_ge_label_/g"\
       
    45         -e "s/Edge/_Ar_c_label_/g"\
    44         -e "s/Edge/_Ar_c_label_/g"\
    46         -e "s/edge/_ar_c_label_/g"\
    45         -e "s/edge/_ar_c_label_/g"\
    47         -e "s/A[Nn]ode/_Re_d_label_/g"\
    46         -e "s/A[Nn]ode/_Re_d_label_/g"\
    48         -e "s/B[Nn]ode/_Blu_e_label_/g"\
    47         -e "s/B[Nn]ode/_Blu_e_label_/g"\
    49         -e "s/A-[Nn]ode/_Re_d_label_/g"\
    48         -e "s/A-[Nn]ode/_Re_d_label_/g"\
   114         -e "s/\<nodeSubGraphAdaptor\>/filterNodes/g"\
   113         -e "s/\<nodeSubGraphAdaptor\>/filterNodes/g"\
   115         -e "s/\<ArcSubGraphAdaptor\>/FilterEdges/g"\
   114         -e "s/\<ArcSubGraphAdaptor\>/FilterEdges/g"\
   116         -e "s/\<arcSubGraphAdaptor\>/filterEdges/g"\
   115         -e "s/\<arcSubGraphAdaptor\>/filterEdges/g"\
   117         -e "s/\<DirGraphAdaptor\>/Orienter/g"\
   116         -e "s/\<DirGraphAdaptor\>/Orienter/g"\
   118         -e "s/\<dirGraphAdaptor\>/orienter/g"\
   117         -e "s/\<dirGraphAdaptor\>/orienter/g"\
       
   118         -e "s/\<LpCplex\>/CplexLp/g"\
       
   119         -e "s/\<MipCplex\>/CplexMip/g"\
       
   120         -e "s/\<LpGlpk\>/GlpkLp/g"\
       
   121         -e "s/\<MipGlpk\>/GlpkMip/g"\
       
   122         -e "s/\<LpSoplex\>/SoplexLp/g"\
   119     <$i > $TMP
   123     <$i > $TMP
   120     mv $TMP $i
   124     mv $TMP $i
   121 done
   125 done