Chet Ramey wrote the following on 10.05.2007 05:46:

<snip>

> If you want to force the history file to be completely rewritten, you
> can use `history -w' at shell exit to rewrite it.  

$ top
$ htop
$ top
$ htop
$ history
    1  top
    2  htop
    3  history
$ history -w

in new shell:
$ history
    1  top
    2  htop
    3  history -w
    4  top
    5  htop
    6  history -w
    7  history



> There is, unfortunately,
> currently no easy way to force the `rewrite-at-exit' behavior.

:( ic

I have tried this trap thingy also, but unfortunatly it doesn´t work either
it seems.

> Chet

OK then thank you and i would like to open a wishlist bug for it.  ;)

bye Thilo
-- 
i am on Ubuntu 2.6 KDE
- some friend of mine

gpg key: 0x4A411E09



_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to