Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson Newsgroups: gnu.bash.bug Subject: Re: why must bash zap last search string just because we hit ^C? Date: Wed, 21 Oct 2015 11:29:36 +0800 Lines: 8 Approved: bug-bash@gnu.org Message-ID: References: <87io675lhj.fsf@jidanni.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: usenet.stanford.edu 1445398645 23352 208.118.235.17 (21 Oct 2015 03:37:25 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=OjyKqsY/SRg/RN/eJCmerRxoedY=; b=T7bAW5sNz8jR/ u+aiiAyxFJn+tzutpAb/x4oIvlRbeeoev80CKEPPHPKMdlxbclj8qq/yCF7RPbjc dwCk9FsZI7gW+4XgcH9EYWgwwef8vjXoNbmh1S4b3mLZMKh2lPLwFM78sCSCuHEW 2m0IlE7g9S+aTGE9CckD4dDH/r3Y70= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.97.132.208 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11729 > Press Ctrl-u OK I see this also works for $ ^Rabcdefg^U $ some command the boss told me to do $ ^R^R and voila! I am back to searching "abcdefg" again. OK, I'll remember ^U. Case closed. Thanks everybody.