Split large csv file and keep header in each part
<p>How to split a large csv file (~100GB) and preserve the header in each part ?</p>

<p>For instance</p>

<pre><code>h1 h2
a  aa
b  bb
</code></pre>

<p>into</p>

<pre><code>h1 h2
a  aa
</code></pre>

<p>and </p>

<pre><code>h1 h2
b  bb
</code></pre>