Команда csvformat: опции, ключи и примеры использования
csvformat
Convert a CSV file to a custom output format. Included in csvkit.
- Convert to a tab-delimited file (TSV):
csvformat -T {{data.csv}}
- Convert delimiters to a custom character:
csvformat -D "{{custom_character}}" {{data.csv}}
- Convert line endings to carriage return (^M) + line feed:
csvformat -M "{{\r\n}}" {{data.csv}}
- Minimize use of quote characters:
csvformat -U 0 {{data.csv}}
- Maximize use of quote characters:
csvformat -U 1 {{data.csv}}
Также может быть вам интересно:
- Как на Bash посчитать число строк в проекте (директории)
- 25 января вышло новое крупное обновление Age of Empires II DE: Lords of the West
- И снова sudo, и снова "решето"
- Только одна из десяти компаний ожидает, что все работники вернутся в офисы
- Google Play временно забанил видео-плеер за поддержку неправильных субтитров