Hello!
I am unable to use "compgen -F" and made a patch to make it works.
Please, tell me how to improve it (if it is ugly).
Hope that it will be possible to use "compgen -F" in new BASH version.
My BASH version is "5.0.11(11)-release", OS "Ubuntu 18.04.3 LTS",
machine "x86_64".
Here it is:
When running the following script under bash-4.4.0 to bash-4.4.23 it
seems to fail erroneously on read.
set -x
set -o pipefail
shopt -s lastpipe
main() {
# Any input piped into while such that the condition
# succeeds at least once.
echo "x" | while read; do
echo | read
On Sun, Oct 6, 2019 at 12:17 AM ao2 wrote:
> [...]
>
> Description:
>
> I noticed that when there is a newline in the prompt bash "forgets"
> about ANSI color sequences when the window is resized. I am not
> sure
> f this is general for other kinds of ANSI escape codes.
>