environment-variable-mac.ini文件UNIVER_USER_LOGIN='http://127.0.0.1/api/login'UNIVER_SEARCH_ORDINARY='http://127.0.0.1/api/search/common'UNIVER_SEARCH_LABEL='http://127.0.0.1/api/search/common'UNIVER_SEARCH_VIDEO='http://127.0.0.1/api/search/common'UNIVER_TASK_MANAGER='http://127.0.0.1/api/task/manager'UNIVER_PROJECR_URL='67.110.220.11'UNIVER_PROJECR_PORT=777778888怎么才能实现?
1 回答
慕神8447489
TA贡献1780条经验 获得超1个赞
使用awk命令即可
awk -F '=' 'BEGIN {print "{"} {print "\t"$1":"$2","} END{print "}"}' environment-variable-mac.ini > environment-variable-mac.json
- 1 回答
- 0 关注
- 759 浏览
添加回答
举报
0/150
提交
取消