XiaoKL

随笔分类 -  Linux/Unix

Linux.CommanlineTool.grep
摘要:grep1 grep [options] PATTERN [FILE...]2 grep [options] [-e PATTERN | -f FILE] [FILE...]1. grep的Regular ExpressionRef[1]A): 匹配单字符reg ex中基本的构建块是匹配单个字符的r... 阅读全文

posted @ 2015-07-02 16:34 XiaoKL 阅读(237) 评论(0) 推荐(0)

MacDev.GetArchOfLibrary
摘要:1. static libraryHow to check target architecture of a static libraryhttp://changhoward.blogspot.com/2012/03/how-to-check-target-architecture-of.htmlFor Mac OS: Use lipo. Ex. lipo -info staticLibrary.aFor Linux OS: Use file Ex. file staticLibrary.c在Mac OS上file也是支持的。2. dynamic library 阅读全文

posted @ 2014-01-13 20:06 XiaoKL 阅读(229) 评论(0) 推荐(0)

导航