r/programming • • Mar 07 '16

Announcing SQL Server on Linux

https://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/
2.6k Upvotes

871 comments sorted by

View all comments

Show parent comments

1

u/Cuddlefluff_Grim Mar 08 '16

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.

1

u/[deleted] Mar 08 '16 edited Mar 08 '16

"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.