bug-bash
[Top][All Lists]
Advanced

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

Re: Escape newline within quotes in commands


From: Chet Ramey
Subject: Re: Escape newline within quotes in commands
Date: Fri, 03 Mar 2006 11:09:42 -0500
User-agent: Thunderbird 1.5 (Macintosh/20051201)

Werner Fink wrote:
>                              BASH PATCH REPORT
>                              =================
> 
> Bash-Release: 3.1.5
> Bug-Description:
> 
> Lines like
> 
>    g31:bash-3.0 > x=`echo A B C | sed 's/ /\\
>    > /g'` 
>    g31:bash-3.0 > echo "$x"
>    A
>    B
>    C
> 
> do not work with current bash 3.1.5.  This breaks
> scripts working with both the pdksh/ksh and the
> old bash 3.0.  The enclosed patch restore the old
> behaviour.

This is fixed by official patch 10.  Make sure to get the
updated version of that patch from ftp.case.edu.  I have not
yet been able to get the folks who manage ftp.gnu.org to allow
me to update patch 10 there.

Now that bug-bash appears to have arisen from the ashes, I will send
out the updated patch 10 again.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                           Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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