diff --git a/CHANGELOG b/CHANGELOG index 9697f207..482ac967 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,8 @@ jc changelog -20220102 v1.17.6 +20220103 v1.17.6 - Add jar-manifest file parser (for MANIFEST.MF files) +- Fix CSV parsers for some files that include doublequotes 20211221 v1.17.5 - Add zipinfo parser tested on linux and macOS diff --git a/EXAMPLES.md b/EXAMPLES.md index 011eeea5..e058b995 100644 --- a/EXAMPLES.md +++ b/EXAMPLES.md @@ -1713,6 +1713,27 @@ iw dev wlan0 scan | jc --iw-scan -p # or: jc -p iw dev wlan0 scan } ] ``` +### jar-manifest +```bash +cat MANIFEST.MF | jc --jar-manifest -p +``` +```json +[ + { + "Import_Package": "com.conversantmedia.util.concurrent;resolution:=optional,com.fasterxml.jackson.annotation;version=\"[2.12,3)\";resolution:=optional,com.fasterxml.jackson.core;version=\"[2.12,3)\";resolution:=optional,com.fasterxml.jackson.core.type;version=\"[2.12,3)\";resolution:=optional,com.fasterxml.jackson.cor...", + "Export_Package": "org.apache.logging.log4j.core;uses:=\"org.apache.logging.log4j,org.apache.logging.log4j.core.config,org.apache.logging.log4j.core.impl,org.apache.logging.log4j.core.layout,org.apache.logging.log4j.core.time,org.apache.logging.log4j.message,org.apache.logging.log4j.spi,org.apache.logging.log4j.status...", + "Manifest_Version": "1.0", + "Bundle_License": "https://www.apache.org/licenses/LICENSE-2.0.txt", + "Bundle_SymbolicName": "org.apache.logging.log4j.core", + "Built_By": "matt", + "Bnd_LastModified": "1639373735804", + "Implementation_Vendor_Id": "org.apache.logging.log4j", + "Specification_Title": "Apache Log4j Core", + "Log4jReleaseManager": "Matt Sicker", + ... + } +] +``` ### jobs ```bash jobs -l | jc --jobs -p diff --git a/docs/parsers/csv.md b/docs/parsers/csv.md index 2c095082..91936dc8 100644 --- a/docs/parsers/csv.md +++ b/docs/parsers/csv.md @@ -99,4 +99,4 @@ Returns: ## Parser Information Compatibility: linux, darwin, cygwin, win32, aix, freebsd -Version 1.3 by Kelly Brazil (kellyjonbrazil@gmail.com) +Version 1.4 by Kelly Brazil (kellyjonbrazil@gmail.com) diff --git a/docs/parsers/csv_s.md b/docs/parsers/csv_s.md index 99ffacf1..1d462e2f 100644 --- a/docs/parsers/csv_s.md +++ b/docs/parsers/csv_s.md @@ -82,4 +82,4 @@ Returns: ## Parser Information Compatibility: linux, darwin, cygwin, win32, aix, freebsd -Version 1.1 by Kelly Brazil (kellyjonbrazil@gmail.com) +Version 1.2 by Kelly Brazil (kellyjonbrazil@gmail.com) diff --git a/docs/parsers/jar_manifest.md b/docs/parsers/jar_manifest.md index 3f4f181c..fd30265d 100644 --- a/docs/parsers/jar_manifest.md +++ b/docs/parsers/jar_manifest.md @@ -1,7 +1,7 @@ [Home](https://kellyjonbrazil.github.io/jc/) # jc.parsers.jar_manifest -jc - JSON CLI output utility `MANIFES.MF` file parser +jc - JSON CLI output utility `MANIFEST.MF` file parser Usage (cli): diff --git a/jc/parsers/jar_manifest.py b/jc/parsers/jar_manifest.py index 47bcc988..d625930a 100644 --- a/jc/parsers/jar_manifest.py +++ b/jc/parsers/jar_manifest.py @@ -1,4 +1,4 @@ -"""jc - JSON CLI output utility `MANIFES.MF` file parser +"""jc - JSON CLI output utility `MANIFEST.MF` file parser Usage (cli): diff --git a/man/jc.1 b/man/jc.1 index 5b9754f5..1b9701cc 100644 --- a/man/jc.1 +++ b/man/jc.1 @@ -1,4 +1,4 @@ -.TH jc 1 2022-01-02 1.17.6 "JSON CLI output utility" +.TH jc 1 2022-01-03 1.17.6 "JSON CLI output utility" .SH NAME jc \- JSONifies the output of many CLI tools and file-types .SH SYNOPSIS