Re: [PATCH] long prompts do not show vi search prefix

2014-08-24 Thread Chet Ramey
On 8/23/14, 3:49 AM, Dylan Cali wrote: > Hello, > > For long prompts (127 chars or longer), vi search mode does not > display the [/?] prompt prefix. > > I've included a small program below demonstrating the issue, and a > very small patch fixing it. Thanks for the report and fix. Chet -- ``T

Re: "! true &" sets $? to 1

2014-08-24 Thread Chet Ramey
On 8/23/14, 6:56 AM, Vincent Lefevre wrote: > Bash Version: 4.3 > Patch Level: 24 > Release Status: release > > Description: > > When a pipeline starting with "!" is run in background, bash sets $? > to 1 instead of 0. POSIX says: > > The exit status of an asynchronous list shall be zero. Th

Re: Feature request: Add "import" built-in.

2014-08-24 Thread Andreas Schwab
Tim Friske writes: > set -- "${@:2}" Aka shift. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Feature request: Add "import" built-in.

2014-08-24 Thread Tim Friske
Hi, as I see it the "source" built-in is perfect for embedding a sourced Bash script into the sourcing one while preserving as much of the environment, specifically the positional and special parameters, as possible. What I am missing is the "import" built-in that passes only the explicitly given