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 11:48:00 UTC

[jira] [Updated] (KARAF-5420) Bad console behavior when dealing with the input stream for piped commands

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

Guillaume Nodet updated KARAF-5420:
-----------------------------------
    Description: 
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}


  was:
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+D / Ctrl+D are not handled correctly) :
{code}
grep o
{code}



> Bad console behavior when dealing with the input stream for piped commands
> --------------------------------------------------------------------------
>
>                 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
>
> 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)