title: Strange return value "134" to call Gawk in a Bash script
body: <p>I met a very very strange issue when using <a href="https://en.wikipedia.org/wiki/AWK#Versions_and_implementations" rel="nofollow noreferrer">Gawk</a> in a Bash script.</p>
  <p>In this script, I use a function to do some text processing. Even a very simple Gawk command will return error 134.</p>
  <pre><code> #!/bin/bash
  
   testFunc()
   {
     log &quot;Before gawk: $?&quot;
     gawk '{print}' file
     log &quot;After gawk: $?&quot;
   }
  </code></pre>
  <p>If I manually run this script in console, it will work perfectly. <code>$?</code> will always be 0 which means success, but if I use this script as a Linux startup script in <em>etc/rc.d/</em> for level 3, after Gawk is executed, the <code>$?</code> is always <code>134</code>. What's the meaning of 134?</p>
  <p>If I replace <code>gawk '{print}' file</code> to <code>gawk --version</code>, the result is OK. $? is 0.</p>