help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Is there a way to peek at the stdin buffer in bash?


From: Eduardo Bustamante
Subject: Re: [Help-bash] Is there a way to peek at the stdin buffer in bash?
Date: Wed, 9 Nov 2016 09:02:27 -0600

No, there's no such feature.

The only thing that comes to mind is that read with a timeout of 0
allows you to know if there's data, but there's no way to read that
data and then put it back.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]