diff -r 7f26c4b32651 -r 85820a499b76 tools/lemon-0.x-to-1.x.sh --- a/tools/lemon-0.x-to-1.x.sh Tue Oct 28 23:10:27 2008 +0100 +++ b/tools/lemon-0.x-to-1.x.sh Wed Oct 29 06:22:21 2008 +0000 @@ -12,8 +12,14 @@ do echo Update $i... TMP=`mktemp` - sed -e "s/undirected graph/_gr_aph_label_/g"\ - -e "s/undirected edge/_ed_ge_label_/g"\ + sed -e "s/\/_gr_aph_label_/g"\ + -e "s/\/_gr_aph_label_s/g"\ + -e "s/\/_ed_ge_label_/g"\ + -e "s/\/_ed_ge_label_s/g"\ + -e "s/\/_digr_aph_label_/g"\ + -e "s/\/_digr_aph_label_s/g"\ + -e "s/\/_ar_c_label_/g"\ + -e "s/\/_ar_c_label_s/g"\ -e "s/UGraph/_Gr_aph_label_/g"\ -e "s/u[Gg]raph/_gr_aph_label_/g"\ -e "s/\/_Digr_aph_label_/g"\ @@ -44,6 +50,10 @@ -e "s/B-[Nn]ode/_Blu_e_label_/g"\ -e "s/a[Nn]ode/_re_d_label_/g"\ -e "s/b[Nn]ode/_blu_e_label_/g"\ + -e "s/\/_GR_APH_TY_PEDE_FS_label_/g"\ + -e "s/\/_DIGR_APH_TY_PEDE_FS_label_/g"\ -e "s/_Digr_aph_label_/Digraph/g"\ -e "s/_digr_aph_label_/digraph/g"\ -e "s/_Gr_aph_label_/Graph/g"\ @@ -57,6 +67,8 @@ -e "s/_Blu_e_label_/Blue/g"\ -e "s/_re_d_label_/red/g"\ -e "s/_blu_e_label_/blue/g"\ + -e "s/_GR_APH_TY_PEDE_FS_label_/GRAPH_TYPEDEFS/g"\ + -e "s/_DIGR_APH_TY_PEDE_FS_label_/DIGRAPH_TYPEDEFS/g"\ -e "s/DigraphToEps/GraphToEps/g"\ -e "s/digraphToEps/graphToEps/g"\ -e "s/\/SetPredMap/g"\