Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: boqsc
  • Order by date
  1. boqsc

    Nested IF statement with Regex operator in a While loop, Stops the loop

    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...
  2. boqsc

    Using IF statement's Regex comparison operator in a C Style For Loop

    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'...
  3. boqsc

    [Regex] Selecting content between round brackets, also including round brackets

    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...

Part and Inventory Search

Back
Top