You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2010/11/15 18:03:14 UTC
[jira] Created: (KARAF-275) The option '-l' of the command
osgi:list used in combination with grep does not display anything
The option '-l' of the command osgi:list used in combination with grep does not display anything
------------------------------------------------------------------------------------------------
Key: KARAF-275
URL: https://issues.apache.org/jira/browse/KARAF-275
Project: Karaf
Issue Type: Improvement
Affects Versions: 2.1.0
Reporter: Charles Moulliard
karaf@root> list | grep Aries
[ 7] [Active ] [Created ] [ ] [ 20] Apache Aries Blueprint Bundle (0.2.0.incubating)
[ 14] [Active ] [ ] [ ] [ 30] Apache Aries JMX Blueprint Bundle (0.2.0.incubating)
[ 26] [Active ] [ ] [ ] [ 30] Apache Aries JMX Bundle (0.2.0.incubating)
[ 49] [Active ] [ ] [ ] [ 60] Apache Aries Transaction Manager (0.2.0.incubating)
[ 166] [Active ] [GracePeriod ] [ ] [ 60] Reportincident :: Persistence JPA :: Aries (1.0.0.SNAPSHOT)
karaf@root> list -l | grep Aries
karaf@root>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-275) The option '-l' of the command
osgi:list used in combination with grep does not display anything
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932390#action_12932390 ]
Guillaume Nodet commented on KARAF-275:
---------------------------------------
Charles, the grep command will filter the output case sensitively. The '-l' option on the list command will change the output, so the results will be different.
If you want to filter case insensitively, use 'grep -i'.
> The option '-l' of the command osgi:list used in combination with grep does not display anything
> ------------------------------------------------------------------------------------------------
>
> Key: KARAF-275
> URL: https://issues.apache.org/jira/browse/KARAF-275
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.1.0
> Reporter: Charles Moulliard
>
> karaf@root> list | grep Aries
> [ 7] [Active ] [Created ] [ ] [ 20] Apache Aries Blueprint Bundle (0.2.0.incubating)
> [ 14] [Active ] [ ] [ ] [ 30] Apache Aries JMX Blueprint Bundle (0.2.0.incubating)
> [ 26] [Active ] [ ] [ ] [ 30] Apache Aries JMX Bundle (0.2.0.incubating)
> [ 49] [Active ] [ ] [ ] [ 60] Apache Aries Transaction Manager (0.2.0.incubating)
> [ 166] [Active ] [GracePeriod ] [ ] [ 60] Reportincident :: Persistence JPA :: Aries (1.0.0.SNAPSHOT)
> karaf@root> list -l | grep Aries
> karaf@root>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-275) The option '-l' of the command
osgi:list used in combination with grep does not display anything
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932115#action_12932115 ]
Charles Moulliard commented on KARAF-275:
-----------------------------------------
So the behavior is not consistent.
With the command '-l' the lower case must be used
{code}
karaf@root> list -l | grep aries
[ 7] [Active ] [Created ] [ ] [ 20] mvn:org.apache.aries.blueprint/org.apache.aries.blueprint/0.2-incubating
[ 14] [Active ] [ ] [ ] [ 30] mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint/0.2-incubating
[ 26] [Active ] [ ] [ ] [ 30] mvn:org.apache.aries.jmx/org.apache.aries.jmx/0.2-incubating
[ 49] [Active ] [ ] [ ] [ 60] mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/0.2-incubating
[ 166] [Active ] [GracePeriod ] [ ] [ 60] mvn:org.apache.camel.example.reportincident/persistence-jpa-aries/1.0-SNAPSHOT
[ 167] [Installed ] [ ] [ ] [ 60] mvn:org.apache.aries.jpa/org.apache.aries.jpa.blueprint.aries/0.2-incubating
AND not with list command alone
karaf@root> list | grep Aries
[ 7] [Active ] [Created ] [ ] [ 20] Apache Aries Blueprint Bundle (0.2.0.incubating)
[ 14] [Active ] [ ] [ ] [ 30] Apache Aries JMX Blueprint Bundle (0.2.0.incubating)
[ 26] [Active ] [ ] [ ] [ 30] Apache Aries JMX Bundle (0.2.0.incubating)
[ 49] [Active ] [ ] [ ] [ 60] Apache Aries Transaction Manager (0.2.0.incubating)
[ 166] [Active ] [GracePeriod ] [ ] [ 60] Reportincident :: Persistence JPA :: Aries (1.0.0.SNAPSHOT)
[ 167] [Installed ] [ ] [ ] [ 60] Aries JPA Container blueprint integration for Aries blueprint (0.2.0.incubating)
karaf@root> list | grep aries
[ 90] [Active ] [Created ] [ ] [ 60] Apache ServiceMix :: Components :: Shared Libraries :: Common (2010.02.0.fuse-01-00)
{code}
> The option '-l' of the command osgi:list used in combination with grep does not display anything
> ------------------------------------------------------------------------------------------------
>
> Key: KARAF-275
> URL: https://issues.apache.org/jira/browse/KARAF-275
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.1.0
> Reporter: Charles Moulliard
>
> karaf@root> list | grep Aries
> [ 7] [Active ] [Created ] [ ] [ 20] Apache Aries Blueprint Bundle (0.2.0.incubating)
> [ 14] [Active ] [ ] [ ] [ 30] Apache Aries JMX Blueprint Bundle (0.2.0.incubating)
> [ 26] [Active ] [ ] [ ] [ 30] Apache Aries JMX Bundle (0.2.0.incubating)
> [ 49] [Active ] [ ] [ ] [ 60] Apache Aries Transaction Manager (0.2.0.incubating)
> [ 166] [Active ] [GracePeriod ] [ ] [ 60] Reportincident :: Persistence JPA :: Aries (1.0.0.SNAPSHOT)
> karaf@root> list -l | grep Aries
> karaf@root>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (KARAF-275) The option '-l' of the command osgi:list
used in combination with grep does not display anything
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Moulliard closed KARAF-275.
-----------------------------------
Resolution: Fixed
No modification is required as the grep -i option allows to find bundles with Upper or Lowercase
> The option '-l' of the command osgi:list used in combination with grep does not display anything
> ------------------------------------------------------------------------------------------------
>
> Key: KARAF-275
> URL: https://issues.apache.org/jira/browse/KARAF-275
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.1.0
> Reporter: Charles Moulliard
>
> karaf@root> list | grep Aries
> [ 7] [Active ] [Created ] [ ] [ 20] Apache Aries Blueprint Bundle (0.2.0.incubating)
> [ 14] [Active ] [ ] [ ] [ 30] Apache Aries JMX Blueprint Bundle (0.2.0.incubating)
> [ 26] [Active ] [ ] [ ] [ 30] Apache Aries JMX Bundle (0.2.0.incubating)
> [ 49] [Active ] [ ] [ ] [ 60] Apache Aries Transaction Manager (0.2.0.incubating)
> [ 166] [Active ] [GracePeriod ] [ ] [ 60] Reportincident :: Persistence JPA :: Aries (1.0.0.SNAPSHOT)
> karaf@root> list -l | grep Aries
> karaf@root>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-275) The option '-l' of the command
osgi:list used in combination with grep does not display anything
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932113#action_12932113 ]
Guillaume Nodet commented on KARAF-275:
---------------------------------------
Well, that's kinda expected since the "Aries" string does not appear in the output.
Try with "aries" (lower-case 'a'), or use the case insensitive grep flag.
> The option '-l' of the command osgi:list used in combination with grep does not display anything
> ------------------------------------------------------------------------------------------------
>
> Key: KARAF-275
> URL: https://issues.apache.org/jira/browse/KARAF-275
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.1.0
> Reporter: Charles Moulliard
>
> karaf@root> list | grep Aries
> [ 7] [Active ] [Created ] [ ] [ 20] Apache Aries Blueprint Bundle (0.2.0.incubating)
> [ 14] [Active ] [ ] [ ] [ 30] Apache Aries JMX Blueprint Bundle (0.2.0.incubating)
> [ 26] [Active ] [ ] [ ] [ 30] Apache Aries JMX Bundle (0.2.0.incubating)
> [ 49] [Active ] [ ] [ ] [ 60] Apache Aries Transaction Manager (0.2.0.incubating)
> [ 166] [Active ] [GracePeriod ] [ ] [ 60] Reportincident :: Persistence JPA :: Aries (1.0.0.SNAPSHOT)
> karaf@root> list -l | grep Aries
> karaf@root>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.