title: gawk simple programs differences
body: <p>Given the following input:</p>
  
  <pre><code> SQ   SEQUENCE   365 AA;  40909 MW;  78539C59DB8B1DFC CRC64;
        MAVMAPRTLV LLLSGALALT QTWAGSHSMR YFYTSVSRPG RGEPRFIAVG YVDDTQFVRF
        DSDAASQRME PRAPWIEQEG PEYWDRNTRN VKAQSQTDRV DLGTLRGYYN QSEAGSHTIQ
        MMYGCDVGSD GRFLRGYRQD AYDGKDYIAL KEDLRSWTAA DMAAQTTKHK WEAAHVAEQW
        RAYLEGTCVE WLRRYLENGK ETLQRTDAPK THMTHHAVSD HEATLRCWAL SFYPAEITLT
        WQRDGEDQTQ DTELVETRPA GDGTFQKWVA VVVPSGQEQR YTCHVQHEGL PKPLTLRWEP
        SSQPTIPIVG IIAGLVLFGA VITGAVVAAV MWRRKSSDRK GGSYSQAASS DSAQGSDVSL
        TACKV
  </code></pre>
  
  <p>I need to join the lines which starts with 5 spaces. The following simple gawk commands first filters white-starting lines, and the other one strips out the white spaces, and it works as intended (I know there are many ways I can do this, I'm just learning <code>gawk</code> now):</p>
  
  <pre><code>gawk /^"     "/ input | gawk '{ gsub (" ", "", $0); print }'
  </code></pre>
  
  <p>My question is why, if I unite the two commands into one, it doesn't print anything. I'm sure it's a syntax issue somewhere:</p>
  
  <pre><code>gawk '/^"     "/ { gsub (" ", "", $0); print }' input
  </code></pre>