Re: Problem in var substitution with / and \

2019-01-14 Thread Chet Ramey
On 1/14/19 6:51 AM, Jean-François Berroyer wrote: > Bash Version: 5.0 > Patch Level: 0 > Release Status: release > > Description: > If a variable contains one '/' (or many) > and if this '/' is escaped with '\' by substitution mechanism > and if the escaped variable is concatenated with a string

Re: Problem in var substitution with / and \

2019-01-14 Thread Greg Wooledge
On Mon, Jan 14, 2019 at 12:51:37PM +0100, Jean-François Berroyer wrote: > If a variable contains one '/' (or many) > and if this '/' is escaped with '\' by substitution mechanism > and if the escaped variable is concatenated with a string containing '/' as > prefix, and another string containing '/

Problem in var substitution with / and \

2019-01-14 Thread Jean-François Berroyer
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin' -DSTANDARD_UTILS_PATH='