diff --git a/EXAMPLES.md b/EXAMPLES.md index 25279f31..5eb6e936 100644 --- a/EXAMPLES.md +++ b/EXAMPLES.md @@ -732,7 +732,7 @@ dig -x 1.1.1.1 | jc --dig -p # or: jc -p dig -x 1.1.1.1 ``` ### dir ```bash -dir | jc --dir -p # or: jc -p dir +dir | jc --dir -p ``` ```json [ @@ -1671,7 +1671,7 @@ iw dev wlan0 scan | jc --iw-scan -p # or: jc -p iw dev wlan0 scan ``` ### jobs ```bash -jobs -l | jc --jobs -p # or: jc -p jobs +jobs -l | jc --jobs -p ``` ```json [ diff --git a/docs/parsers/history.md b/docs/parsers/history.md index 81716d62..22eaaaec 100644 --- a/docs/parsers/history.md +++ b/docs/parsers/history.md @@ -5,6 +5,8 @@ jc - JSON CLI output utility `history` command output parser This parser will output a list of dictionaries each containing `line` and `command` keys. If you would like a simple dictionary output, then use the `-r` command-line option or the `raw=True` argument in the `parse()` function. +The "Magic" syntax is not supported since the `history` command is a shell builtin. + Usage (cli): $ history | jc --history diff --git a/docs/parsers/jobs.md b/docs/parsers/jobs.md index 80fff5e8..81cb5641 100644 --- a/docs/parsers/jobs.md +++ b/docs/parsers/jobs.md @@ -5,14 +5,12 @@ jc - JSON CLI output utility `jobs` command output parser Also supports the `-l` option. +The "Magic" syntax is not supported since the `jobs` command is a shell builtin. + Usage (cli): $ jobs | jc --jobs - or - - $ jc jobs - Usage (module): import jc.parsers.jobs diff --git a/jc/man/jc.1.gz b/jc/man/jc.1.gz index b86a920c..391c1f87 100644 Binary files a/jc/man/jc.1.gz and b/jc/man/jc.1.gz differ diff --git a/jc/parsers/history.py b/jc/parsers/history.py index 24f9851d..88016928 100644 --- a/jc/parsers/history.py +++ b/jc/parsers/history.py @@ -2,6 +2,8 @@ This parser will output a list of dictionaries each containing `line` and `command` keys. If you would like a simple dictionary output, then use the `-r` command-line option or the `raw=True` argument in the `parse()` function. +The "Magic" syntax is not supported since the `history` command is a shell builtin. + Usage (cli): $ history | jc --history diff --git a/jc/parsers/jobs.py b/jc/parsers/jobs.py index b33154f5..a920d7bb 100644 --- a/jc/parsers/jobs.py +++ b/jc/parsers/jobs.py @@ -2,14 +2,12 @@ Also supports the `-l` option. +The "Magic" syntax is not supported since the `jobs` command is a shell builtin. + Usage (cli): $ jobs | jc --jobs - or - - $ jc jobs - Usage (module): import jc.parsers.jobs diff --git a/man/jc.1.gz b/man/jc.1.gz index b86a920c..391c1f87 100644 Binary files a/man/jc.1.gz and b/man/jc.1.gz differ