摘要: 1、创建测试数据 [root@linuxprobe test]# seq 30 > a.txt [root@linuxprobe test]# ls a.txt [root@linuxprobe test]# head a.txt 1 2 3 4 5 6 7 8 9 10 2、提取奇数行 [root 阅读全文
posted @ 2020-10-01 23:29 小鲨鱼2018 阅读(3001) 评论(0) 推荐(0) 编辑
摘要: 1、遇到一个数据需要提取奇数列 创建测试数据 [root@linuxprobe test]# seq -f %03g 60 | xargs -n 30 > test.txt[root@linuxprobe test]# seq -f c%02g 30 | xargs |cat - test.txt 阅读全文
posted @ 2020-10-01 23:12 小鲨鱼2018 阅读(691) 评论(0) 推荐(0) 编辑
摘要: 1、遇到一个数据需要提取奇数列 [root@linuxprobe test]# cat test.txtc1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 阅读全文
posted @ 2020-10-01 23:09 小鲨鱼2018 阅读(549) 评论(0) 推荐(0) 编辑
摘要: 1、运行perl程序遇到如下报错,Can't exec "epstopdf": No such file or directory 2、 安装 epstopdf git clone https://github.com/lgong30/epstopdf.g cd epstopdf/ chmod +x 阅读全文
posted @ 2020-10-01 21:47 小鲨鱼2018 阅读(1169) 评论(0) 推荐(0) 编辑
摘要: 1、sh: gnuplot: command not found 2、 安装 yum install gnuplot 阅读全文
posted @ 2020-10-01 17:51 小鲨鱼2018 阅读(2720) 评论(0) 推荐(0) 编辑