Re: Incorrect handling of echo in POSIX mode

2024-03-16 Thread Robert Elz
In addition to what Chet said, I'd also point out that the forthcoming POSIX version has altered this text in the current standard: string A string to be written to standard output. If the first operand is -n, or if any of the operands contain a character, the results are impleme

Re: Incorrect handling of echo in POSIX mode

2024-03-15 Thread Chet Ramey
On 3/15/24 11:37 AM, Clint Hepner wrote: Bash Version: 5.2 Patch Level: 26 Release Status: release Description: In POSIX mode, echo incorrectly processes -e as an option unless xpg_echo is also enabled. It always has. I wasn't willing to sacrifice that much compatibility when bash is ru