[forge-issues] [JBoss JIRA] (FORGE-2168) Using grep causes forge to print the prompt for the 1st line matched
George Gastaldi (JIRA)
issues at jboss.org
Tue Dec 16 08:26:30 EST 2014
[ https://issues.jboss.org/browse/FORGE-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Gastaldi updated FORGE-2168:
-----------------------------------
Component/s: UI - Shell
> Using grep causes forge to print the prompt for the 1st line matched
> --------------------------------------------------------------------
>
> Key: FORGE-2168
> URL: https://issues.jboss.org/browse/FORGE-2168
> Project: Forge
> Issue Type: Bug
> Components: UI - Shell
> Affects Versions: 2.12.3.Final
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 2.x Future
>
>
> I noticed that when i pipe to grep, then the 1st matched line is printed with the prompt prefixed.
> eg try this
> {code}
> forge-distribution-2.12.3.Final]$ addon-list | grep parser
> [forge-distribution-2.12.3.Final]$ org.jboss.forge.addon:parser-java,2.12.3.Final
> org.jboss.forge.addon:parser-json,2.12.3.Final
> org.jboss.forge.addon:parser-xml,2.12.3.Final
> {code}
> Notice how that parser-java has the prompt printed prior. Ideally it should be
> {code}
> forge-distribution-2.12.3.Final]$ addon-list | grep parser
> org.jboss.forge.addon:parser-java,2.12.3.Final
> org.jboss.forge.addon:parser-json,2.12.3.Final
> org.jboss.forge.addon:parser-xml,2.12.3.Final
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the forge-issues
mailing list