From 4ef0434f536c6658ddc2b48a3db113df2fd26000 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Fri, 14 Feb 2020 09:43:02 -0800 Subject: [PATCH] formatting update --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 755cd05a..5d356950 100755 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ JSON CLI output utility `jc` is used to JSONify the output of many standard linux cli tools and file types for easier parsing in scripts. See the **Parsers** section for supported commands. This allows further command line processing of output with tools like `jq` simply by piping commands: - ``` $ ls -l /usr/bin | jc --ls | jq '.[] | select(.size > 50000000)' { @@ -30,9 +29,6 @@ $ jc ls -l /usr/bin | jq '.[] | select(.size > 50000000)' "date": "Aug 14 19:41" } ``` - -For more information on the motivations for this project, please see my blog post at https://blog.kellybrazil.com/2019/11/26/bringing-the-unix-philosophy-to-the-21st-century/. - The `jc` parsers can also be used as python modules. In this case the output will be a python dictionary instead of JSON: ``` >>> import jc.parsers.ls @@ -65,6 +61,8 @@ To access the raw, pre-processed JSON, use the `-r` cli option or the `raw=True` Schemas for each parser can be found in the [`docs/parsers`](https://github.com/kellyjonbrazil/jc/tree/dev/docs/parsers) folder. +For more information on the motivations for this project, please see my blog post at https://blog.kellybrazil.com/2019/11/26/bringing-the-unix-philosophy-to-the-21st-century/. + ## Installation ``` $ pip3 install --upgrade jc