title: Create bins with awk histogram-like
body: <p>Here's my input file :</p>
  
  <pre><code>1.37987
  1.21448
  0.624999
  1.28966
  1.77084
  1.088
  1.41667
  </code></pre>
  
  <p>I would like to create bins of a size of my choice to get histogram-like output, e.g. something like this for 0.1 bins, starting from 0 :</p>
  
  <pre><code>0 0.1 0
  ...
  0.5 0.6 0
  0.6 0.7 1
  ...
  1.0 1.1 1
  1.1 1.2 0
  1.2 1.3 2
  1.3 1.4 1
  ...
  </code></pre>
  
  <p>My file is too big for R, so I'm looking for an awk solution (also open to anything else that I can understand, as I'm still a Linux beginner).</p>
  
  <p>This was sort of already answered in this post : <a href="https://stackoverflow.com/questions/6948586/awk-histogram-in-buckets">awk histogram in buckets</a> but the solution is not working for me.</p>