karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-5420) Bad console behavior when dealing with the input stream with the exec command
Date Thu, 12 Oct 2017 14:38:00 GMT

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

Mime
View raw message