[root@VM-52-133-centos opt]# cat idList.txt
102952000
102952199
102959860
102967560
102975106
102982724
102990453
102998202
103005971
[root@VM-52-133-centos opt]# cat idList.txt|awk '{if(NR==1){printf("%d",$0)}else{printf(",%d", $0)}}'
102952000,102952199,102959860,102967560,102975106,102982724,102990453,102998202,103005971

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2021-09-04
  • 2021-10-31
  • 2022-01-30
猜你喜欢
  • 2021-12-16
  • 2022-12-23
  • 2021-10-06
  • 2021-11-19
  • 2021-09-24
  • 2021-06-02
相关资源
相似解决方案