mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-21 00:19:42 +02:00
add compatibility info
This commit is contained in:
@ -1170,6 +1170,12 @@ Future parsers:
|
|||||||
Feel free to add/improve code or parsers! You can use the `jc/parsers/foo.py` parser as a template and submit your parser with a pull request.
|
Feel free to add/improve code or parsers! You can use the `jc/parsers/foo.py` parser as a template and submit your parser with a pull request.
|
||||||
|
|
||||||
## Compatibility
|
## Compatibility
|
||||||
|
Some parsers like `ls`, `ps`, `dig`, etc. will work on any platform. Other parsers that are platform-specific will generate a warning message if they are used on an unsupported platform. You may still use a parser on an unsupported platform - for example, you may want to parse a file with linux `lsof` output on an OSX laptop. In that case you can suppress the warning message with the `-q` or `quiet=True` options:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ cat lsof.out | jc --lsof -q
|
||||||
|
```
|
||||||
|
|
||||||
Tested on:
|
Tested on:
|
||||||
- Centos 7.7
|
- Centos 7.7
|
||||||
- Ubuntu 18.4
|
- Ubuntu 18.4
|
||||||
|
Reference in New Issue
Block a user