Linux Mastering Development

Compare string containing a colon

I want to create a toggle key for a Gnome extension. An extension keeps up with its state in a property. I chose this extension for example purpose: gnome-extensions show | grep State I was expecting to use the turned value and do a string compare, but I am having problems. The returned value […]