[Bug Report] The Unexpected Behavior When Using ANSI Escape Code

2022-03-20 Thread Michaelll Lee
*Below are generated automatically by **'/usr/bin/bashbug' due to the absence of 'rmail**’** command.* --- *From:* Michael(lwl2...@gmail.com) *To:* bug-bash@gnu.org *Subject: *The Unexpected Behavior When Using ANSI

Re: [Bug Report] The Unexpected Behavior When Using ANSI Escape Code

2022-03-20 Thread Andreas Schwab
On Mär 20 2022, Michaelll Lee wrote: > 1) $ PS1='---Test \\ \e[0m ---\\$ ' Read the manual about non-printing characters in the prompt. https://www.gnu.org/software/bash/manual/html_node/Controlling-the-Prompt.html -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4

for loop over parameter expansion of array can miss resulted empty list

2022-03-20 Thread Alexey via Bug reports for the GNU Bourne Again SHell
Hello. Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall uname output: Linux alex 5.16.0-3-amd64 #1 SMP PREEMPT Debian 5.16.11-1 (2022-02-25) x86_64 GNU/Linux Machine Type: x86_64-pc-linux-gnu Bash Version: 5