stat
--statv1.13.0Converts `stat` command output to JSON
LinuxmacOSFreeBSDcommand
$ stat | jc-rs --statA real pair
From the reference corpus (osx-10.14.6/stat-filename-with-spaces.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.
statosx-10.14.6
16777220 161929661 -rw-r--r-- 1 kbrazil staff 0 0 "Aug 13 15:03:52 2021" "Aug 13 14:37:03 2021" "Aug 13 14:37:03 2021" "Aug 13 14:37:03 2021" 4096 0 0 file name with spaces.txt
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
[ { "file": "file name with spaces.txt", "unix_device": 16777220, "inode": 161929661, "flags": "-rw-r--r--", "links": 1, "user": "kbrazil", "group": "staff", "rdev": 0, "size": 0, "access_time": "Aug 13 15:03:52 2021", "modify_time": "Aug 13 14:37:03 2021", "change_time": "Aug 13 14:37:03 2021", "birth_time": "Aug 13 14:37:03 2021", "block_size": 4096, "blocks": 0, "unix_flags": "0", "access_time_epoch": 1628892232, "access_time_epoch_utc": null, "modify_time_epoch": 1628890623, "modify_time_epoch_utc": null, "change_time_epoch": 1628890623, "change_time_epoch_utc": null, "birth_time_epoch": 1628890623, "birth_time_epoch_utc": null } ]
Fixture coverage
6/6oracle-valid pairs match under the published structural JSON comparison
Magic syntax
jc-rs statjc-rs runs the command itself and parses what it prints. Recognised for: `stat`Source: crates/jc-rs-parsers/src/system/stat.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