The "read" built-in documentation says,
Exit Status:
The return code is zero, unless end-of-file is encountered, read times out,
or an invalid file descriptor is supplied as the argument to -u.
I would like to be able to distinguish the no-data conditions. In
particular I want to kno
> The documentation already says "the exit status is greater than
> 128 if the timeout is exceeded" in a couple of places.
Oh, look at that, a mere four lines above the text I quoted. I guess
I can downgrade this to a documentation request.
> Does it really need to be
I would like these two partially entered commands to complete the
same way:
$ ca
$ sudo ca
The first completion nicely takes into account any previous
"complete -I" setting (because it is completing the initial
word of a command).
But the second completion relies on a programmable completion,
an