Re: bash history
On Mon, 15 Nov 2010 11:33:57 -0700, Bob wrote in message
> Arnt Karlsen wrote:
> > Bob wrote in message
> > > Arnt Karlsen wrote:
> > > > ..from grep --help |less: ;o)
> > > > -i, --ignore-case ignore case distinctions
> > >
> > > That is a grep option. It doesn't apply to bash's history search.
> > ..correct, that's _why_ we use such grep pipes instead. ;o)
> Uhm... You can't use grep to substitute for bash's Control-r
> function. You have completely misunderstood the question! Let me add
> some more lengthy explanation to clarify the operation.
> reverse-search-history (C-r)
> Search backward starting at the current line and moving
> `up' through the history as necessary. This is an
> incremental search.
> That is the emacs mode key which is almost the same as ESC-/ in vi
> editing mode. It searches through your command history and recalls
> matching commands to the command line. You can then edit the command
> and press Enter which then executes the command line. This is the
> WYSIWYG command line editing replacement for the old csh's ! history
> substitution mechanism.
..ah. I developed my bad pipe laying habits years before
installing radiance and leptonica-progs, both debs includes
a program named with the same annoying 5 first letters. ;o)
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.