Is "=~" really a comparison operator? I had this question,
but somehow the tests that I did, showed that it is not an assignment operator. So it must be comparison operator?
Still unsure. The way it is acting in my code is kind of weird
I recently tried to nest If statement that contains...
I'm trying to convert a While statement into a For Loop, but I'm not very successful and unsure if it is even possible.
Error output syntax error: operand expected
./script.bash: line 9: ((: [[ ['firefox.desktop', 'google-chrome.desktop', 'thunderbird.desktop', 'org.gnome.Nautilus.desktop'...
I'm gluing together a small block of bash code that would parse the output of gsettings get command.
I'm not sure what's wrong here.
This is the example of input. (gsettings get org.gnome.desktop.input-sources sources)
[('xkb', 'us'), ('xkb', 'lt')]
This is the code that parses the input...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.