bug-bash
[Top][All Lists]
Advanced

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

Re: Inconsistent quote and escape handling in substitution part of param


From: Greg Wooledge
Subject: Re: Inconsistent quote and escape handling in substitution part of parameter expansions.
Date: Tue, 28 Feb 2012 11:49:54 -0500
User-agent: Mutt/1.4.2.3i

On Tue, Feb 28, 2012 at 05:36:47PM +0100, Roman Rakus wrote:
> And that means, there isn't way to substitute "something" to ' (single 
> quote) when you want to not perform word splitting. I would consider it 
> as a bug.

imadev:~$ q=\'
imadev:~$ input="foosomethingbar"
imadev:~$ echo "${input//something/$q}"
foo'bar



reply via email to

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