akavel / up

Ultimate Plumber is a tool for writing Linux pipes with instant live preview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[idea] diff mode

rubenrua opened this issue · comments

A mode to compare the difference between the output of two files.

Like:

$ diff <(cat file1.txt |& ./up) <(cat file2.txt |& ./up)

It will be very useful to compare two different log of a process. For instance, looking for a bug comparing the correct and the incorrect log output.

Hm; sounds interesting, though it's not yet super clear to me whether and how this could be doable in up at the stage where it currently is. Seen as a pie-in-the-sky, absolutely a thought provoking and inspiring concept, thanks for sharing! For now, I'd think maybe this could be worth a try in either https://userland.org, or https://luna-lang.org; though I can't not admit that the original idea for up was to go in a similar direction as those... 😉