akavel / up

Ultimate Plumber is a tool for writing Linux pipes with instant live preview
Apache License 2.0
8.39k stars 129 forks source link

[idea] diff mode #57

Open rubenrua opened 3 years ago

rubenrua commented 3 years ago

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.

akavel commented 3 years ago

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... 😉