Re: Multi-line bash strings that end in ! improperly treated as event designator

2015-08-24 Thread Lane Schwartz
On Mon, Aug 24, 2015 at 8:19 AM, Chet Ramey wrote: > On 8/21/15 5:17 PM, Lane Schwartz wrote: > > > Bash Version: 4.3 > > Patch Level: 11 > > Release Status: release > > > > Description: > > Per the Bash Reference Manual, section 9.3.1 "Event > Designators", a > > bare exclamation point s

Re: Multi-line bash strings that end in ! improperly treated as event designator

2015-08-24 Thread Chet Ramey
On 8/24/15 10:16 AM, Lane Schwartz wrote: > In light of your comments, might I suggest two additions to the manual? > > * History expansion takes place before quote removal. (This could be added > to the bullet list in Section 3.5) I would think that the following sentence from the HISTORY EXPAN

Re: Multi-line bash strings that end in ! improperly treated as event designator

2015-08-24 Thread Chet Ramey
On 8/21/15 5:17 PM, Lane Schwartz wrote: > Bash Version: 4.3 > Patch Level: 11 > Release Status: release > > Description: > Per the Bash Reference Manual, section 9.3.1 "Event Designators", a > bare exclamation point should be treated as "Start[ing] a history > substitution, except when f

Multi-line bash strings that end in ! improperly treated as event designator

2015-08-21 Thread Lane Schwartz
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCO$ uname output: Linux cl 3.13.0-61-generic #100-Ubuntu SMP Wed Jul 29 11:21:34 UTC 2015 x86_64