karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie goodyear (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (KARAF-718) Grep doesn't work when piped from features:listurl
Date Fri, 20 Jan 2012 16:21:40 GMT

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

Jamie goodyear closed KARAF-718.

> Grep doesn't work when piped from features:listurl
> --------------------------------------------------
>                 Key: KARAF-718
>                 URL: https://issues.apache.org/jira/browse/KARAF-718
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>            Reporter: Michael Van Geertruy
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 2.2.3, 3.0.0
>         Attachments: karaf-718.txt
> features:listUrl writes its output to the console using session.getConsole().println()
instead of System.out.println().  The GrepAction.java wraps System.in in a BufferedLineReader()
in order to grab the output of the preceding command. Because features:listurl doesn't write
anything to the System, grep has nothing to filter.  The fix for this is to change all instances
of session.getConsole().println() in ListUrlcommand.java with System.out.println().  I will
be submitting a patch for this shortly.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message