|
From: | Roman Rakus |
Subject: | Re: Inconsistent quote and escape handling in substitution part of parameter expansions. |
Date: | Tue, 28 Feb 2012 17:53:32 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 |
On 02/28/2012 05:49 PM, Greg Wooledge wrote:
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
I meant without temporary variable. RR
[Prev in Thread] | Current Thread | [Next in Thread] |