[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] build system: use find \! insetad of -not, which is not POSIX
From:       Xabier Oneca  --  xOneca <xoneca () gmail ! com>
Date:       2013-11-27 18:04:52
Message-ID: CACkgH71g5Bk=Kvy_=hUxshfSyH=9KLAGajLeRq6OJZLtba9aSw () mail ! gmail ! com
[Download RAW message or body]

2013/11/27 Rich Felker <dalias@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!
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic