Skip to content
jc-rs
GitHub

finger

--fingerv1.2.0

`finger` command parser

LinuxmacOSFreeBSDcommand
$ finger | jc-rs --finger

A real pair

From the reference corpus (centos-7.7/finger.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.

fingercentos-7.7
Login     Name       Tty      Idle  Login Time   Office     Office Phone   Host
kbrazil   kbrazil    tty1        1  Apr  6 11:12           
kbrazil   kbrazil    pts/0          Apr  6 11:14                           (kbrazil-mac.attlocal.net)
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
[
  {
    "login": "kbrazil",
    "name": "kbrazil",
    "tty": "tty1",
    "idle": "1",
    "login_time": "Apr  6 11:12",
    "tty_writeable": true,
    "idle_minutes": 1,
    "idle_hours": 0,
    "idle_days": 0,
    "total_idle_minutes": 1
  },
  {
    "login": "kbrazil",
    "name": "kbrazil",
    "tty": "pts/0",
    "idle": null,
    "login_time": "Apr  6 11:14",
    "details": "(kbrazil-mac.attlocal.net)",
    "tty_writeable": true,
    "idle_minutes": 0,
    "idle_hours": 0,
    "idle_days": 0,
    "total_idle_minutes": 0
  }
]

Fixture coverage

3/3oracle-valid pairs match under the published structural JSON comparison

Magic syntax

jc-rs fingerjc-rs runs the command itself and parses what it prints. Recognised for: `finger`

Source: crates/jc-rs-parsers/src/misc/finger.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