From 79045834722ea264a52f22a36ac03b712a7f15ac Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Wed, 1 Nov 2017 18:09:29 +0200 Subject: Update README.md --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 89c1871..15112ee 100644 --- a/README.md +++ b/README.md @@ -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"]) ``` -- cgit v1.2.3