title: Grep lines with certain character count, including line break
body: <p>I need to grep only lines with a certain length but also <strong>including</strong> newline/linebreak. So the first line will be one char longer than the other one.</p>
  
  <blockquote>
    <p>Example:</p>
  </blockquote>
  
  <pre><code>"Random text with certain length\n"
  "Random text with certain length"
  EOF
  </code></pre>
  
  <p>I used grep as following: </p>
  
  <pre><code>grep -E "^.{length}$"
  </code></pre>
  
  <p>resulting printing both lines as they are same char count because it doesn't count the \n as char</p>
  
  <p>Thanks for any ideas. </p>