help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About prepending strings to an array.


From: Lawrence Velázquez
Subject: Re: About prepending strings to an array.
Date: Sat, 03 Feb 2024 16:57:23 -0500
User-agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61

On Sat, Feb 3, 2024, at 3:07 PM, Peng Yu wrote:
> That was replacement. This current question is about prepending a string.

"Prepending" is not a distinct feature.  You're just using
${parameter/#pattern/string} replacement with an empty pattern, so
"&" is still treated specially within the replacement string.

-- 
vq



reply via email to

[Prev in Thread] Current Thread [Next in Thread]