backslash to escape still works?
Sent from my BlackBerry 10 smartphone.
Original Message
From: Chet Ramey
Sent: Samstag, 8. März 2014 01:52
To: Lars Wendler; bug-bash@gnu.org
Reply To: chet.ra...@case.edu
Cc: chet.ra...@case.edu
Subject: Re: pattern substitution expands "~" even in quoted vari
On Fri, 7 Mar 2014 16:15:05 -0800 Eduardo A. Bustamante López wrote:
>On Fri, Mar 07, 2014 at 05:21:53PM +0100, Lars Wendler wrote:
>> Configuration Information
>> [Automatically generated, do not change]:
>> Machine: x86_64
>> OS: linux-gnu
>> Compiler: x86_64-pc-linux-gnu-gcc
>> Compilation CFL
On 3/8/14, 4:25 AM, dethrop...@web.de wrote:
> backslash to escape still works?
Yes.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/
On Fri 07 Mar 2014 16:15:05 Eduardo A. Bustamante López wrote:
> dualbus@debian:~$ for shell in /bin/bash ~/local/bin/bash; do "$shell" -c
> 'p=foo_bar; echo "${p/_/\~} $BASH_VERSION"'; done
> foo\~bar 4.2.37(1)-release
> foo~bar 4.3.0(2)-release
you can get same behavior in <=bash-4.2 and >=bash-