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. hobbit:~$ echo $s/$ /$ hobbit:~$ echo $s/ /