Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,26 @@ Dual-licensed under MIT or the [UNLICENSE](https://unlicense.org).
* **table** - Show aligned output of any CSV data using
[elastic tabstops](https://github.com/BurntSushi/tabwriter).

#### Common commands options
```
-h, --help Display this message
-d, --delimiter <arg> The field delimiter for reading CSV data.
Must be a single character. (default: ,)
```

**Examples**

File delimited with comma:

`xsv headers -d ',' data_with_comma.csv`

File delimited with semicolon:

`xsv headers -d ';' data_with_semic.csv`

File delimited with tab:

`xsv headers -d '\t' data_with_tab.csv`

### A whirlwind tour

Expand Down