title: How to add [ ] brackets around first character of a word using bash
body: <p>My question is described here <a href="https://stackoverflow.com/questions/16187824/add-square-bracket-to-the-first-character-of-string">Add square bracket to the first character of string</a> . </p>
  
  <p>Using the above link reference, I am trying from past 4 hours to get the result using bash.</p>
  
  <p>Any workaround using sed.</p>
  
  <pre><code>#!/bin/bash
  DESC="openerp-server"
  
  initial="$(echo "$DESC" | sed 's/(.)/'[\1]'/g')"
  echo $initial
  </code></pre>
  
  <p>Thanks.</p>