title: Read a variable in bash with default value without -i option
body: <p>I would like to ask for user input with an <strong>editable</strong> default value, on <strong>Bash 3.x</strong>. Is that possible?</p>
  
  <p>In Bash 4, below works, but here <code>-i</code> switch is not implemented.</p>
  
  <pre><code>name="Alex"
  read -e -i "$name" -p "Please enter your name: " input
  name="${input:-$name}"
  </code></pre>