[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stu Hood updated ZOOKEEPER-1535:
--------------------------------

    Description: 
In the ZK 3.4.3 release's version of zkCli.sh, the last command that was 
executed is *re*-executed when you {{ctrl+d}} out of the shell. In the snippet 
below, {{ls}} is executed, and then {{ctrl+d}} is triggered (inserted below to 
illustrate), the output from {{ls}} appears again, due to the command being 
re-run. 
{noformat}
[zk: zookeeper.example.com:2181(CONNECTED) 0] ls /blah
[foo]
[zk: zookeeper.example.com:2181(CONNECTED) 1] <ctrl+d> [foo]
$
{noformat}

  was:
In the ZK 3.4.3 release's version of zkCli.sh, the last command that was 
executed is *re*-executed when you {{ctrl+d}} out of the shell. In the snippet 
below, {{ls}} is executed, and then {{ctrl+d}} is triggered (inserted below to 
illustrate), the output from {{ls}} appears again, due to the command being 
re-running. 
{noformat}
[zk: zookeeper.example.com:2181(CONNECTED) 0] ls /blah
[foo]
[zk: zookeeper.example.com:2181(CONNECTED) 1] <ctrl+d> [foo]
$
{noformat}

    
> ZK Shell/Cli re-executes last command on exit
> ---------------------------------------------
>
>                 Key: ZOOKEEPER-1535
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1535
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>         Environment: zookeeper-3.4.3 release
>            Reporter: Stu Hood
>              Labels: cli, shell, zkcli, zkcli.sh
>
> In the ZK 3.4.3 release's version of zkCli.sh, the last command that was 
> executed is *re*-executed when you {{ctrl+d}} out of the shell. In the 
> snippet below, {{ls}} is executed, and then {{ctrl+d}} is triggered (inserted 
> below to illustrate), the output from {{ls}} appears again, due to the 
> command being re-run. 
> {noformat}
> [zk: zookeeper.example.com:2181(CONNECTED) 0] ls /blah
> [foo]
> [zk: zookeeper.example.com:2181(CONNECTED) 1] <ctrl+d> [foo]
> $
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to