1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-13 01:20:24 +02:00

formatting

This commit is contained in:
Kelly Brazil
2023-01-26 16:44:26 -08:00
parent 61b8e9f7b5
commit 81447ec9e6
2 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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