Re: Edit vs delete a running script. Why difference?

2012-03-28 Thread David Thomas
On Jan 18, 5:22 am, Greg Wooledge wrote: > On Wed, Jan 18, 2012 at 01:19:20PM +0900, Teika Kazura wrote: > > If the > > entire script is read at invocation, then why should / does > > modification affect? Is it a bug? > > The entire script *isn't* read at invocation.  Bash just reads a little > bi

Re: edit-and-execute-command is appropriately named, weird

2011-05-31 Thread David Thomas
my home internet is hooked up (which should be any day now...). On Sat, May 28, 2011 at 3:42 PM, Chet Ramey wrote: > On 5/27/11 6:20 PM, David Thomas wrote: >> Hi Chet, >> >> Thank you for the response, and the attempt at assistance. >> >> I was unaware of the POS

Re: edit-and-execute-command is appropriately named, weird

2011-05-27 Thread David Thomas
short term, I was able to get the behavior I want by overriding fc in the script in question, but I still think default behavior is ugly. Thanks again for the response, and I'm interested in your further thoughts. - David On Thu, May 26, 2011 at 9:09 AM, Chet Ramey wrote: > On 5/23/11 1

edit-and-execute-command is appropriately named, weird

2011-05-24 Thread David Thomas
Hi all, In using bash over the years, I've been quite happy to be able to hit ctrl-x ctrl-e to pull up an editor when my input has grown too complicated. When using read -e for input, however, the behavior I find makes a lot less sense: the input line is still opened in an editor, but the result