Fsdb
view release on metacpan or search on metacpan
README.html view on Meta::CPAN
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Fsdb - a flat-text database for shell scripting</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>
<body>
<h1 id="NAME">NAME</h1>
<p>Fsdb - a flat-text database for shell scripting</p>
<h1 id="SYNOPSIS">SYNOPSIS</h1>
<p>Fsdb, the flatfile streaming database is package of commands for manipulating flat-ASCII databases from shell scripts. Fsdb is useful to process medium amounts of data (with very little data you'd do it by hand, with megabytes you might want a...
<p>Fsdb is very good at doing things like:</p>
<ul>
<li><p>extracting measurements from experimental output</p>
</li>
<li><p>examining data to address different hypotheses</p>
</li>
<li><p>joining data from different experiments</p>
</li>
<li><p>eliminating/detecting outliers</p>
</li>
<li><p>computing statistics on data (mean, confidence intervals, correlations, histograms)</p>
</li>
<li><p>reformatting data for graphing programs</p>
</li>
</ul>
<p>Fsdb is built around the idea of a flat text file as a database. Fsdb files (by convention, with the extension <i>.fsdb</i>), have a header documenting the schema (what the columns mean), and then each line represents a database record (or row).</...
<p>For example:</p>
<pre><code>#fsdb experiment duration
ufs_mab_sys 37.2
ufs_mab_sys 37.3
ufs_rcp_real 264.5
ufs_rcp_real 277.9</code></pre>
<p>Is a simple file with four experiments (the rows), each with a description, size parameter, and run time in the first, second, and third columns.</p>
<p>Rather than hand-code scripts to do each special case, Fsdb provides higher-level functions. Although it's often easy throw together a custom script to do any single task, I believe that there are several advantages to using Fsdb:</p>
<ul>
<li><p>these programs provide a higher level interface than plain Perl, so</p>
<dl>
<dt id="pod">**</dt>
( run in 0.927 second using v1.01-cache-2.11-cpan-524268b4103 )