Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: less with subprocess



On Mon, Sep 27, 2021 at 10:31 PM Pier Paolo Grassi <pierpaolog@xxxxxxxxx> wrote:
>
> I would rather not us something like:
>
> sleep 100 | less
>
> which doesn't have problems exiting, but when I hit ctrl-c for the first
> time the pipe is closed and no more input is generated for less

Looks like this:
https://unix.stackexchange.com/questions/26826/follow-a-pipe-using-less

Roman.




Messages sorted by: Reverse Date, Date, Thread, Author