Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0BE99B0B9 for ; Fri, 20 Jan 2012 16:22:02 +0000 (UTC) Received: (qmail 32759 invoked by uid 500); 20 Jan 2012 16:22:01 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 32715 invoked by uid 500); 20 Jan 2012 16:22:01 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 32700 invoked by uid 99); 20 Jan 2012 16:22:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2012 16:22:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2012 16:22:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 937FD158C20 for ; Fri, 20 Jan 2012 16:21:40 +0000 (UTC) Date: Fri, 20 Jan 2012 16:21:40 +0000 (UTC) From: "Jamie goodyear (Closed) (JIRA)" To: issues@karaf.apache.org Message-ID: <1708777159.60378.1327076500607.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1105157773.13053.1310168424343.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (KARAF-718) Grep doesn't work when piped from features:listurl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-718?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Jamie goodyear closed KARAF-718. -------------------------------- =20 > 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=C3=A9 > Priority: Minor > Fix For: 2.2.3, 3.0.0 > > Attachments: karaf-718.txt > > > features:listUrl writes its output to the console using session.getConsol= e().println() instead of System.out.println(). The GrepAction.java wraps S= ystem.in in a BufferedLineReader() in order to grab the output of the prece= ding 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.pr= intln(). 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 administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira