You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2017/10/12 14:38:00 UTC

[jira] [Resolved] (KARAF-5420) Bad console behavior when dealing with the input stream with the exec command

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

Guillaume Nodet resolved KARAF-5420.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.2.0

The following now works correctly:
{code}
karaf@root()> exec uname -s | exec tr '[:upper:]' '[:lower:]' | exec grep --color=force [aeiou]
darwin
{code}

> Bad console behavior when dealing with the input stream with the exec command
> -----------------------------------------------------------------------------
>
>                 Key: KARAF-5420
>                 URL: https://issues.apache.org/jira/browse/KARAF-5420
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.2.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 4.2.0
>
>
> The following command behaves correctly:
> {code}
> echo foo | grep o
> {code}
> However, the following one never ends:
> {code}
> echo foo | exec grep o
> {code}
> The following ones also behaves incorrectly (enter does not print a new line, and Ctrl+C / Ctrl+D are not handled correctly) :
> {code}
> grep o
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)