[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] databases for bash and other data structures
From: |
Chris F.A. Johnson |
Subject: |
Re: [Help-bash] databases for bash and other data structures |
Date: |
Wed, 13 Mar 2013 02:36:53 -0400 (EDT) |
User-agent: |
Alpine 2.00 (LMD 1167 2008-08-23) |
On Tue, 12 Mar 2013, Jesse Molina wrote:
Hello everyone
I have a huge complicated script that now needs a database.
My needs are very modest. A comma delineated file would probably be fine,
but this script is going to be both reading and writing to it's tables. It's
mostly when I have to start writing my data out that stuff gets ugly.
How big are the tables?
Can you read a CSV file into memory with mapfile, modify it in
memory, then write the whole array back to disk?
--
Chris F.A. Johnson, <http://cfajohnson.com/>
Author:
Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Re: [Help-bash] databases for bash and other data structures,
Chris F.A. Johnson <=
[Help-bash] redirection again and again and ..., lxnf98mm, 2013/03/13