Subject: Re: bashism for ksh
To: None <tech-userlevel@NetBSD.org>
From: Christian Biere <firstname.lastname@example.org>
Date: 01/30/2007 01:07:57
Aymeric Vincent wrote:
> thing I miss which is also a csh/bash'ism is using bang (!) to
> re-execute a previous command (it's "fc -s" in sh) and the variation I
> didn't find any equivalent for: "!?" to do the same but search
> anywhere in the line, not just at the beginning.
If you mean interactively, Control-R is bound to search-history by
default (also in bash), and allows searching in the history.