Re: More fun with IFS

2013-01-29 Thread Dan Douglas
On Wednesday, January 30, 2013 02:00:26 AM Chris F.A. Johnson wrote: > On Wed, 30 Jan 2013, Dan Douglas wrote: > > > Hi everyone, and welcome to another edition of IBOTD (IFS-bug-of-the-day), > > featuring everyone's favorite Bourne shell kludge: word-splitting! > > > > On today's episode - incons

Re: More fun with IFS

2013-01-29 Thread Chris F.A. Johnson
On Wed, 30 Jan 2013, Dan Douglas wrote: Hi everyone, and welcome to another edition of IBOTD (IFS-bug-of-the-day), featuring everyone's favorite Bourne shell kludge: word-splitting! On today's episode - inconsistencies within assignments that depend upon quoting. Though I can't take credit for

More fun with IFS

2013-01-29 Thread Dan Douglas
Hi everyone, and welcome to another edition of IBOTD (IFS-bug-of-the-day), featuring everyone's favorite Bourne shell kludge: word-splitting! On today's episode - inconsistencies within assignments that depend upon quoting. Though I can't take credit for discovering this -- it was pointed out t

Re: Short list of issues with various expansions and IFS

2013-01-29 Thread Dan Douglas
Hey thanks for all the nice explanations. I'm sure I'll reference this in the future. > > 3. Another IFS oddity via "command" > > > > IFS can be given "two values at once" through the environment of a > > redirection. > > I have to look at this one. It's clear that the temporary environment

Re: interrupted system call when using named pipes on FreeBSD

2013-01-29 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/18/13 1:30 AM, Mike Frysinger wrote: > this is somewhat a continuation of this thread: > http://lists.gnu.org/archive/html/bug-bash/2008-10/msg00091.html > > i've gotten more or less the same report in Gentoo: > http://bugs.gentoo.org/447810 > >

Re: backward-line

2013-01-29 Thread Chet Ramey
On 1/28/13 6:07 PM, Egmont Koblinger wrote: > Do you guys like this feature, do you think it could make it into official > bash? > > If so, let me come up with a proper patch (it's going to be much more > complicated in order to support double wide characters. The current one is > just a quick d

[PATCH] display bug in multi-line command when a utf-8 is shifted to next line

2013-01-29 Thread Egmont Koblinger
Hi, In UTF-8 environment, with bash-4.2.42, type a command that takes up at least 3 lines, and contains an accented (UTF-8) letter in the first line. Move the cursor to the beginning, and insert more characters. Just when the UTF-8 accented letter is pushed down to the second line, the last line