title: Unix: Print file name and line number of each line that exceeds 80 characters of each file in a folder
body: <p>Title sums it up. I'm working in Unix, korn shell. And I'm trying to print the file name and line number of each line that exceeds 80 characters of each file in the current folder.</p>
  
  <p>I can use "<strong>awk 'length > 80' *.cpp</strong>" to give all lines longer than 80 characters, but I can't seem to pull out the line numbers or file names. I tried to use cat as well, because it allows for line numbers. </p>
  
  <p>The idea is to get output similar to this:</p>
  
  <pre><code>test.cpp line 36
      std::cout &lt;&lt; ... line that is over 80 characters
  
  test2.cpp line 40
      Another line that is over 80 characters
  </code></pre>
  
  <p>Any help would be amazing.</p>