csvlook - border lines?
See original GitHub issueIs there a way to make tables show borders a lot like MySql or SQLPlus? e.g.
+----------+-------+--------+
| count(1) | state | status |
+----------+-------+--------+
| 36980 | 0 | 0 |
| 5792900 | 1 | 1 |
| 14787 | 2 | 2 |
| 214 | 3 | 2 |
| 1247 | 4 | 2 |
| 35788849 | 5 | 2 |
| 1 | 7 | 1 |
+----------+-------+--------+
As far as I know, you just get field delimiting and whitespace padding but no header and footer borders.
| count(1) | state | status |
|----------|-------|--------|
| 36980 | 0 | 0 |
| 5792900 | 1 | 1 |
| 14787 | 2 | 2 |
| 214 | 3 | 2 |
| 1247 | 4 | 2 |
| 35788849 | 5 | 2 |
| 1 | 7 | 1 |
The +
signs make it look even nicer.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
csvlook — csvkit 1.0.2 documentation - Read the Docs
Renders a CSV to the command line in a Markdown-compatible, fixed-width format: usage: csvlook [-h] [-d DELIMITER] [-t] [-q QUOTECHAR] [-u {0,1,2,3}] [-b] ......
Read more >How to format csv into multiline newline delimited plain text ...
You can use miller (https://github.com/johnkerl/miller/releases/tag/5.4.0): mlr --c2x --ops "\t" put '$1=$type;$2=$name;$3=($ad1 .
Read more >csvkit: a Swiss Army Knife for CSV Data ? | by ChiefHustler
In the command below, I'm adding line numbers with the -l flag. A downside of the csvgrep command is that I wasn't able...
Read more >Useful CSVKit Commands - David Kittell
Look at data, formats nicely with borders. $csvlook myfile.csv. # See column names. $csvcut -n myfile.csv. # Cut out specific columns.
Read more >Obtaining, Scrubbing, and Exploring Data at the Command Line
Obtaining, Scrubbing, and Exploring Data at the Command Line. Jeroen Janssens ... < countries.json json2csv -p -k border,surface | csvlook.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
+
might look nicer, but it’s not Markdown-compatible.Those slides must be using version 0.9.x
This is a very minor improvement, so will likely not be changed.