bin/54683: sh, redundant history

abc at ai1.anchorage.mtaonline.net abc at ai1.anchorage.mtaonline.net
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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 20 18:20:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Joe Public
>Release:        i386 FreeBSD 4.8-RELEASE
>Organization:
no org
>Environment:
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
>Description:
sh history stores consecutive redundant lines for no reason.
>How-To-Repeat:
enter the same command many times at a sh prompt.
>Fix:
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.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list