scripts/rename-graphs
changeset 2556 74c2c81055e1
parent 2536 0a1a6872855c
child 2558 e70b52a8cd57
equal deleted inserted replaced
2:f4a9492f737b 3:261f6887cf34
     2 
     2 
     3 ID=$RANDOM
     3 ID=$RANDOM
     4 
     4 
     5 cat $1 | \
     5 cat $1 | \
     6 sed -e "s/bipartite undirected graph/bipartite graph/g"\
     6 sed -e "s/bipartite undirected graph/bipartite graph/g"\
       
     7 	-e "s/undirected graph/_gr_aph_label_/g"\
     7 	-e "s/undirected edge/_ed_ge_label_/g"\
     8 	-e "s/undirected edge/_ed_ge_label_/g"\
     8 	-e "s/UGraph/_Gr_aph_label_/g"\
     9 	-e "s/UGraph/_Gr_aph_label_/g"\
     9 	-e "s/uGraph/_gr_aph_label_/g"\
    10 	-e "s/uGraph/_gr_aph_label_/g"\
    10 	-e "s/ugraph/_gr_aph_label_/g"\
    11 	-e "s/ugraph/_gr_aph_label_/g"\
    11 	-e "s/Graph/_Digr_aph_label_/g"\
    12 	-e "s/Graph/_Digr_aph_label_/g"\