bug-recutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: apparently valid recutils file created when saved with comma


From: Charles Millar
Subject: Re: apparently valid recutils file created when saved with comma
Date: Tue, 30 Jun 2020 07:47:11 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 6/30/20 7:06 AM, John Darrington wrote:
On Tue, Jun 30, 2020 at 11:59:16AM +0200, Jose E. Marchesi wrote:
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.

J'


Thank you, both. I updated recutils from the repository and confirm that there is warning message when I pass a non-existent file. (I thought I had updated from the repository in the last couple of days, but apparently I did not.)

Very interesting about the file extension.

Charlie



reply via email to

[Prev in Thread] Current Thread [Next in Thread]