Hacker News new | ask | show | jobs
by eevilspock 1910 days ago
I love what it does for log files. Abbreviated example from the README:

    May 10 03:17:06 localhost systemd: Removed slice User Slice of root.
    May 10 03:17:06 localhost systemd: Stopping User Slice of root.
becomes:

    May 10
     03:17:06 localhost systemd
      : Removed slice User Slice of root
      : Stopping User Slice of root
1 comments

Definitely very interesting! But I think I'd often end up stuck in the middle of a file with no context about the time of the current line, and struggling to scroll up to capture the parent without shooting past it.

Maybe that could be resolved if it were combined with some sort of GUI / TUI that collapsed subtrees with default (maybe with child count and total anscentor count) e.g. folding by indentation in Vim / Emacs