add new chinese translations
This commit is contained in:
25
pages.zh/common/csvformat.md
Normal file
25
pages.zh/common/csvformat.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# csvformat
|
||||
|
||||
> 将 CSV 文件转换为自定义输出格式。
|
||||
> 包含在 csvkit 中。
|
||||
> 更多信息:<https://csvkit.readthedocs.io/en/latest/scripts/csvformat.html>。
|
||||
|
||||
- 转换为制表符分隔文件 (TSV):
|
||||
|
||||
`csvformat -T {{data.csv}}`
|
||||
|
||||
- 将分隔符转换为自定义字符:
|
||||
|
||||
`csvformat -D "{{custom_character}}" {{data.csv}}`
|
||||
|
||||
- 将行结束符转换为回车 (^M) + 换行:
|
||||
|
||||
`csvformat -M "{{\r\n}}" {{data.csv}}`
|
||||
|
||||
- 最小化使用引号字符:
|
||||
|
||||
`csvformat -U 0 {{data.csv}}`
|
||||
|
||||
- 最大化使用引号字符:
|
||||
|
||||
`csvformat -U 1 {{data.csv}}`
|
Reference in New Issue
Block a user