You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2014/04/28 16:40:14 UTC

[jira] [Created] (ACCUMULO-2742) History command incorrectly numbers commands

Mike Drob created ACCUMULO-2742:
-----------------------------------

             Summary: History command incorrectly numbers commands
                 Key: ACCUMULO-2742
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2742
             Project: Accumulo
          Issue Type: Bug
          Components: shell
    Affects Versions: 1.6.0
            Reporter: Mike Drob


When you use the history command, it will provide you with a list of previous commands that have been executed, each with a command number. However, if you try to use history expansion by number to invoke one of those commands, you will be off by one.

I think this is because the history command in added to the list after it shows you the list, and pushes everything else up by one. Uncertain if this is something we do wrong, or if this is an upstream JLine bug.



--
This message was sent by Atlassian JIRA
(v6.2#6252)