Skip to content

Commit 170b0c8

Browse files
update to new gridlines
1 parent 6a3f33b commit 170b0c8

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

README.md

+18-17
Original file line numberDiff line numberDiff line change
@@ -194,23 +194,24 @@ daemon /sbin/nologin
194194
`jtbl` will happily dump deeply nested JSON structures into a table, but usually this is not what you are looking for.
195195
```
196196
$ jc dig www.cnn.com | jtbl
197-
+-------+----------+----------+--------------+-------------+--------------+-----------------+------------------+--------------+--------------+--------------+----------+--------------+--------+
198-
| id | opcode | status | flags | query_num | answer_num | authority_num | additional_num | question | answer | query_time | server | when | rcvd |
199-
+=======+==========+==========+==============+=============+==============+=================+==================+==============+==============+==============+==========+==============+========+
200-
| 28791 | QUERY | NOERROR | ['qr', 'rd', | 1 | 5 | 0 | 1 | {'name': 'ww | [{'name': 'w | 32 | 2600 | Fri Mar 06 1 | 143 |
201-
| | | | 'ra'] | | | | | w.cnn.com.', | ww.cnn.com.' | | | 7:15:25 PST | |
202-
| | | | | | | | | 'class': 'I | , 'class': ' | | | 2020 | |
203-
| | | | | | | | | N', 'type': | IN', 'type': | | | | |
204-
| | | | | | | | | 'A'} | 'CNAME', 't | | | | |
205-
| | | | | | | | | | tl': 251, 'd | | | | |
206-
| | | | | | | | | | ata': 'turne | | | | |
207-
| | | | | | | | | | r-tls.map.fa | | | | |
208-
| | | | | | | | | | stly.net.'}, | | | | |
209-
| | | | | | | | | | {'name': 't | | | | |
210-
| | | | | | | | | | urner-tls.ma | | | | |
211-
| | | | | | | | | | p.fastly.net | | | | |
212-
| | | | | | | | | | ... | | | | |
213-
+-------+----------+----------+--------------+-------------+--------------+-----------------+------------------+--------------+--------------+--------------+----------+--------------+--------+
197+
╒══════════╤══════════╤═══════╤════════════╤═════════════╤══════════════╤══════════════╤══════════════╤══════════════╤════════════╤════════════╤══════════════╤════════════╤════════════╤════════╤══════════════╤══════════════╕
198+
│ opcode │ status │ id │ flags │ query_num │ answer_num │ authority_ │ additional │ opt_pseudo │ question │ answer │ query_time │ server │ when │ rcvd │ when_epoch │ when_epoch │
199+
│ │ │ │ │ │ │ num │ _num │ section │ │ │ │ │ │ │ │ _utc │
200+
╞══════════╪══════════╪═══════╪════════════╪═════════════╪══════════════╪══════════════╪══════════════╪══════════════╪════════════╪════════════╪══════════════╪════════════╪════════════╪════════╪══════════════╪══════════════╡
201+
│ QUERY │ NOERROR │ 36494 │ ['qr', 'rd │ 1 │ 4 │ 0 │ 1 │ {'edns': { │ {'name': ' │ [{'name': │ 47 │ 2600:1700: │ Wed Dec 22 │ 100 │ 1640200072 │ │
202+
│ │ │ │ ', 'ra'] │ │ │ │ │ 'version': │ cnn.com.', │ 'cnn.com.' │ │ bab0:d40:: │ 11:07:52 │ │ │ │
203+
│ │ │ │ │ │ │ │ │ 0, 'flags │ 'class': │ , 'class': │ │ 1#53(2600: │ PST 2021 │ │ │ │
204+
│ │ │ │ │ │ │ │ │ ': [], 'ud │ 'IN', 'typ │ 'IN', 'ty │ │ 1700:bab0: │ │ │ │ │
205+
│ │ │ │ │ │ │ │ │ p': 4096}} │ e': 'A'} │ pe': 'A', │ │ d40::1) │ │ │ │ │
206+
│ │ │ │ │ │ │ │ │ │ │ 'ttl': 60, │ │ │ │ │ │ │
207+
│ │ │ │ │ │ │ │ │ │ │ 'data': ' │ │ │ │ │ │ │
208+
│ │ │ │ │ │ │ │ │ │ │ 151.101.12 │ │ │ │ │ │ │
209+
│ │ │ │ │ │ │ │ │ │ │ 9.67'}, {' │ │ │ │ │ │ │
210+
│ │ │ │ │ │ │ │ │ │ │ name': 'cn │ │ │ │ │ │ │
211+
│ │ │ │ │ │ │ │ │ │ │ n.com.', ' │ │ │ │ │ │ │
212+
│ │ │ │ │ │ │ │ │ │ │ class': 'I │ │ │ │ │ │ │
213+
│ │ │ │ │ │ │ │ │ │ │ ... │ │ │ │ │ │ │
214+
╘══════════╧══════════╧═══════╧════════════╧═════════════╧══════════════╧══════════════╧══════════════╧══════════════╧════════════╧════════════╧══════════════╧════════════╧════════════╧════════╧══════════════╧══════════════╛
214215
```
215216

216217
## Diving Deeper into the JSON with `jq` or `jello`:

0 commit comments

Comments
 (0)