当有大量数据需要对其中一些行进行提取时,可以使用Git Bash 命令进行提取
工具/原料
1
Git Bash
2
txt文档
方法/步骤
1
打开git Bash 操作界面
2
在Git Bash 中使用Cat xxx1.xxx | grap “xxx2”> xxx3.xxx 命令将文件xxx1.xxx中 包含 xxx 字符的行提取出来并保存在xxx3.xxx中。
上一篇:EXCEL中怎么快速更改日期格式
Git Bash
txt文档
打开git Bash 操作界面
在Git Bash 中使用Cat xxx1.xxx | grap “xxx2”> xxx3.xxx 命令将文件xxx1.xxx中 包含 xxx 字符的行提取出来并保存在xxx3.xxx中。