title: cURL live output CLI
body: <p>I try to have a "live output" of a web page in a shell script ; to explain, a little example :</p>
  
  <p>With this "localhost/index.php" like this:</p>
  
  <pre><code>&lt;?php
  header('Content-type: text/html; charset=utf-8');
  echo 'Start&lt;br /&gt;'.PHP_EOL;
  for( $i = 0 ; $i &lt; 10 ; $i++ )
      {
          echo '.';
          flush();ob_flush();
          sleep(1);
      }
  echo PHP_EOL.'&lt;br /&gt;End';
  ?&gt;
  </code></pre>
  
  <p>I want to write a shell script which permit to have the "dots" on the screen that appears each second.</p>
  
  <p>If I try this :</p>
  
  <pre><code>#!/bin/bash
  curl 'localhost/index.php'
  </code></pre>
  
  <p>It shows the output only after each breaklines... Not after each update (or "echo" in PHP script)
  If a pipe this, all output will be show at the end :/</p>
  
  <p>Is there a way to have the real time output, like in a browser ?</p>