I am also unaware of how shift can be used to determine if there is any data waiting to be read on STDIN from redirected input.
Could you be so kind as to provide a working code example? That would be really cool information to have!
In reply to Re^2: Checing presence of input on standard input in non-blocking way, sans user interaction
by marinersk
in thread Checing presence of input on standard input in non-blocking way, sans user interaction
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |