linux paste用法

head file

只要第一列, 逗号分隔 写在一行; 用于sql in 操作

awk '{print $1}' qin | paste -d, -s > allsql

评论