title: slurping /proc/cpuinfo with clojure
body: <p>(Clojure newbie)</p>
  
  <p>On my linux machine, slurping <code>/proc/cpuinfo</code> raises an error:</p>
  
  <pre><code>user=&gt; (slurp "/proc/cpuinfo")
  java.io.IOException: Invalid argument (NO_SOURCE_FILE:0)
  </code></pre>
  
  <p>Anybody knows why that is? (is the /proc filesystem some kind of second-class citizen in Java?)</p>
  
  <p>Edit: the following code, adapted from nakkaya.com, works flawlessly:</p>
  
  <pre><code>(with-open [rdr (java.io.BufferedReader. 
               (java.io.FileReader. "/proc/cpuinfo"))]
     (let [seq (line-seq rdr)]
     (apply print seq)))
  </code></pre>
  
  <p>I wonder why this difference ?</p>