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: John Darrington
Subject: Re: apparently valid recutils file created when saved with comma
Date: Tue, 30 Jun 2020 13:06:34 +0200
User-agent: Mutt/1.10.1 (2018-07-13)

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'



reply via email to

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