[PATCH] ash: ignore duplicate history entries

Alexander Kriegisch Alexander at Kriegisch.name
Fri Feb 22 07:26:27 UTC 2008


If this patch eliminates duplicates which directly follow upon each
other in the history, I welcome it very much, because the usual
behaviour is quite annoying. If it eliminates duplicates in the whole
history (like the UNIX command 'uniq'), this might not be desired, but
without having applied the patch I just assume you implemented variant
#1 and say it is a great thing to have.

Regards
--
Alexander Kriegisch


> I wrote a patch to ignore duplicates if HISTCONTROL contains
> "ignoredups". This is bash's behaviour I got used to. Haven't
> implemented the other options HISTCONTROL offers, as they don't make
> much sense to me.




More information about the busybox mailing list