# HG changeset patch # User Alpar Juttner # Date 2008-10-29 07:22:21 # Node ID 85820a499b76448ef92ef30bfb1433f157a4c3d8 # Parent 7f26c4b32651f1c069bed16d2fc09edb70b667a0 # Parent 236b1902e5ccb788d9c976fb7912a2a4487cbac9 Merge diff --git a/tools/lemon-0.x-to-1.x.sh b/tools/lemon-0.x-to-1.x.sh --- a/tools/lemon-0.x-to-1.x.sh +++ b/tools/lemon-0.x-to-1.x.sh @@ -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"\