Hello,

I want to detect, in a gogo script, if at least N features are installed in 
Karaf (in order to show an "help" message).

I am trying to do something like :

featuresCount = (features:list -r | grep xxx | wc -l)

however, I can't test featuresCount because it's not a number (wc -l seem to 
return a string with two values..) How can I make such test in karaf/gogo ?

Regards,
Jérémie

Reply via email to