bug-bash
[Top][All Lists]
Advanced

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

Re: bug with multiline strings parsing and single-quoted !


From: Greg Wooledge
Subject: Re: bug with multiline strings parsing and single-quoted !
Date: Wed, 3 Dec 2014 10:04:04 -0500
User-agent: Mutt/1.4.2.3i

On Wed, Dec 03, 2014 at 06:51:08PM +0400, Gennady Kupava wrote:
> That was quite unexpected for me as a user. I checked sed script like this:
> echo "a
> b"| sed '/a/!d'
> 
> And that implementation detail were highly unexpected... What is the point
> of multiline edits if quotes are unreliable for certain characters?

Disabling history expansion fixes all of these problems (at the cost
of history expansion, obviously).

I added set +o histexpand to my .bashrc years ago, back when
echo "Hello world!" broke everything horribly.  I have no regrets.



reply via email to

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