Modified rename script (BpGraph instead of Bigraph).
authorkpeter
Fri, 07 Dec 2007 12:00:32 +0000
changeset 25360a1a6872855c
parent 2535 716024e7c080
child 2537 4a2091b1796a
Modified rename script (BpGraph instead of Bigraph).
scripts/rename-graphs
     1.1 --- a/scripts/rename-graphs	Wed Dec 05 13:03:19 2007 +0000
     1.2 +++ b/scripts/rename-graphs	Fri Dec 07 12:00:32 2007 +0000
     1.3 @@ -3,15 +3,8 @@
     1.4  ID=$RANDOM
     1.5  
     1.6  cat $1 | \
     1.7 -sed -e "s/bipartite undirected graph/_bigr_aph_label_/g"\
     1.8 -	-e "s/bipartite graph/_bigr_aph_label_/g"\
     1.9 -	-e "s/undirected graph/_gr_aph_label_/g"\
    1.10 +sed -e "s/bipartite undirected graph/bipartite graph/g"\
    1.11  	-e "s/undirected edge/_ed_ge_label_/g"\
    1.12 -	-e "s/BpUGraph/_Bigr_aph_label_/g"\
    1.13 -	-e "s/BpUgraph/_Bigr_aph_label_/g"\
    1.14 -	-e "s/bpUGraph/_bigr_aph_label_/g"\
    1.15 -	-e "s/bpUgraph/_bigr_aph_label_/g"\
    1.16 -	-e "s/bpugraph/_bigr_aph_label_/g"\
    1.17  	-e "s/UGraph/_Gr_aph_label_/g"\
    1.18  	-e "s/uGraph/_gr_aph_label_/g"\
    1.19  	-e "s/ugraph/_gr_aph_label_/g"\
    1.20 @@ -34,8 +27,6 @@
    1.21  	-e "s/_digr_aph_label_/digraph/g"\
    1.22  	-e "s/_Gr_aph_label_/Graph/g"\
    1.23  	-e "s/_gr_aph_label_/graph/g"\
    1.24 -	-e "s/_Bigr_aph_label_/Bigraph/g"\
    1.25 -	-e "s/_bigr_aph_label_/bigraph/g"\
    1.26  	-e "s/_Ar_c_label_/Arc/g"\
    1.27  	-e "s/_ar_c_label_/arc/g"\
    1.28  	-e "s/_Ed_ge_label_/Edge/g"\