title: IF statement for different lines
body: <p>Question is simple, but I can't find a fast and elegant way to solve.</p>
  
  <p>I want to decide next: if block size of files is more than 6 then I should print filenames.</p>
  
  <pre><code>stat a.txt b.txt | awk '/Blocks/ {print $4} /File/ {print $2}'
  </code></pre>
  
  <p>This code returns</p>
  
  <pre><code>'a.txt'
  3
  'b.txt'
  10
  </code></pre>
  
  <p>But if I use <code>NR==...</code> it cuts row with filename.</p>