Claus Ibsen created FORGE-2168:
----------------------------------
Summary: 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
Affects Versions: 2.12.3.Final
Reporter: Claus Ibsen
Priority: Minor
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)