[root@localhost ~]# cat 1.txt
1ms
2ms
3ms
4ms
5ms
[root@localhost ~]# cat 1.txt | awk '{print $1"\047"}'
1ms'
2ms'
3ms'
4ms'
5ms'
[root@localhost ~]# cat 1.txt | awk '{print $1"\047"}' > 2.txt
[root@localhost ~]# cat 2.txt
1ms'
2ms'
3ms'
4ms'
5ms'
[root@localhost ~]# cat 1.txt
1ms
2ms
3ms
4ms
5ms
[root@localhost ~]# cat 1.txt | awk '{print $1"\047"}'
1ms'
2ms'
3ms'
4ms'
5ms'
[root@localhost ~]# cat 1.txt | awk '{print $1"\047"}' > 2.txt
[root@localhost ~]# cat 2.txt
1ms'
2ms'
3ms'
4ms'
5ms'
指法入门
这里是反斜杠,不知道为什么每次都被修改程斜杠 查找目标:/r/n替换为"," 版权声明:本文为博主原创文章,未经博主允许不得转载。Notepad++
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M