Bash: Append port to comma ip list

后端 未结 0 919
你的背包
你的背包 2020-12-20 17:13

Need to append ports to lists of ips via bash script.

Sample input:

ip="100.100.10.10,200.200.10.10,300.300.10.10"
port="123"


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题