[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: apparently valid recutils file created when saved with comma
From: |
Jose E. Marchesi |
Subject: |
Re: apparently valid recutils file created when saved with comma |
Date: |
Tue, 30 Jun 2020 14:06:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi Charles.
Recutils version 1.9
I inadvertently saved a recutils file as something,rec
(something-comma-rec)
After a few attempts to print the records using recsel on
something-dot-rec, I realized that the file name contained a comma
not
a dot.
So I called recsel on something-comma-rec and the records in the
file
were printed out. I tried a couple of other operations such as
recfix
, and no errors.
I would expect an error message such as "Invalid recutils file."
This a bug or is there some deep dark secret concerning naming
conventions? After all, the manual uses "dot"rec (or "period"rec,
if
you prefer.)
The name of the file is irrelevant to recutils.
The utilities will just read and process the file you provide, without
looking at the file extension...
I think Charles is complaining about the lack of a warning message when
recfix is passed the name of a non-existent file.
I think you fixed this bug a few days ago.
Oh I see :)
- Re: apparently valid recutils file created when saved with comma,
Jose E. Marchesi <=