Tue Feb 28 15:06:29 EST 2012

Query DB in bash

What's the simplest way to map a bash function over a table?  It turns
out to be simplest to just put the function in a script and use xargs.
However this makes maintaining state a bit hard.

Bottom line: use a real programming language, or implement the
procedure in straight SQL.