Re: [bug #67358] Extra space in parameter expansion with quoted strings and trailing $.

2025-07-26 Thread Greg Wooledge
On Sat, Jul 26, 2025 at 13:37:09 -0400, mohos wrote: > export S=" " > echo $S"hello"$ > Actual output: > hello$ > Expected output: > hello$ I can reproduce this in all versions of bash back to 2.05b, which is the oldest I have. The quotation marks don't appear to matter, but the trailing $ does.

[bug #67358] Extra space in parameter expansion with quoted strings and trailing $.

2025-07-26 Thread mohos
URL: Summary: Extra space in parameter expansion with quoted strings and trailing $. Group: The GNU Bourne-Again SHell Submitter: mohos Submitted: Sat 26 Jul 2025 05:37:05 PM GMT