Pattern matching: return all the matches (instead of the first one found)
This commit is contained in:
parent
a7148d455b
commit
7ece331efb
3 changed files with 102 additions and 37 deletions
|
|
@ -1,8 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
rm *.svg
|
||||
rm *.dot
|
||||
python main.py
|
||||
dot randomGraph.dot -Tsvg > randomGraph.svg
|
||||
dot randomPattern.dot -Tsvg > randomPattern.svg
|
||||
# dot randomGraph.dot -Tsvg > randomGraph.svg
|
||||
for filename in randomGraph-*.dot; do
|
||||
dot $filename -Tsvg > $filename.svg
|
||||
done
|
||||
|
||||
firefox randomGraph.svg
|
||||
firefox randomPattern.svg
|
||||
firefox *.svg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue