【发布时间】:2015-06-10 16:44:26
【问题描述】:
如何使用awk 编写脚本,将这样的IPs 字符串转换为逗号分隔。我有大约 7 万个 IP。
Current format - '114.124.35.252' '114.79.61.186' '39.225.242.17' '202.62.16.29'
Desired format - '114.124.35.252','114.79.61.186','39.225.242.17','202.62.16.29'
【问题讨论】:
-
查看 [this][1] 帖子。听起来差不多。 [1]:stackoverflow.com/questions/6520816/…
标签: awk