bug-recutils
[Top][All Lists]
Advanced

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

Re: [bug-recutils] [bug #41604] recfix: leading/trailing spaces


From: Jose E. Marchesi
Subject: Re: [bug-recutils] [bug #41604] recfix: leading/trailing spaces
Date: Mon, 24 Feb 2014 22:38:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi Karl.

    Details:
    
    consider a record like this:
    
    quantity: 4
    
    Now, if I use a single space between the colon and the number, it is removed
    from the output of recsel -P quantity.  Good.
    
    But if I use a tab, the tab appears in the output.  That seems
    wrong.

Yes, it is a bug.  I just pushed a fix for it.
    
    I suggest that recfix check for multiple spaces, especially trailing ones.  
It
    would be nice if it could also fix it, but that looks like new 
functionality,
    so I suppose it's fine to leave it for the user.  Not like it's hard.
    
Warning about trailing spaces looks like a good idea to me.
Thanks.



reply via email to

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