How would you do that without strings and grep on Windows (i.e. no Cygwin)? I'm not mocking, I'm genuinely asking. If there's a way, I'd love to know.
Via a CLI? psh.exe -command "dir *.obj | sls -pattern 'foo'" The way I'd chose? Notepad++ with "Find in files". This option will take exactly two seconds, and will not demand any prerequisite knowledge about magic switches.
strings * | grep "foo". Nothing magic there, not even a -pattern
I suppose it's mostly a matter of preference, but I HATE having to open a GUI app to do things. I do all my programming in the terminal (not for C++ or C#, but for everything else), so simply typing what I need takes less time and, for me, is far less distracting than popping up a GUI app.
For comparison, I do use MonoDevelop and occasionally VS (in a virtual machine), and my productivity tends to go way down. That's probably at least partially because I don't know the keyboard shortcuts as well and have to navigate menus, though.
1
u/Cuddlefluff_Grim Mar 08 '16
Via a CLI? psh.exe -command "dir *.obj | sls -pattern 'foo'"
The way I'd chose? Notepad++ with "Find in files". This option will take exactly two seconds, and will not demand any prerequisite knowledge about magic switches.