12 2019 档案
摘要:.a静态库文件实际上就是.o目标文件的集合 x[o] - extract file(s) from the archivear -x libxxx.a 提取目标文件 file add.o nm add.o https://www.jianshu.com/p/863b279c941e 通过使用工具re
阅读全文
摘要:首选 Clang-Format https://clang.llvm.org/docs/ClangFormatStyleOptions.html# Astyle http://astyle.sourceforge.net/ http://astyle.sourceforge.net/astyle.h
阅读全文
摘要:http://blog.itpub.net/27181165/viewspace-1061688/ 在linux中通常会使用shell结合正则表达式来过滤字符,本文将以一个简单的例子来说明+,*,[:space:]的一些用法+ 匹配1个或多个字符* 匹配0个或多个字符[:space:] 匹配空白字符
阅读全文
摘要:删除文件中的 ^M 字符 有时候,我们在 Linux 中打开曾在 Win 中编辑过的文件时,会在行尾看到 ^M 字符。虽然,这并不影响什么,但心里面还是有点不痛快。如果想要删除这些 ^M 字符,可以使用 Vim 来轻松搞定它。 在 Vim 的命令模式中输入 :%s/^M$//g 后,回车即会自动删除
阅读全文