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

Does it support tailing a file?

aniket-deole opened this issue · comments

I'm not sure if this is the right place to ask. But tailing & using the grep filter on the fly would be super usefull.

Feel free to close the issue if out of place.

Hi! It's totally ok to ask! :) Unfortunately, currently I'm not planning to add this feature. It is a cool idea, but as of now, I am not aware how it could be sensibly implemented in the codebase of up, I'm afraid. I'll add it to the ideabook on the wiki however; it's certainly a cool thought, and maybe some day someone will invent a way to make those ideas work together?

Thanks for your feedback!

@aniket-deole with peco you can do that

https://github.com/peco/peco

... but in my case, when I use peco with tailing peco consumes a lot of the cpu

Uh, by the way, this was kinda obvious to me, but maybe is not so obvious, so just to make sure it's explained: you can do something like below to tail a file:

$ tail -F $FILE | up

— though, the limitation of up's fixed buffer size remains.