[EMAIL PROTECTED] wrote: > Bash Version: 3.1 > Patch Level: 11 > Release Status: release > > Description: > I've noticed that if I use ',' to repeat a substitution > in vi-mode, bash either dumps core or goes into a hard > loop. > > Repeat-By: > Any command should do, I used this now as I was filling out > this form: > > $ set -o vi > $ date; date; date > Fri Mar 3 12:53:06 CST 2006 > Fri Mar 3 12:53:06 CST 2006 > Fri Mar 3 12:53:07 CST 2006 > > Now, with vi-mode in effect, type 'ESC -' to bring up the > "date..." command, type 'f e' to move the cursor to the > first 'e', type 'r e' to replace the 'e' with 'e', type ';' > to move the cursor to the second 'e', type '.' to repeat > the previous substitution. > > For me, bash goes into a hard loop at this point and I need > to 'kill -9' the process.
I can't reproduce it. Can you run this in a debugger and get a stack trace of the point it goes into the hard loop or core dumps? (Or anyone else, if they can produce it as well.) Thanks. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet ) Live Strong. No day but today. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash