shell

shell

[root@test_android_client_download ~]# sed 'N;s#\n#=#g' text.sh
stu494=e222f
stu495=bedf3
stu496=92236
stu497=49b91
[root@test_android_client_download ~]# cat text.sh|xargs -n 2|sed 's# #=#g'
stu494=e222f
stu495=bedf3
stu496=92236
stu497=49b91
[root@test_android_client_download ~]# cat text.sh
stu494
e222f
stu495
bedf3
stu496
92236
stu497
49b91
[root@test_android_client_download ~]#

posted @ 2017-02-04 17:37  devops运维  阅读(211)  评论(0编辑  收藏  举报
python