I know basics of grep regex but I have only used it to destroy files to remove crap ..
How do I use it to digg through source ? As I have been told to use it before.. Say I want to find what opengl drawtype the lamps are giving off in the 3d view.. What kinda way would I use grep to seek out the details of this source?
Is it via terminal? Or in a text editor? On OSX but we have lots of unix stuff and regex tools but no emacs please.. i am not THAT comand line savy
Grep the code ? how to ?
Moderators: jesterKing, stiv
-
- Posts: 233
- Joined: Sun Oct 13, 2002 7:37 pm
- Location: University of Minnesota (USA)
- Contact:
in a terminal you cd to your blender root directory
then use grep -r "string" *
to look for the word string.
The following documentation is a bit old but teaches you how
to find things in the blender code base....
http://www.blender3d.org/cms/Adding_com ... 184.0.html
then use grep -r "string" *
to look for the word string.
The following documentation is a bit old but teaches you how
to find things in the blender code base....
http://www.blender3d.org/cms/Adding_com ... 184.0.html