c++ Programming Glossary: awk
Boost Preprocessor library for generating a set of types based on a list of basic types e.g. PointI32, PointF32 etc. in C++/CLI http://stackoverflow.com/questions/2222849/boost-preprocessor-library-for-generating-a-set-of-types-based-on-a-list-of-basi also help you. Or obviously an external code generator in awk perl C whatever . That could be the best solution. share improve..
Simple script to count NLOC? http://stackoverflow.com/questions/323419/simple-script-to-count-nloc loc share improve this question I would do that using awk cpp preprocessor wc . awk removes all braces and blanks the.. question I would do that using awk cpp preprocessor wc . awk removes all braces and blanks the preprocessor removes all comments.. find . name .cpp o name .h xargs n1 cpp fpreprocessed P awk ' ^ space ' wc l If you want to have comments included find..
How do I list the symbols in a .so file http://stackoverflow.com/questions/34732/how-do-i-list-the-symbols-in-a-so-file in this case. You can extract the corresponding lines with awk readelf Ws usr lib libstdc .so.6 awk ' print 8 ' Update Thanks.. lines with awk readelf Ws usr lib libstdc .so.6 awk ' print 8 ' Update Thanks to Pavel Shved and Gaspin I've updated..
How to use dylib in Mac OS X (C++) http://stackoverflow.com/questions/4677044/how-to-use-dylib-in-mac-os-x-c stuff. DYLIBS `otool L ~ tmp bin convert grep opt awk F' ' ' print 1 '` Copy all the dylibs that the executable references..
How to check what shared library is loaded at run time? http://stackoverflow.com/questions/5103443/how-to-check-what-shared-library-is-loaded-at-run-time right track. Here are a couple ways. cat proc NNNN maps awk ' print 6 ' grep ' .so' sort uniq Or with strace strace CMD......
Is this C++11 regex error me or the compiler? http://stackoverflow.com/questions/8060025/is-this-c11-regex-error-me-or-the-compiler that supports square brackets but neither basic extended awk nor ECMAScript seem to support backslash escaped terms like..
Unique hardware ID in Mac OS X http://stackoverflow.com/questions/933460/unique-hardware-id-in-mac-os-x QStringList args args c ioreg rd1 c IOPlatformExpertDevice awk ' IOPlatformUUID print 3 ' proc.start bin bash args proc.waitForFinished.. this Terminal command ioreg rd1 c IOPlatformExpertDevice awk ' IOPlatformUUID split 0 line printf s n line 4 ' From here.. nil NSTask task2 NSTask new task2 setLaunchPath @ usr bin awk task2 setArguments args2 NSPipe pipe2 NSPipe new task2 setStandardInput..
|