Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] [Package request] jc
@ 2022-02-23 12:54 paoloschi
  2022-03-28 20:53 ` [ISSUE] [CLOSED] " abenson
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: paoloschi @ 2022-02-23 12:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

New issue by paoloschi on void-packages repository

https://github.com/void-linux/void-packages/issues/35804

Description:
> jc JSONifies the output of many CLI tools and file-types for easier parsing in scripts.
> This allows further command-line processing of output with tools like jq or jello by piping commands...
> The jc parsers can also be used as python modules. In this case the output will be a python dictionary, or list of dictionaries, instead of JSON

https://github.com/kellyjonbrazil/jc


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ISSUE] [CLOSED] [Package request] jc
  2022-02-23 12:54 [ISSUE] [Package request] jc paoloschi
@ 2022-03-28 20:53 ` abenson
  2022-03-28 20:54 ` abenson
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: abenson @ 2022-03-28 20:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

Closed issue by paoloschi on void-packages repository

https://github.com/void-linux/void-packages/issues/35804

Description:
> jc JSONifies the output of many CLI tools and file-types for easier parsing in scripts.
> This allows further command-line processing of output with tools like jq or jello by piping commands...
> The jc parsers can also be used as python modules. In this case the output will be a python dictionary, or list of dictionaries, instead of JSON

https://github.com/kellyjonbrazil/jc


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Package request] jc
  2022-02-23 12:54 [ISSUE] [Package request] jc paoloschi
  2022-03-28 20:53 ` [ISSUE] [CLOSED] " abenson
@ 2022-03-28 20:54 ` abenson
  2022-03-30  9:43 ` paoloschi
  2022-03-31 22:20 ` abenson
  3 siblings, 0 replies; 5+ messages in thread
From: abenson @ 2022-03-28 20:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 195 bytes --]

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/issues/35804#issuecomment-1081133589

Comment:
Closed in a743b68955d080ecb0741dca9c8234351fafcd99.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Package request] jc
  2022-02-23 12:54 [ISSUE] [Package request] jc paoloschi
  2022-03-28 20:53 ` [ISSUE] [CLOSED] " abenson
  2022-03-28 20:54 ` abenson
@ 2022-03-30  9:43 ` paoloschi
  2022-03-31 22:20 ` abenson
  3 siblings, 0 replies; 5+ messages in thread
From: paoloschi @ 2022-03-30  9:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 797 bytes --]

New comment by paoloschi on void-packages repository

https://github.com/void-linux/void-packages/issues/35804#issuecomment-1082858048

Comment:
note that for parsing XML files, `jc` also depends on the `python3-xmltodict` package:

```
$ curl -s 'https://www.w3schools.com/xml/note.xml' | jc --xml
jc:  Error - Parser issue with xml:
             LibraryNotInstalled: The xmltodict library is not installed.
             If this is the correct parser, try setting the locale to C (LANG=C).
             For details use the -d or -dd option. Use "jc -h --xml" for help.
```

after installed `python3-xmltodict`:

```
$ curl -s 'https://www.w3schools.com/xml/note.xml' | jc --xml
{"note":{"to":"Tove","from":"Jani","heading":"Reminder","body":"Don't forget me this weekend!"}}
```


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Package request] jc
  2022-02-23 12:54 [ISSUE] [Package request] jc paoloschi
                   ` (2 preceding siblings ...)
  2022-03-30  9:43 ` paoloschi
@ 2022-03-31 22:20 ` abenson
  3 siblings, 0 replies; 5+ messages in thread
From: abenson @ 2022-03-31 22:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/issues/35804#issuecomment-1085184350

Comment:
Sorry about that, it's been fixed.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-31 22:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-23 12:54 [ISSUE] [Package request] jc paoloschi
2022-03-28 20:53 ` [ISSUE] [CLOSED] " abenson
2022-03-28 20:54 ` abenson
2022-03-30  9:43 ` paoloschi
2022-03-31 22:20 ` abenson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).