[PATCH] build system: use find \! insetad of -not, which is not POSIX

Xabier Oneca -- xOneca xoneca at gmail.com
Wed Nov 27 18:04:52 UTC 2013

2013/11/27 Rich Felker <dalias at aerifal.cx>:
> On Wed, Nov 27, 2013 at 06:06:41AM +0100, Harald Becker wrote:
>> Hi Xabier !
>> >Indeed, it's a feature I have personally never used, but it
>> >annoys me every time I want to use an exclamation mark in the
>> >shell... :S
>> Just in case you do not know, you can disable this feature in
>> bash. I think it's "set +H", else look in bash manpage under the
>> topic History Expansion.
> Yes, that's it. I have a $ENV file I share with multiple shells (not
> just bash) and this line works very well:
> case "$-" in *H*) set +H ;; esac
> Rich

Thank you both Harald and Rich!

I thought '!' was part of command history and that it couldn't be
disabled without disabling *all* cmd history!

Good. Straight to all my .bashrc files right now!

More information about the busybox mailing list