awk -F' ' '{print>$2}' log.log
以空格为分隔符 将当前行输出至第二列的文件中
如果列以| 分隔 则需加转义 -F|
参考:
https://stackoverflow.com/questions/59974705/how-to-include-all-header-files-with-one-include-in-c-project
awk -F' ' '{print>$2}' log.log
以空格为分隔符 将当前行输出至第二列的文件中
如果列以| 分隔 则需加转义 -F|
参考:
https://stackoverflow.com/questions/59974705/how-to-include-all-header-files-with-one-include-in-c-project