From: "Thomas Gstädtner" <thomas@gstaedtner.net>
To: zsh-users@zsh.org
Subject: read/write associative array from/to file
Date: Tue, 03 Jan 2012 03:12:11 +0100 [thread overview]
Message-ID: <4F0263FB.2000202@gstaedtner.net> (raw)
Hi list,
I want to read and write an associative array from/to a file, i.e. a
very simple key-value database. Is this possible; if so, how?
If not, what would be the most practical solution to work with a file
like this?
---
key1 value1
key2 value2
key3 value3
...
---
Thanks in advance,
thomasg
next reply other threads:[~2012-01-03 1:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-03 2:12 Thomas Gstädtner [this message]
2012-01-03 9:40 ` Jérémie Roquet
2012-01-03 17:02 ` Wayne Davison
2012-01-05 5:20 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F0263FB.2000202@gstaedtner.net \
--to=thomas@gstaedtner.net \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).