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 2017/01/03 21:56: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=15796301#comment-15796301 ] 

Christopher Tubbs commented on ACCUMULO-4543:
---------------------------------------------

Oh, interesting. Let me know if you get a chance to look at this. I'm very interested in making future improvements to the shell and related tooling. In particular, I think it's frustrating how we handle multi-byte characters. (What if I want to use 🎄 as a delimiter?)

> 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)