 <p><code>awk</code> acts like a filter by default. In your case, it's simply blocking on input. Unblock it by explicitly not having input, for example.</p> <pre><code>awk '...' &lt;/dev/null </code></pre>