天天看点

shell 将两行内容合并到同一行

xargs -n2 < filename

sed '{N;s/\n/,/}' filename

转载于:https://blog.51cto.com/lynnteng0/800753

继续阅读