bin/54683: sh, redundant history

abc at abc at
Sun Jul 20 18:20:13 PDT 2003

>Number:         54683
>Category:       bin
>Synopsis:       sh, redundant history
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 20 18:20:10 PDT 2003
>Originator:     Joe Public
>Release:        i386 FreeBSD 4.8-RELEASE
no org
FreeBSD en26 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 17 21:11:57 AKDT 2003     root at en26:/usr/src/sys/compile/MYKERN  i386
sh history stores consecutive redundant lines for no reason.
enter the same command many times at a sh prompt.
don't enter command into history if equal to last command.
                it is a minor irritant to scroll back thru sh history stepping
                past multiple consecutive and redundant lines, and there is no
                good reason for storing multiple consecutive/redundant lines.

More information about the freebsd-bugs mailing list