[PATCH] shell feature COMMAND_HISTORY_IGNOREDUPS

Vladimir N. Oleynik dzo at simtreas.ru
Tue Feb 21 11:58:37 UTC 2006


August,

> This little patch implements a little feature: ignore duplicate entries
> in shell history

I think, hardcoded features is bad idea.
bash have HISTCONTROL=ignoredups for control ignore/accept dups.
We can support this optional as example ash support HISTFILE variable for 
control enable/disable history.

But, HISTCONTROL strange variable... Is not array, but tristate
with different features. Hmmm.


--w
vodz



More information about the busybox mailing list