Package: bash Version: 5.2-2+b1 Severity: important Dear Maintainer,
Since Bash 5.2, when both -e and -t options are used, read terminates the shell session. This can be tested as follow in a terminal: > /usr/bin/bash > echo $SHLVL 2 > read -e -t 1 > echo $SHLVL 1 or by executing this small script where any subsequent use of read -e is rendered ineffective: #!/usr/bin/env bash read -et .001 read -e -p "type something: " echo -e "\nyou typed $REPLY" Note that 'read -e -t 0' does not exit, so it really has something to do with timings. Regards, Fabien -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386, armel Kernel: Linux 6.0.0-2-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages bash depends on: ii base-files 12.3 ii debianutils 5.7-0.3 ii libc6 2.36-4 ii libtinfo6 6.3+20220423-2 Versions of packages bash recommends: ii bash-completion 1:2.11-6 Versions of packages bash suggests: pn bash-doc <none> -- no debconf information