mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-13 01:20:24 +02:00
formatting
This commit is contained in:
10
README.md
10
README.md
@ -328,11 +328,11 @@ could express the slice in a couple ways:
|
||||
|
||||
```bash
|
||||
$ cat table.txt
|
||||
We want to skip this header information
|
||||
col1 col2
|
||||
foo 1
|
||||
bar 1
|
||||
We also want to skip this footer
|
||||
We want to skip this header
|
||||
col1 col2
|
||||
foo 1
|
||||
bar 1
|
||||
We also want to skip this footer
|
||||
$ cat table.txt | jc 1:-1 --asciitable
|
||||
[{"col1":"foo","col2":"1"},{"col1":"bar","col2":"1"}]
|
||||
$ cat table.txt | jc 1:4 --asciitable
|
||||
|
@ -190,11 +190,11 @@ could express the slice in a couple ways:
|
||||
|
||||
```bash
|
||||
$ cat table.txt
|
||||
We want to skip this header information
|
||||
col1 col2
|
||||
foo 1
|
||||
bar 1
|
||||
We also want to skip this footer
|
||||
We want to skip this header
|
||||
col1 col2
|
||||
foo 1
|
||||
bar 1
|
||||
We also want to skip this footer
|
||||
$ cat table.txt | jc 1:-1 --asciitable
|
||||
[{"col1":"foo","col2":"1"},{"col1":"bar","col2":"1"}]
|
||||
$ cat table.txt | jc 1:4 --asciitable
|
||||
|
Reference in New Issue
Block a user