title: Beginning and end of words in sed and grep
body: <p>I don't understand the difference between <code>\b</code> and <code>\&lt;</code> in GNU sed and GNU grep. It seems to me <code>\b</code> can always  replace <code>\&lt;</code> and <code>\\&gt;</code> without changing the set of matching strings.</p>
  
  <p>More specifically, I am trying to find examples in which <code>\bsomething</code> and <code>\\&lt; something</code>
  do not match exactly the same strings.</p>
  
  <p>Same question for <code>something\b</code> and <code>something\\&gt;</code>.</p>
  
  <p>Thank you</p>