Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2003 01:14:34 GMT
From:      abc@ai1.anchorage.mtaonline.net
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/54683: sh, redundant history
Message-ID:  <200307210114.h6L1EYvM039412@en26.ai1.anchorage.mtaonline.net>
Resent-Message-ID: <200307210120.h6L1KBt3007898@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307210114.h6L1EYvM039412>