1.提取图片
[D 160418 15:31:06 connectionpool:383] "POST /math/scan/save_data HTTP/1.1" 200 None
[I 160418 15:31:06 run:360] send response for student number 15298, response is {"status": 1, "message": "", "data": {}}
[D 160418 15:31:06 run:376] release global lock
[I 160418 15:31:06 run:349] request: {'data': '{"status": 100, "ans_card_id": "5714865f52f602609c72abe2", "source_img": "cda3c26eebb5e09ca7e77443f5ee030a.jpg", "related_source_img": "e5f42491ea3806897d1ef449bb01a3ab.jpg", "init_y": 0.026326963678002357, "init_x": 0.0701330155134201, "publish_info_id": "571481e652f602609d39d1ea", "page_num": 3, "batch_id": "37428feefcc95a7548db24bd3c4beebd", "student_number": "15298", "init_width": 0.8597339987754822, "filling_blank": [], "answering_question": [{"allconfidence": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], "answer_img": "3c473e28e3f408682b59434ce81f1453.jpg", "sub_no": 1, "score": "5", "q_no": 8, "item_id": "54be201b0045fe3e0e531292"}, {"allconfidence": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], "answer_img": "3c473e28e3f408682b59434ce81f1453.jpg", "sub_no": 2, "score": "5", "q_no": 8, "item_id": "54be201b0045fe3e0e531292"}, {"allconfidence": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], "answer_img": "da93754bf612127b33fb8233e16ef595.jpg", "sub_no": 1, "score": "6", "q_no": 9, "item_id": "559203825417d120a742776b"}, {"allconfidence": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], "answer_img": "da93754bf612127b33fb8233e16ef595.jpg", "sub_no": 2, "score": "7", "q_no": 9, "item_id": "559203825417d120a742776b"}], "multiple_choice": [], "init_height": 0.9409765601158142, "related_origin_img": "7e03525f3c01d0a6df96913c1f09194d.jpg", "origin_img": "2e3894c5085fb07adf3aa75eb2f6ef2f.jpg"}'}
[D 160418 15:31:06 run:352] get global lock
[I 160418 15:31:06 connectionpool:203] Starting new HTTP connection (1): stage.kuailexue.com
[D 160418 15:31:06 connectionpool:383] "POST /math/scan/save_data HTTP/1.1" 200 None
[I 160418 15:31:06 run:360] send response for student number 15298, response is {"status": 1, "message": "", "data": {}}
[D 160418 15:31:06 run:376] release global lock
[I 160418 15:31:07 run:950] time counters {'meta_end': 1460964661.718538, 'begin': 1460964660.276989, 'recog_end': 1460964665.664344, 'meta_begin': 1460964661.630258, 'recog_begin': 1460964661.718563, 'submit_end': 1460964666.799188, 'qr_end': 1460964661.630249, 'submit_begin': 1460964665.664474, 'qr_begin': 1460964660.494196}
[D 160418 15:31:07 client:308] Sending ACK frame [headers={u'message-id': u'ID:localhost-60221-1459218998864-2:4:-1:1:589'}, version=1.0]
[D 160418 15:31:06 connectionpool:383] "POST /math/scan/save_data HTTP/1.1" 200 None
[I 160418 15:31:06 run:360] send response for student number 15298, response is {"status": 1, "message": "", "data": {}}
[D 160418 15:31:06 run:376] release global lock
cat 1.log |grep "source_img" |sed 's/.*"source_img": "\([0-9a-z]*\.jpg\).*/\1/' |while read line;do a=`echo $line | sed 's/\(..\).*/\1/'`;b=`echo $line |sed 's/..\(..\).*/\1/'`;echo "/var/img/data/$a/$b/";done |while read line ;do cp $line ./;done
cp: omitting directory `/var/img/data/cd/a3/'
2.Qps
208.115.111.72 - - [18/Apr/2016:15:43:04 +0800] "GET /robots.txt HTTP/1.1" 200 582 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
27.159.194.233 - - [18/Apr/2016:15:43:17 +0800] "GET / HTTP/1.1" 502 166 "-" "Mozilla/5.0 (Windows NT 6.1; rv:26.0) Gecko/20100101 Firefox/26.0" "-"
208.115.113.88 - - [18/Apr/2016:15:44:56 +0800] "GET /forum.php?mod=viewthread&tid=151952&fromuid=4503 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
217.67.178.73 - - [18/Apr/2016:15:45:14 +0800] "GET /forum.php?mod=viewthread&tid=71540 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
178.64.154.244 - - [18/Apr/2016:15:45:16 +0800] "GET /forum.php?mod=viewthread&tid=71540 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
178.68.188.97 - - [18/Apr/2016:15:45:17 +0800] "GET /forum.php?mod=viewthread&tid=76755 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
113.186.70.251 - - [18/Apr/2016:15:45:19 +0800] "GET /forum.php?mod=viewthread&tid=71540 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
171.233.230.224 - - [18/Apr/2016:15:45:23 +0800] "GET /forum.php?mod=viewthread&tid=76755 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
51.255.65.38 - - [18/Apr/2016:15:45:49 +0800] "GET /forum.php?mod=viewthread&tid=386007&pid=1726469&page=1&extra=page=1 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; AhrefsBot/5.1; +http://ahrefs.com/robot/)" "-"
208.115.113.88 - - [18/Apr/2016:15:46:57 +0800] "GET /forum.php?mod=viewthread&tid=321056&pid=1091827&page=1&extra=page=1 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
46.161.9.16 - - [18/Apr/2016:15:49:45 +0800] "GET /forum.php?mod=viewthread&tid=137897 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
208.115.113.88 - - [18/Apr/2016:15:51:15 +0800] "GET /forum.php?mod=viewthread&tid=342225&pid=1228660&page=1&extra=page=1 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
203.208.60.204 - - [18/Apr/2016:15:52:19 +0800] "GET /forum.php?mod=viewthread&tid=342131&fromuid=8176 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "-"
68.180.230.48 - - [18/Apr/2016:15:54:38 +0800] "GET /forum.php?mod=viewthread&tid=152002 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)" "-"
208.115.113.88 - - [18/Apr/2016:15:55:47 +0800] "GET /forum.php?mod=viewthread&tid=165752&extra= HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
208.115.111.72 - - [18/Apr/2016:15:43:04 +0800] "GET /robots.txt HTTP/1.1" 200 582 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
208.115.113.88 - - [18/Apr/2016:15:44:56 +0800] "GET /forum.php?mod=viewthread&tid=151952&fromuid=4503 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
217.67.178.73 - - [18/Apr/2016:15:45:14 +0800] "GET /forum.php?mod=viewthread&tid=71540 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
37.45.10.91 - - [18/Apr/2016:15:45:15 +0800] "GET /forum.php?mod=viewthread&tid=76755 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
178.64.154.244 - - [18/Apr/2016:15:45:16 +0800] "GET /forum.php?mod=viewthread&tid=71540 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
178.68.188.97 - - [18/Apr/2016:15:45:17 +0800] "GET /forum.php?mod=viewthread&tid=76755 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
113.186.70.251 - - [18/Apr/2016:15:45:19 +0800] "GET /forum.php?mod=viewthread&tid=71540 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
171.233.230.224 - - [18/Apr/2016:15:45:23 +0800] "GET /forum.php?mod=viewthread&tid=76755 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
51.255.65.38 - - [18/Apr/2016:15:45:49 +0800] "GET /forum.php?mod=viewthread&tid=386007&pid=1726469&page=1&extra=page=1 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; AhrefsBot/5.1; +http://ahrefs.com/robot/)" "-"
208.115.113.88 - - [18/Apr/2016:15:46:57 +0800] "GET /forum.php?mod=viewthread&tid=321056&pid=1091827&page=1&extra=page=1 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
208.115.113.88 - - [18/Apr/2016:15:51:15 +0800] "GET /forum.php?mod=viewthread&tid=342225&pid=1228660&page=1&extra=page=1 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
203.208.60.204 - - [18/Apr/2016:15:52:19 +0800] "GET /forum.php?mod=viewthread&tid=342131&fromuid=8176 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "-"
68.180.230.48 - - [18/Apr/2016:15:54:38 +0800] "GET /forum.php?mod=viewthread&tid=152002 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)" "-"
77.247.181.165 - - [18/Apr/2016:15:43:02 +0800] "GET / HTTP/1.0" 502 568 "http://bbs.kuailexue.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36" "-"
208.115.111.72 - - [18/Apr/2016:15:43:04 +0800] "GET /robots.txt HTTP/1.1" 200 582 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
27.159.194.233 - - [18/Apr/2016:15:43:17 +0800] "GET / HTTP/1.1" 502 166 "-" "Mozilla/5.0 (Windows NT 6.1; rv:26.0) Gecko/20100101 Firefox/26.0" "-"
208.115.113.88 - - [18/Apr/2016:15:44:56 +0800] "GET /forum.php?mod=viewthread&tid=151952&fromuid=4503 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
37.45.10.91 - - [18/Apr/2016:15:45:15 +0800] "GET /forum.php?mod=viewthread&tid=76755 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
178.64.154.244 - - [18/Apr/2016:15:45:16 +0800] "GET /forum.php?mod=viewthread&tid=71540 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
178.68.188.97 - - [18/Apr/2016:15:45:17 +0800] "GET /forum.php?mod=viewthread&tid=76755 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
113.186.70.251 - - [18/Apr/2016:15:45:19 +0800] "GET /forum.php?mod=viewthread&tid=71540 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
171.233.230.224 - - [18/Apr/2016:15:45:23 +0800] "GET /forum.php?mod=viewthread&tid=76755 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
51.255.65.38 - - [18/Apr/2016:15:45:49 +0800] "GET /forum.php?mod=viewthread&tid=386007&pid=1726469&page=1&extra=page=1 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; AhrefsBot/5.1; +http://ahrefs.com/robot/)" "-"
208.115.113.88 - - [18/Apr/2016:15:46:57 +0800] "GET /forum.php?mod=viewthread&tid=321056&pid=1091827&page=1&extra=page=1 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
46.161.9.16 - - [18/Apr/2016:15:49:45 +0800] "GET /forum.php?mod=viewthread&tid=137897 HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "-"
208.115.113.88 - - [18/Apr/2016:15:51:15 +0800] "GET /forum.php?mod=viewthread&tid=342225&pid=1228660&page=1&extra=page=1 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
203.208.60.204 - - [18/Apr/2016:15:52:19 +0800] "GET /forum.php?mod=viewthread&tid=342131&fromuid=8176 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "-"
68.180.230.48 - - [18/Apr/2016:15:54:38 +0800] "GET /forum.php?mod=viewthread&tid=152002 HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)" "-"
208.115.113.88 - - [18/Apr/2016:15:55:47 +0800] "GET /forum.php?mod=viewthread&tid=165752&extra= HTTP/1.1" 502 166 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)" "-"
[root@api backup]# cat qps.log |awk -F" " '{print $4}' | awk -F"[" '{print $2}' |sort |uniq -c
1
1 18/Apr/2016:15:43:02
3 18/Apr/2016:15:43:04
2 18/Apr/2016:15:43:17
3 18/Apr/2016:15:44:56
2 18/Apr/2016:15:45:14
2 18/Apr/2016:15:45:15
3 18/Apr/2016:15:45:16
3 18/Apr/2016:15:45:17
3 18/Apr/2016:15:45:19
3 18/Apr/2016:15:45:23
3 18/Apr/2016:15:45:49
3 18/Apr/2016:15:46:57
2 18/Apr/2016:15:49:45
3 18/Apr/2016:15:51:15
3 18/Apr/2016:15:52:19
3 18/Apr/2016:15:54:38
2 18/Apr/2016:15:55:47
[root@api backup]#
[root@api backup]#
[root@api backup]#
[root@api backup]#
[root@api backup]# cat qps.log |awk -F" " '{print $4}' | awk -F"[" '{print $2}' |sort |uniq -c |sort -nr
3 18/Apr/2016:15:54:38
3 18/Apr/2016:15:52:19
3 18/Apr/2016:15:51:15
3 18/Apr/2016:15:46:57
3 18/Apr/2016:15:45:49
3 18/Apr/2016:15:45:23
3 18/Apr/2016:15:45:19
3 18/Apr/2016:15:45:17
3 18/Apr/2016:15:45:16
3 18/Apr/2016:15:44:56
3 18/Apr/2016:15:43:04
2 18/Apr/2016:15:55:47
2 18/Apr/2016:15:49:45
2 18/Apr/2016:15:45:15
2 18/Apr/2016:15:45:14
2 18/Apr/2016:15:43:17
1 18/Apr/2016:15:43:02
1
[root@api backup]#
平均QPS
[root@api backup]#
[root@api backup]#
[root@api backup]# cat qps.log |awk -F" " '{print $4}' | awk -F"[" '{print $2}' |sort |uniq -c | awk '{print $1}' |awk 'BEGIN{sum=0;num=0}{sum=sum+$1;num=num+1}END{print sum/num}'
2.5
[root@api backup]#
[root@api backup]#
[root@api backup]#
[root@api backup]#
TP99
假设第一行是时间,则降序后放入文本,cat |wc -l 计算行数,vim后set nu,用计算器算出99%的值,在vim中找到99%的位置即是TP99
3.截取日期
方法一:直接grep日期
方法二:
cat 111.log|sed -n '//,//p'
cat msg_process.p1.log | sed -n '/160418 15:31:05/,/160418 15:31:07/p'
记忆:np
4.两个日志求交集去重
[root@api backup]#
[root@api backup]# cat a
123
1223
jkdhasjdha
daskjdhkajs
dashkjdhask
dasjkdhaks
[root@api backup]#
[root@api backup]# cat b
123
1223
dl;kasl;dkasl
djklasjdkajkdhasjdha
daskjdhkajs
dashkjdhask
dasjkdhaks
[root@api backup]#
[root@api backup]#
[root@api backup]# cat a b |sort |uniq -d
1223
123
dashkjdhask
dasjkdhaks
daskjdhkajs
[root@api backup]#
[root@api backup]#
//
只要用到uniq ,一定要先sort,否则不起作用
去重了就是交集了,不去重就是并集
5.只拷贝目录结构不拷贝文件
[root@api data]# find resource -type d
resource
resource/upload
resource/upload/intercept-master
resource/upload/intercept-master/src
resource/upload/intercept-master/src/interception
resource/upload/intercept-master/src/core
resource/upload/intercept-master/src/event
resource/upload/intercept-master/src/communication
resource/upload/intercept-master/src/util
resource/upload/intercept-master/objs
resource/upload/intercept-master/objs/src
resource/upload/intercept-master/objs/src/interception
resource/upload/intercept-master/objs/src/core
resource/upload/intercept-master/objs/src/digest
resource/upload/intercept-master/objs/src/event
resource/upload/intercept-master/objs/src/communication
resource/upload/intercept-master/objs/src/util
resource/upload/intercept-master/auto
resource/upload/intercept-master/auto/cc
resource/upload/intercept-master/auto/os
resource/upload/intercept-master/auto/types
resource/upload/tcpcopy-master
resource/upload/tcpcopy-master/src
resource/upload/tcpcopy-master/src/tcpcopy
resource/upload/tcpcopy-master/src/core
resource/upload/tcpcopy-master/src/digest
resource/upload/tcpcopy-master/src/event
resource/upload/tcpcopy-master/src/communication
resource/upload/tcpcopy-master/src/util
resource/upload/tcpcopy-master/conf
resource/upload/tcpcopy-master/objs
resource/upload/tcpcopy-master/objs/src
resource/upload/tcpcopy-master/objs/src/tcpcopy
resource/upload/tcpcopy-master/objs/src/core
resource/upload/tcpcopy-master/objs/src/digest
resource/upload/tcpcopy-master/objs/src/event
resource/upload/tcpcopy-master/objs/src/communication
resource/upload/tcpcopy-master/objs/src/util
resource/upload/tcpcopy-master/auto
resource/upload/tcpcopy-master/auto/cc
resource/upload/tcpcopy-master/auto/os
resource/upload/tcpcopy-master/auto/types
resource/moco
resource/backups
resource/myvir
resource/myvir/include
resource/myvir/bin
resource/myvir/lib
resource/myvir/lib/python2.6
resource/myvir/lib/python2.6/site-packages
resource/myvir/lib/python2.6/site-packages/pip-8.1.2.dist-info
resource/myvir/lib/python2.6/site-packages/argparse-1.4.0.dist-info
resource/myvir/lib/python2.6/site-packages/wheel
resource/myvir/lib/python2.6/site-packages/wheel/tool
resource/myvir/lib/python2.6/site-packages/wheel/test
resource/myvir/lib/python2.6/site-packages/wheel/test/complex-dist
resource/myvir/lib/python2.6/site-packages/wheel/test/complex-dist/complexdist
resource/myvir/lib/python2.6/site-packages/wheel/test/simple.dist
resource/myvir/lib/python2.6/site-packages/wheel/test/simple.dist/simpledist
resource/myvir/lib/python2.6/site-packages/wheel/test/extension.dist
resource/myvir/lib/python2.6/site-packages/wheel/test/headers.dist
resource/myvir/lib/python2.6/site-packages/wheel/signatures
resource/myvir/lib/python2.6/site-packages/pip
resource/myvir/lib/python2.6/site-packages/pip/req
resource/myvir/lib/python2.6/site-packages/pip/compat
resource/myvir/lib/python2.6/site-packages/pip/commands
resource/myvir/lib/python2.6/site-packages/pip/models
resource/myvir/lib/python2.6/site-packages/pip/operations
resource/myvir/lib/python2.6/site-packages/pip/vcs
resource/myvir/lib/python2.6/site-packages/pip/utils
resource/myvir/lib/python2.6/site-packages/pip/_vendor
resource/myvir/lib/python2.6/site-packages/pip/_vendor/packaging
resource/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib
resource/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib/serializer
resource/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib/filters
resource/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib/treebuilders
resource/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib/treewalkers
resource/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib/trie
resource/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib/treeadapters
resource/myvir/lib/python2.6/site-packages/pip/_vendor/progress
resource/myvir/lib/python2.6/site-packages/pip/_vendor/lockfile
resource/myvir/lib/python2.6/site-packages/pip/_vendor/requests
resource/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages
resource/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3
resource/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/contrib
resource/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/packages
resource/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname
resource/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util
resource/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages/chardet
resource/myvir/lib/python2.6/site-packages/pip/_vendor/cachecontrol
resource/myvir/lib/python2.6/site-packages/pip/_vendor/cachecontrol/caches
resource/myvir/lib/python2.6/site-packages/pip/_vendor/pkg_resources
resource/myvir/lib/python2.6/site-packages/pip/_vendor/colorama
resource/myvir/lib/python2.6/site-packages/pip/_vendor/distlib
resource/myvir/lib/python2.6/site-packages/pip/_vendor/distlib/_backport
resource/myvir/lib/python2.6/site-packages/setuptools
resource/myvir/lib/python2.6/site-packages/setuptools/command
resource/myvir/lib/python2.6/site-packages/setuptools/extern
resource/myvir/lib/python2.6/site-packages/pkg_resources
resource/myvir/lib/python2.6/site-packages/pkg_resources/extern
resource/myvir/lib/python2.6/site-packages/pkg_resources/_vendor
resource/myvir/lib/python2.6/site-packages/pkg_resources/_vendor/packaging
resource/myvir/lib/python2.6/site-packages/wheel-0.30.0a0.dist-info
resource/myvir/lib/python2.6/site-packages/setuptools-28.6.1.dist-info
resource/myvir/lib/python2.6/distutils
[root@api data]#
[root@api data]#
[root@api data]#
[root@api data]# find resource -type d |sed 's/resource/mkdir -p test/'
mkdir -p test
mkdir -p test/upload
mkdir -p test/upload/intercept-master
mkdir -p test/upload/intercept-master/src
mkdir -p test/upload/intercept-master/src/interception
mkdir -p test/upload/intercept-master/src/core
mkdir -p test/upload/intercept-master/src/event
mkdir -p test/upload/intercept-master/src/communication
mkdir -p test/upload/intercept-master/src/util
mkdir -p test/upload/intercept-master/objs
mkdir -p test/upload/intercept-master/objs/src
mkdir -p test/upload/intercept-master/objs/src/interception
mkdir -p test/upload/intercept-master/objs/src/core
mkdir -p test/upload/intercept-master/objs/src/digest
mkdir -p test/upload/intercept-master/objs/src/event
mkdir -p test/upload/intercept-master/objs/src/communication
mkdir -p test/upload/intercept-master/objs/src/util
mkdir -p test/upload/intercept-master/auto
mkdir -p test/upload/intercept-master/auto/cc
mkdir -p test/upload/intercept-master/auto/os
mkdir -p test/upload/intercept-master/auto/types
mkdir -p test/upload/tcpcopy-master
mkdir -p test/upload/tcpcopy-master/src
mkdir -p test/upload/tcpcopy-master/src/tcpcopy
mkdir -p test/upload/tcpcopy-master/src/core
mkdir -p test/upload/tcpcopy-master/src/digest
mkdir -p test/upload/tcpcopy-master/src/event
mkdir -p test/upload/tcpcopy-master/src/communication
mkdir -p test/upload/tcpcopy-master/src/util
mkdir -p test/upload/tcpcopy-master/conf
mkdir -p test/upload/tcpcopy-master/objs
mkdir -p test/upload/tcpcopy-master/objs/src
mkdir -p test/upload/tcpcopy-master/objs/src/tcpcopy
mkdir -p test/upload/tcpcopy-master/objs/src/core
mkdir -p test/upload/tcpcopy-master/objs/src/digest
mkdir -p test/upload/tcpcopy-master/objs/src/event
mkdir -p test/upload/tcpcopy-master/objs/src/communication
mkdir -p test/upload/tcpcopy-master/objs/src/util
mkdir -p test/upload/tcpcopy-master/auto
mkdir -p test/upload/tcpcopy-master/auto/cc
mkdir -p test/upload/tcpcopy-master/auto/os
mkdir -p test/upload/tcpcopy-master/auto/types
mkdir -p test/moco
mkdir -p test/backups
mkdir -p test/myvir
mkdir -p test/myvir/include
mkdir -p test/myvir/bin
mkdir -p test/myvir/lib
mkdir -p test/myvir/lib/python2.6
mkdir -p test/myvir/lib/python2.6/site-packages
mkdir -p test/myvir/lib/python2.6/site-packages/pip-8.1.2.dist-info
mkdir -p test/myvir/lib/python2.6/site-packages/argparse-1.4.0.dist-info
mkdir -p test/myvir/lib/python2.6/site-packages/wheel
mkdir -p test/myvir/lib/python2.6/site-packages/wheel/tool
mkdir -p test/myvir/lib/python2.6/site-packages/wheel/test
mkdir -p test/myvir/lib/python2.6/site-packages/wheel/test/complex-dist
mkdir -p test/myvir/lib/python2.6/site-packages/wheel/test/complex-dist/complexdist
mkdir -p test/myvir/lib/python2.6/site-packages/wheel/test/simple.dist
mkdir -p test/myvir/lib/python2.6/site-packages/wheel/test/simple.dist/simpledist
mkdir -p test/myvir/lib/python2.6/site-packages/wheel/test/extension.dist
mkdir -p test/myvir/lib/python2.6/site-packages/wheel/test/headers.dist
mkdir -p test/myvir/lib/python2.6/site-packages/wheel/signatures
mkdir -p test/myvir/lib/python2.6/site-packages/pip
mkdir -p test/myvir/lib/python2.6/site-packages/pip/req
mkdir -p test/myvir/lib/python2.6/site-packages/pip/compat
mkdir -p test/myvir/lib/python2.6/site-packages/pip/commands
mkdir -p test/myvir/lib/python2.6/site-packages/pip/models
mkdir -p test/myvir/lib/python2.6/site-packages/pip/operations
mkdir -p test/myvir/lib/python2.6/site-packages/pip/vcs
mkdir -p test/myvir/lib/python2.6/site-packages/pip/utils
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/packaging
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib/serializer
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib/filters
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib/treebuilders
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib/treewalkers
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib/trie
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/html5lib/treeadapters
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/progress
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/lockfile
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/requests
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/contrib
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/packages
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/requests/packages/chardet
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/cachecontrol
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/cachecontrol/caches
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/pkg_resources
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/colorama
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/distlib
mkdir -p test/myvir/lib/python2.6/site-packages/pip/_vendor/distlib/_backport
mkdir -p test/myvir/lib/python2.6/site-packages/setuptools
mkdir -p test/myvir/lib/python2.6/site-packages/setuptools/command
mkdir -p test/myvir/lib/python2.6/site-packages/setuptools/extern
mkdir -p test/myvir/lib/python2.6/site-packages/pkg_resources
mkdir -p test/myvir/lib/python2.6/site-packages/pkg_resources/extern
mkdir -p test/myvir/lib/python2.6/site-packages/pkg_resources/_vendor
mkdir -p test/myvir/lib/python2.6/site-packages/pkg_resources/_vendor/packaging
mkdir -p test/myvir/lib/python2.6/site-packages/wheel-0.30.0a0.dist-info
mkdir -p test/myvir/lib/python2.6/site-packages/setuptools-28.6.1.dist-info
mkdir -p test/myvir/lib/python2.6/distutils
[root@api data]#
[root@api data]#
[root@api data]#
[root@api data]#
find resource -type d |sed 's/resource/mkdir -p test/' |sh
6.SHELL中如何修改配置文件,要求一句话搞定,不生成临时文件
[root@api data]# cat fuck
fuck
[root@api data]#
[root@api data]#
[root@api data]#
[root@api data]# sed -i 's/fuck/fuckme/' fuck
[root@api data]#
[root@api data]# cat fuck
fuckme
[root@api data]#
[root@api data]#
[root@api data]#
[root@api data]#
//
没有i则不起作用
7.shell将逗号分隔的devid去掉逗号变成列显示
68203578fe587c76ef5ae575830bab0eac5c885e,d8c5d2283e6ed05cf9d7aa2e61a3103449467059,06bc2c50fcee01a0006f4db4ce94feb7292e3f48,865982021448736,869231026429093,212aef25d7dee8c059508e0fbf59c380e5cd4586,783373a9b0600df378eb9293b98b8c76a3fb87ec,c084cb7c2727f053f800c0f7e6da8a2aff78be8b,7b700ec136209c627faae328a3ab8e6f5001734f,b4473a32d7649b91afc49aa7ebe057b42af34637,f2952fe62c1+C2:C44d749da8d4da7836f684aabc605842,41040f4caf045f2a7c1af8f7a7633c793b3ba3fb,e0eb34ad8bdb78de95ebe0c493dd1da004a9f077,dac46d989bc7c67d9ac892326f8c09abc52d8c22,ca1891a443c28dfcb99caf23fc88b031ff7f8bfe,43f66078c441a547221a1a41b09609869643e710,f2801d7b0e721d98bc77fb059d38fca32591e288,867068024321001,c9030ec4cd1669d0a9d92e35417740374e6150c8,924e7e70a3ab1c749a2fcad8481055bf21ffed19,99000619568888,864260023486025,e005855b978103f3ae9e2d9b49b52f39c5c49f69,a15a5c8e453d2aff23ee73d3627e3691894fc1e8,191078825042ab5a9ad1e6d91810f42d8304e61f,de55ad7772125fa4e4f9fd7460265df5012172df,867376021056052,867664028688476,868773026367063,352203060364845,867376024071116,58fa3dad315e2d193fd662ffdfc260748750d3a8,3eb170433ca9e5506d3645e91ef073a9c6f840b0,2a2ec8cc8b272987cae1f6f568c7a426ee05e263,867389020109582,d266500a8673ccb241f67a928e40370a2c36eb0b,0461ba7b9a4d48381be79c9f6f13ffcb893ca6bb,153014d85bfbc93e2c40809079115f7d8e41f97c,864593020026885,0dff9ccde314b1c3f92c80afc001ed1bfa95931d,867628025625682,867628023960362,da920c5038b77,89546d2f77703e142de9de4e56,2933d5fcea03aaa3d1ccfd0399b8a01a818c43db,82645a10739597ab53c5d3bca3ba46b20e664b4d,e108a2ef2fed43a4f2175b9084b58801b24cf784,ceb8e55794b92514876162c2bc689abae7306e15,81c53d7f1d38efef0919a11498566d38009131e8,04d053e6cc7a138b4be10a08babbfffcf9d3a3ab,5aba34e223b39eebef3b131cc1ed49b610ebe078,1ce392657a07b26088a15e81a676fef708c43845,8fb966dc99797a8cea5150bd4534d92ba3035e77,ad8fa99a37704c4757ca6c0c421726023c102435,867831022590434,865855026196940,865931028701712,6e479c2cd95be8bdef160bdc4fc1a833cf009d98,358689051255683,865166020719889,35327807326668,d8cc6619fbe524818669821284d2e9baff42b159,d268e92d7a9dd1010d5e6964f1aa86a2355b2844,d70319ef0868190e85744d31fdc79d4a0e276ee1,29c6a3b42b535d478044bda808dd7c9ea2899af8,0b66d204bdbcde209f62ec153bd503394d92731b,b89279734e8d27f58fafe317c4a5a9d0f4cdae21,8c08379cb7b6c1bfbf52c6e4966a6bdf05a73e77,33424720b8d263c754836db5f65105ae82b030a5,9808523b314bf482c6bd50fea9e6ad6c0f24d209,08839856929a2a7e3fced66f6b4bb436bc41a6cf,8a06b2b9f15030bcbd5f534f87a1682e156d17ab,d6b29c7b71ef7a9e58a05bc67d861f7601427ae5,865982020690189,ceb03d50f971a343258077aedcbd2116c4b924da,2dfe74869d31e466ace46c25034c76484b661d7d,226994a56dbbf2166c32008971e1339a65fca646,864690024824842,53c9ea694bcc9e9a3df22e0a2a5fe2012a9d39a0,bc95c386f4dbf2dd74aa00c22f451b27a17e6e91,2287382da5f55943fb76d489f6770e6d5c50c656,0d1fa9cc0f739917b947a1100a328e0d3173ff75,35c75e099172bdf3d8bfd08d51164db42b5bcab8,9e212ef8921d70a9956a63f0226fe1260939df59,9ac5c1124d9d00bea30211667f6ab9630ef13d3e,9a6f9d738b2f23dba7ad726e70133b4807b84c8a,78fab1a0a18e69ac73a382e2eedf30f3ab1b8e67,a7371d57b240c65afca2f1c35d762281082ca8c1,c4900d232e2e22d156d59df8cd6ab36f46a70ec5,358239051824656,865291024803917,1db9eae35376d912f7b9009da361834216fd7541,0fd6fc40d92b222c041a831f4a3714cee3e3e8b0,5bf6dfd15fe46e09403454eac823619d5d776744,A0000055D99BE2,4d0ab50e49c951ddb02211407edb3ffce43a9357,387a6e1c537d59a126fde2080c1fe10e713682d9,1b521508644c9f42214bf393e83fbff30ae69c78,4c01b5bff6ec96035ba688c2c0c0345816ced0ec,f2952fe62c1d749da8d4da7836f684aabc605842,869611020166272,da920c5038b77b89546d2f77703e142de9de4e56,CCQPW887GGNJ,35823905182465,6bb1703de66984cf65d3559181fad17a2f3c7319,04b651acd913de46c6df052724eab39307eee4cb,865982022790714,79f318beb3e2e9138506999efb510ff7ef1025cd,eef557c0379121c91540e2ada0ea7ef620f33a38,4a1a29f6c0f78274b4727f8f0ad2f1b619ebab5f,865982021520278,0e56d657fe703f14f697f8b0519389daf7f96d71,a329c3538e5ba674ce9a9d308ccff39c06d,869231024307838,cf46f8b5_5e8f_4a58_862e_0694d5dd6405,869436020470205,aef53cf0f2465d026ca7e2ae5e7f2f13d2b313a1,44620737861dab49151d070727ff01ccaa00293d,ddc0c7b5eb2e4e8f4a1837322648bd5643ebbbfc,b658fd118b538d6bee8f55576cb0cc7347a26894,a20ee9704f3048e1718e659b27a4f0f0be3c1f30,d22aaad375835347d0c4fdfd0c8b29c56dfa5cf2,355324061061110,e6721d5b52a4fce076302cab4d18613c386e86ab,99000710348272,864182020254265,356156077248482,861379030843482,4d7c98309e8487afba6706d7d3ca48bdc5a02b17,b9b2de7e2f99ac7b0ec82c108e2e5ab7f7efe373,653ac0174bb887a5f4d765e640a27c278bb98cac,64a4b87a0f561d1e992dca9d8ed02a67e0261cf9,b9b2de7e2f99ac7b0ec82c108e2e5ab7f7efe373,e6721d5b52a4fce076302cab4d18613c386e86ab,f3f6b570c42ef187a058c70ad64fa329d3e98f69,defe0d732ec3e461fa7a254fc2b5c1e23a9148701d3200017c53031d5f31538251227dc,ededba01_c68c_4ff6_a6ae_885388034acb,39793226_4c83_4130_a66a_e55827b585dc,862679034147411,172d066e4861341b0c0ff85c20da1c3ec025d77b,5f94ed44ffce62466917624a21d152f1b0437a8b,5cbfbe4a1606a4fc64017cb39308af2a1bb7dd64,f4c9601d8f04fc0186bd28d06ae08ba340e98373,523682ecb6b3ae106a37fd2e389f64729fa538ce,cdda4139dd55348011755d287c50edfff2e45ea1,65d731507f4d8968f517ff89dd1dcdbee9880ae6,132102c5a046bfd1b415f3798e8e48ce2f19fcc9,867993023813734,1c5c7ad1641b71016c30123ce68fc08a16ed98a0,867993023813734,e2c0af6f5f85a283c388eb6c10250c0b96bfae70,28eac3bfcbc4dfbc6a776f79be4ffe06c5895034,f4c9601d8f04fc0186bd28d06ae08ba340e98373,867451025220242,33d5229db9a1fc9e21febf1924689a4498219378,869511022223172,899925d2a7d722508336f9f656f9910eeae165e2,e0eb34ad8bdb78de95ebe0c493dd1da004a9f077,bc4572efb3ded31ba03ea204ecd3e186e660e1dd,867993024656264,862005033614203,bddb5c469023311d3dd722767888de0a5be7f260,33d5229db9a1fc9e21febf1924689a4498219378,98673496f169912e2e553d46e71c0602b7001c44
[root@api data]#
[root@api data]# cat dv |sed 's/,/\n/'
68203578fe587c76ef5ae575830bab0eac5c885e
d8c5d2283e6ed05cf9d7aa2e61a3103449467059,06bc2c50fcee01a0006f4db4ce94feb7292e3f48,865982021448736,869231026429093,212aef25d7dee8c059508e0fbf59c380e5cd4586,783373a9b0600df378eb9293b98b8c76a3fb87ec,c084cb7c2727f053f800c0f7e6da8a2aff78be8b,7b700ec136209c627faae328a3ab8e6f5001734f,b4473a32d7649b91afc49aa7ebe057b42af34637,f2952fe62c1+C2:C44d749da8d4da7836f684aabc605842,41040f4caf045f2a7c1af8f7a7633c793b3ba3fb,e0eb34ad8bdb78de95ebe0c493dd1da004a9f077,dac46d989bc7c67d9ac892326f8c09abc52d8c22,ca1891a443c28dfcb99caf23fc88b031ff7f8bfe,43f66078c441a547221a1a41b09609869643e710,f2801d7b0e721d98bc77fb059d38fca32591e288,867068024321001,c9030ec4cd1669d0a9d92e35417740374e6150c8,924e7e70a3ab1c749a2fcad8481055bf21ffed19,99000619568888,864260023486025,e005855b978103f3ae9e2d9b49b52f39c5c49f69,a15a5c8e453d2aff23ee73d3627e3691894fc1e8,191078825042ab5a9ad1e6d91810f42d8304e61f,de55ad7772125fa4e4f9fd7460265df5012172df,867376021056052,867664028688476,868773026367063,352203060364845,867376024071116,58fa3dad315e2d193fd662ffdfc260748750d3a8,3eb170433ca9e5506d3645e91ef073a9c6f840b0,2a2ec8cc8b272987cae1f6f568c7a426ee05e263,867389020109582,d266500a8673ccb241f67a928e40370a2c36eb0b,0461ba7b9a4d48381be79c9f6f13ffcb893ca6bb,153014d85bfbc93e2c40809079115f7d8e41f97c,864593020026885,0dff9ccde314b1c3f92c80afc001ed1bfa95931d,867628025625682,867628023960362,da920c5038b77,89546d2f77703e142de9de4e56,2933d5fcea03aaa3d1ccfd0399b8a01a818c43db,82645a10739597ab53c5d3bca3ba46b20e664b4d,e108a2ef2fed43a4f2175b9084b58801b24cf784,ceb8e55794b92514876162c2bc689abae7306e15,81c53d7f1d38efef0919a11498566d38009131e8,04d053e6cc7a138b4be10a08babbfffcf9d3a3ab,5aba34e223b39eebef3b131cc1ed49b610ebe078,1ce392657a07b26088a15e81a676fef708c43845,8fb966dc99797a8cea5150bd4534d92ba3035e77,ad8fa99a37704c4757ca6c0c421726023c102435,867831022590434,865855026196940,865931028701712,6e479c2cd95be8bdef160bdc4fc1a833cf009d98,358689051255683,865166020719889,35327807326668,d8cc6619fbe524818669821284d2e9baff42b159,d268e92d7a9dd1010d5e6964f1aa86a2355b2844,d70319ef0868190e85744d31fdc79d4a0e276ee1,29c6a3b42b535d478044bda808dd7c9ea2899af8,0b66d204bdbcde209f62ec153bd503394d92731b,b89279734e8d27f58fafe317c4a5a9d0f4cdae21,8c08379cb7b6c1bfbf52c6e4966a6bdf05a73e77,33424720b8d263c754836db5f65105ae82b030a5,9808523b314bf482c6bd50fea9e6ad6c0f24d209,08839856929a2a7e3fced66f6b4bb436bc41a6cf,8a06b2b9f15030bcbd5f534f87a1682e156d17ab,d6b29c7b71ef7a9e58a05bc67d861f7601427ae5,865982020690189,ceb03d50f971a343258077aedcbd2116c4b924da,2dfe74869d31e466ace46c25034c76484b661d7d,226994a56dbbf2166c32008971e1339a65fca646,864690024824842,53c9ea694bcc9e9a3df22e0a2a5fe2012a9d39a0,bc95c386f4dbf2dd74aa00c22f451b27a17e6e91,2287382da5f55943fb76d489f6770e6d5c50c656,0d1fa9cc0f739917b947a1100a328e0d3173ff75,35c75e099172bdf3d8bfd08d51164db42b5bcab8,9e212ef8921d70a9956a63f0226fe1260939df59,9ac5c1124d9d00bea30211667f6ab9630ef13d3e,9a6f9d738b2f23dba7ad726e70133b4807b84c8a,78fab1a0a18e69ac73a382e2eedf30f3ab1b8e67,a7371d57b240c65afca2f1c35d762281082ca8c1,c4900d232e2e22d156d59df8cd6ab36f46a70ec5,358239051824656,865291024803917,1db9eae35376d912f7b9009da361834216fd7541,0fd6fc40d92b222c041a831f4a3714cee3e3e8b0,5bf6dfd15fe46e09403454eac823619d5d776744,A0000055D99BE2,4d0ab50e49c951ddb02211407edb3ffce43a9357,387a6e1c537d59a126fde2080c1fe10e713682d9,1b521508644c9f42214bf393e83fbff30ae69c78,4c01b5bff6ec96035ba688c2c0c0345816ced0ec,f2952fe62c1d749da8d4da7836f684aabc605842,869611020166272,da920c5038b77b89546d2f77703e142de9de4e56,CCQPW887GGNJ,35823905182465,6bb1703de66984cf65d3559181fad17a2f3c7319,04b651acd913de46c6df052724eab39307eee4cb,865982022790714,79f318beb3e2e9138506999efb510ff7ef1025cd,eef557c0379121c91540e2ada0ea7ef620f33a38,4a1a29f6c0f78274b4727f8f0ad2f1b619ebab5f,865982021520278,0e56d657fe703f14f697f8b0519389daf7f96d71,a329c3538e5ba674ce9a9d308ccff39c06d,869231024307838,cf46f8b5_5e8f_4a58_862e_0694d5dd6405,869436020470205,aef53cf0f2465d026ca7e2ae5e7f2f13d2b313a1,44620737861dab49151d070727ff01ccaa00293d,ddc0c7b5eb2e4e8f4a1837322648bd5643ebbbfc,b658fd118b538d6bee8f55576cb0cc7347a26894,a20ee9704f3048e1718e659b27a4f0f0be3c1f30,d22aaad375835347d0c4fdfd0c8b29c56dfa5cf2,355324061061110,e6721d5b52a4fce076302cab4d18613c386e86ab,99000710348272,864182020254265,356156077248482,861379030843482,4d7c98309e8487afba6706d7d3ca48bdc5a02b17,b9b2de7e2f99ac7b0ec82c108e2e5ab7f7efe373,653ac0174bb887a5f4d765e640a27c278bb98cac,64a4b87a0f561d1e992dca9d8ed02a67e0261cf9,b9b2de7e2f99ac7b0ec82c108e2e5ab7f7efe373,e6721d5b52a4fce076302cab4d18613c386e86ab,f3f6b570c42ef187a058c70ad64fa329d3e98f69,defe0d732ec3e461fa7a254fc2b5c1e23a9148701d3200017c53031d5f31538251227dc,ededba01_c68c_4ff6_a6ae_885388034acb,39793226_4c83_4130_a66a_e55827b585dc,862679034147411,172d066e4861341b0c0ff85c20da1c3ec025d77b,5f94ed44ffce62466917624a21d152f1b0437a8b,5cbfbe4a1606a4fc64017cb39308af2a1bb7dd64,f4c9601d8f04fc0186bd28d06ae08ba340e98373,523682ecb6b3ae106a37fd2e389f64729fa538ce,cdda4139dd55348011755d287c50edfff2e45ea1,65d731507f4d8968f517ff89dd1dcdbee9880ae6,132102c5a046bfd1b415f3798e8e48ce2f19fcc9,867993023813734,1c5c7ad1641b71016c30123ce68fc08a16ed98a0,867993023813734,e2c0af6f5f85a283c388eb6c10250c0b96bfae70,28eac3bfcbc4dfbc6a776f79be4ffe06c5895034,f4c9601d8f04fc0186bd28d06ae08ba340e98373,867451025220242,33d5229db9a1fc9e21febf1924689a4498219378,869511022223172,899925d2a7d722508336f9f656f9910eeae165e2,e0eb34ad8bdb78de95ebe0c493dd1da004a9f077,bc4572efb3ded31ba03ea204ecd3e186e660e1dd,867993024656264,862005033614203,bddb5c469023311d3dd722767888de0a5be7f260,33d5229db9a1fc9e21febf1924689a4498219378,98673496f169912e2e553d46e71c0602b7001c44
[root@api data]#
非全局
[root@api data]#
[root@api data]# cat dv |sed 's/,/\n/g'
68203578fe587c76ef5ae575830bab0eac5c885e
d8c5d2283e6ed05cf9d7aa2e61a3103449467059
06bc2c50fcee01a0006f4db4ce94feb7292e3f48
865982021448736
869231026429093
212aef25d7dee8c059508e0fbf59c380e5cd4586
783373a9b0600df378eb9293b98b8c76a3fb87ec
c084cb7c2727f053f800c0f7e6da8a2aff78be8b
7b700ec136209c627faae328a3ab8e6f5001734f
b4473a32d7649b91afc49aa7ebe057b42af34637
f2952fe62c1+C2:C44d749da8d4da7836f684aabc605842
41040f4caf045f2a7c1af8f7a7633c793b3ba3fb
e0eb34ad8bdb78de95ebe0c493dd1da004a9f077
dac46d989bc7c67d9ac892326f8c09abc52d8c22
ca1891a443c28dfcb99caf23fc88b031ff7f8bfe
43f66078c441a547221a1a41b09609869643e710
f2801d7b0e721d98bc77fb059d38fca32591e288
867068024321001
c9030ec4cd1669d0a9d92e35417740374e6150c8
924e7e70a3ab1c749a2fcad8481055bf21ffed19
99000619568888
864260023486025
e005855b978103f3ae9e2d9b49b52f39c5c49f69
a15a5c8e453d2aff23ee73d3627e3691894fc1e8
191078825042ab5a9ad1e6d91810f42d8304e61f
de55ad7772125fa4e4f9fd7460265df5012172df
867376021056052
867664028688476
868773026367063
352203060364845
867376024071116
58fa3dad315e2d193fd662ffdfc260748750d3a8
3eb170433ca9e5506d3645e91ef073a9c6f840b0
2a2ec8cc8b272987cae1f6f568c7a426ee05e263
867389020109582
d266500a8673ccb241f67a928e40370a2c36eb0b
0461ba7b9a4d48381be79c9f6f13ffcb893ca6bb
153014d85bfbc93e2c40809079115f7d8e41f97c
864593020026885
0dff9ccde314b1c3f92c80afc001ed1bfa95931d
867628025625682
867628023960362
da920c5038b77
89546d2f77703e142de9de4e56
2933d5fcea03aaa3d1ccfd0399b8a01a818c43db
82645a10739597ab53c5d3bca3ba46b20e664b4d
e108a2ef2fed43a4f2175b9084b58801b24cf784
ceb8e55794b92514876162c2bc689abae7306e15
81c53d7f1d38efef0919a11498566d38009131e8