]
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}