Subject: bin/36021: /bin/sh history is broken
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <asau@hotbox.ru>
List: netbsd-bugs
Date: 03/17/2007 09:55:00
>Number:         36021
>Category:       bin
>Synopsis:       /bin/sh history is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 17 09:55:00 +0000 2007
>Originator:     Aleksej Saushev
>Release:        3.1
>Organization:
>Environment:
NetBSD 3.1
>Description:
Reexecution of commands entered earlier is not possible,
"fc" command either ends with infinite loop, or segmentation
fault.
>How-To-Repeat:
echo this
fc -s this=that

or:

cat this
fc -s cat=echo

>Fix: