Consensys / surya

A set of utilities for exploring Solidity contracts
Apache License 2.0
1.06k stars 118 forks source link

how to add all contracts to analysis #153

Closed christopherreay closed 3 years ago

christopherreay commented 3 years ago

In the readme.md, the line for making a graphviz diagram of all contracts is

surya graph contracts/**/*.sol | dot -Tpng > MyContract.png

however I do not understand what the "**" syntax is. It doesnt run in my version of bash, and I cant google my way out of it.

It seems that this output would show the graph for all the interacting .sol files? but I also dont know if that is what is supposed to happen.. certainly the syntax would imply that.

}Sorry if this is an ultra noob question, but Ive got 25 years of linux sysadmin and development, and I cannot see how to unpick the question without asking!

thanks

christopherreay commented 3 years ago

looks like this is just bash expander syntax I didnt know sorry :)