proc-version
--proc-versionv1.0.0Converts `/proc/version` file to JSON
Linuxfileslurpable
$ jc-rs /proc/versionA real pair
From the reference corpus (linux-proc/version3.json). The left pane is the input the fixture ships; the right pane is the corpus's expected JSON. CI compares jc-rs with it field by field under the published differential. Hover a value to see where it came from.
/proc/versionlinux-proc
Linux version 2.6.8-1.523 (user@foo.redhat.com) (gcc version 3.4.1 20040714 \ (Red Hat Enterprise Linux 3.4.1-7)) #1 Mon Aug 16 13:27:03 EDT 2004
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
{ "version": "2.6.8-1.523", "email": "user@foo.redhat.com", "gcc": "gcc version 3.4.1 20040714 \\ (Red Hat Enterprise Linux 3.4.1-7)", "build": "#1", "flags": null, "date": "Mon Aug 16 13:27:03 EDT 2004" }
Fixture coverage
3/3oracle-valid pairs match under the published structural JSON comparison
Magic syntax
jc-rs /proc/versionjc-rs reads this kernel-interface file directly and dispatches it through the matching /proc parser.Source: crates/jc-rs-parsers/src/proc/proc_version.rs. jc-rs targets the schemas defined by the original Python tool. Fixture coverage above is the measured evidence for this parser; test the inputs your pipeline depends on. Compare