Re: Quoted multiline command interpreted by history as separate commands

2015-12-28 Thread Chet Ramey
On 12/26/15 6:15 PM, james harvey wrote: > It appears bash sends an executed quoted multiline command to the > in-memory history list as one command. Yes. The history file, through readline-6.3, is completely line-based. The history library assumes that each line in the history file is a single

Quoted multiline command interpreted by history as separate commands

2015-12-27 Thread james harvey
If I run == cat >> usertmp < something here > something else here > EOF == And I run history, I see: == 44 2015-12-26 17:27:42 cat >> usertmp <> usertmp <