title: sed command is not working as supposed
body: <p>I can't wrap my head around a sed command. I have a text file in which I would like to change some values and for that, I am using the following command:</p>
  
  <pre><code>sed -i -e 's/Balance=[0]/Balance=[1]/g' syscfg.txt
  </code></pre>
  
  <p>As you can see I want to change value <em>Balance=[0] to Balance=[1]</em> but it doesn't happen. What more I tried this command on a test.txt where I have written "bla bla bla" and then I am running same command:</p>
  
  <pre><code>sed -i -e 's/bla/1/g' test.txt
  </code></pre>
  
  <p>and then it works. </p>
  
  <p>In the Balance=[0] there are no spaces so I thought it will be treated as a single string, but maybe it is something about the parenthesis[]? I checked plenty of posts and tried different variations of this command but nothing worked.</p>
  
  <p>And I am working on openWrt if that makes any change (Arduino Yun).</p>
  
  <p>Thanks in advance for some tips!</p>