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
2020-06-25 13:01:10 -07:00
parent efb6761033
commit 51331b6dc0

View File

@ -554,14 +554,15 @@ $ cat /etc/crontab | jc --crontab-u -p
} }
``` ```
### CSV files ### CSV files
```json ```
$ cat homes.csv $ cat homes.csv
"Sell", "List", "Living", "Rooms", "Beds", "Baths", "Age", "Acres", "Taxes" "Sell", "List", "Living", "Rooms", "Beds", "Baths", "Age", "Acres", "Taxes"
142, 160, 28, 10, 5, 3, 60, 0.28, 3167 142, 160, 28, 10, 5, 3, 60, 0.28, 3167
175, 180, 18, 8, 4, 1, 12, 0.43, 4033 175, 180, 18, 8, 4, 1, 12, 0.43, 4033
129, 132, 13, 6, 3, 1, 41, 0.33, 1471 129, 132, 13, 6, 3, 1, 41, 0.33, 1471
... ...
```
```json
$ cat homes.csv | jc --csv -p $ cat homes.csv | jc --csv -p
[ [
{ {