Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在一个C设备(ESP8266grep
C
ESP8266
grep
在这些情况下,“浏览”SDK 并查找标头的最佳/常见做法是什么?我通常使用nanoandSublime Text作为编辑器(在 GNU/Linux 和 Mac OS X 上),但任何其他解决方案都值得赞赏。
nano
Sublime Text
我通常会为此使用find+ grep,例如查找 的定义foo:
find
foo
$ find /path/to/SDK -name \*.h -exec grep foo {} /dev/null \;