diff options
| author | Oskari Timperi <oswjk@users.noreply.github.com> | 2017-11-01 18:09:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-01 18:09:29 +0200 |
| commit | 79045834722ea264a52f22a36ac03b712a7f15ac (patch) | |
| tree | 3dee2f46dae79c8dceb2c51f856d1e7933516632 /README.md | |
| parent | 530f740c0076ed274235b1949b22b206951105a7 (diff) | |
| download | nimrec-79045834722ea264a52f22a36ac03b712a7f15ac.tar.gz nimrec-79045834722ea264a52f22a36ac03b712a7f15ac.zip | |
Update README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,7 +1,7 @@ # Rec file parser for Nim Using this library you can parse rec files made by the -[recutils][https://www.gnu.org/software/recutils/] software. +[recutils](https://www.gnu.org/software/recutils/) software. # Examples @@ -18,10 +18,9 @@ Age: 32 You can read the names of the persons like this: ```nim -import nimrec -import streams +import nimrec/[utils, record] -for record in records(newFileStream("persons.rec")): +for record in records("persons.rec"): echo(record["Name"]) ``` |
