GNU AWK中BEGIN/END使用舉例

        如下是使用gnu awk將test.cpp文件拆分紅兩個文件a.cpp和b.cpp,其中b.cpp僅存放test.cpp中的數據,其它內容存放在a.cpp文件中。python         test.cpp內容以下: ios #include <stdio.h> #include <iostream> #include <string> int main() { //
相關文章
相關標籤/搜索