Karaf Console after upgrade to #1029

Stupid question, but I’m stuck - how to use grep in new version?
When i hit Enter - new line appears and i dont know how to run command.

openhab> log:tail | grep 'Rule
quote>  '

Huh? If you open quotes (a single ’ ) you need to close them (second ’ ) before the command is accepted. It’s always been like that.

I don’t know know to explane that, when i hit enter quotes go to next line - here is video :sunglasses:

how did you create both quote chars in one go? Try to enter both of them manually.

If i create one, second appears automatically, and i can not move cursor over it to the right.

Don’t use


instead use


with SHIFT key and hit the sign twice.

Ever tried to nevertheless enter another ’ ?

1 Like

Yes… openhab> log:tail | grep ‘123’ now it runs, but grep not works.
I try any symbols in quotes, still show whole logs entries.
This is crazy

When i hit ctrl-c:

16:56:08.098 [INFO ] [smarthome.event.ItemStateChangedEvent] - Device_SDM120_PowerFactor changed from 0.86 to 0.85
16:56:08.372 [INFO ] [smarthome.event.ItemStateChangedEvent] - Device_Zbox_Temp changed from 56.0 to 57.0
grep: java.nio.channels.ClosedByInterruptException

shows exception

Quotes should be equal single quote chars: '123'
(Jung’, sorry aber dat is’ Englisch!)
Or use none at all if you don’t need to grep for whitespaces, or just grep from the (Juuuhnicks) shell.

Seriously, if you still feel this to be an error, open a Github issue with the ESH project, please (or even Karaf maybe? I guess they’ll tell you if so).

1 Like

UUAAAA! Thanks a lot! This made me nuts for about one hour!