Are there versions (replacements for replacement) of standard shells that display (partial) results updated on the fly (possibly for stderr)?
Say I want to do this:
du ~/* -s | sort -rn | head
At first, absolutely nothing happens before execution du. I would like to see partial results, i.e. I want to sortdisplay the data that he has already seen. That way, I can quickly see that something is wrong with the exit and fix it. For example, when running grep.
Same thing with this:
du ~/* -s | wc
I would like it to be updated on the fly.
Here is an ugly job showing what I want. (But preferably it should not unnecessarily consume the entire screen, for example, from dubelow.)
du ~/* -s > /tmp/duout | watch -n .1 sort -rn /tmp/duout
du ~/* -s > /tmp/duout | watch -n .1 wc /tmp/duout
, , :
du ~/* -s | isort -rn