File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -385,10 +385,10 @@ $ mmdbinspect -jsonl -db GeoLite2-ASN.mmdb 152.216.7.49 | jq -r '.record.autonom
385
385
Create a CSV file with network and country code for all networks with data:
386
386
``` bash
387
387
$ echo " network,country" > networks.csv
388
- $ mmdbinspect -jsonl -db GeoIP2-Country.mmdb ::/0 | jq -r ' [.network, .record.country.iso_code] | join(",") ' >> networks.csv
388
+ $ mmdbinspect -jsonl -db GeoIP2-Country.mmdb ::/0 | jq -r ' [.network, .record.country.iso_code] | @csv ' >> networks.csv
389
389
$ cat networks.csv
390
390
network,country
391
- 1.1.1.0/24,AU
391
+ " 1.1.1.0/24" , " AU "
392
392
...
393
393
```
394
394
@@ -408,7 +408,7 @@ $ mmdbinspect -jsonl -db GeoIP2-City.mmdb 152.216.7.49 | jq -r '.record | [.city
408
408
</details >
409
409
410
410
<details >
411
- <summary >Using the ` -include-*` flags for additional information</summary >
411
+ <summary >Using the < code > -include-*</ code > flags for additional information</summary >
412
412
413
413
Include build time information:
414
414
``` bash
You can’t perform that action at this time.
0 commit comments