- cross-posted to:
- hackernews@lemmy.smeargle.fans
- hackernews@derp.foo
- cross-posted to:
- hackernews@lemmy.smeargle.fans
- hackernews@derp.foo
What use cases does fx fulfill that other tools like
jq
or your editor don’t?I haven’t tried fx yet (but I will soon enough!) but my main gripe with jq is that its not very intuitive or userfriendly to pass arguments to get what I want out of it. fx seems to offer an interactive (TUI) way to interact with its content, wich might be better suited for my usercase where I just want to consume the logs with my eyes. jq is better as a pipe between two commands to process the json data.
My main gripe with nushell is that you can’t select rows that contain empty fields. As in not NULL but straight up don’t exist, but this is very common for tools that output json. E.g. you use
ip a
with json output and since you have interfaces with different properties, the fields are empty for some interfaces and working with these tables is a PITAWeird they wouldn’t offer a “get value with key or NULL” function
The jq selector in the bottom left is killer