title: Pipe output to zipped tar after cspilt
body: <p>So, I have the following situation: </p>
  
  <p>A code which produces a large (must be zipped) set of outputs as follows: </p>
  
  <pre><code>line00
  line01
  ...
  line0N
  .
  line10
  line11
  ...
  line1M
  .
  ...
  </code></pre>
  
  <p>I generate this content and zip it with: </p>
  
  <pre><code>./my_cmd | gzip -9 &gt; output.gz
  </code></pre>
  
  <hr>
  
  <p>What I would like to do is, in pseudo code: </p>
  
  <pre><code>./my_cmd \
  | csplit --prefix=foo '/^\.$/+1' {*} \  # &lt;-- this will just create files
  | tar -zf ??? \                 # &lt;-- don't know how to link files to tar
  | gzip -9 &gt; output.tar.gz
  </code></pre>
  
  <p>Ideally, nothing unzipped ever gets on the hard drive. </p>
  
  <p>In summary: My objective is a set of files split at the delimiter on the hard drive in a zipped state, without intermediate read-write steps. </p>
  
  <p>If I can't do this with tar/gzip/csplit, then maybe something else?</p>