diff options
| -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"]) ``` |
