<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 09:38:05 +0000</lastBuildDate>
    <item>
      <title>(Bash) Floating point average - nickaubert</title>
      <link>https://snipplr.com/view/46514/floating-point-average</link>
      <description>&lt;p&gt;All on one line for CLI convenience.&#13;
&#13;
In this example, "file1" is assumed to contain a single column of floating point numbers.  To get the average of the second column in a comma separated values file, change `cat $FILE` to `cat $FILE | cut -d, -f 2`&#13;
&#13;
SCALE refers to the number of decimal places after the dot.&lt;/p&gt;</description>
      <pubDate>Wed, 05 Jan 2011 04:20:02 UTC</pubDate>
      <guid>https://snipplr.com/view/46514/floating-point-average</guid>
    </item>
  </channel>
</rss>
