You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2016/12/29 07:36:58 UTC
[jira] [Commented] (ACCUMULO-4543) backslashes in shell commands
are consumed when using up key
[ https://issues.apache.org/jira/browse/ACCUMULO-4543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15784760#comment-15784760 ]
Christopher Tubbs commented on ACCUMULO-4543:
---------------------------------------------
This might be an issue with the jline library, rather than a bug specific to Accumulo.
> backslashes in shell commands are consumed when using up key
> ------------------------------------------------------------
>
> Key: ACCUMULO-4543
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4543
> Project: Accumulo
> Issue Type: Bug
> Components: shell
> Affects Versions: 1.7.1
> Reporter: Michael Berman
>
> If you pull a command out of your shell history with the up key, one slash gets consumed from each sequence of slashes. As in:
> {code}
> $ grep \\x00something\\x00
> > results...
> $ [up]
> $ grep \x00something\x00
> > no results because now you're not escaped
> $ [up]
> $ grep x00somethingx00
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)