在linux中,把csv文件转换成excel表格(xlsx或者xls)
$ echo -e ‘surname,name,age\nCarlo,Smith,23\nJohn,Doe,46\nJane,Doe,69\nSarah,Meyer,23\n‘ > example.csv
$ unix2dos example.csv
$ ssconvert example.csv example.xlsx
$ ssconvert example.csv example.xls
原文地址:https://www.cnblogs.com/liuyihua1992/p/10989479.html
时间: 2024-10-30 06:54:55