KoviRobi / structured-shell-stdio

Proposal for common stdio for structured shells
0 stars 0 forks source link

[XREF] Potential programs #2

Open KoviRobi opened 1 year ago

KoviRobi commented 1 year ago

This is a place to collect programs which might use this feature, possibly with a link to the discussion.

KoviRobi commented 1 year ago

https://kernel.googlesource.com/pub/scm/network/iproute2/iproute2/ [TODO: Open discussion]

KoviRobi commented 1 year ago

Systemd [TODO: Open discussion]

KoviRobi commented 1 year ago

Nix [TODO: Open discussion]

KoviRobi commented 1 year ago

lspci kind of supports structured data via lspci -m, or lspci -vmm (line separated key-value fields, records separated by a blank line). For example the following works for nushell

lspci -vmm | lines | split list "" | each {parse -r '(?<name>\w+):\s+(?<value>.*)' | transpose -r | into record }

[TODO: maybe open discussion, especially as they kind of support structured data but not JSON -- why not JSON]