[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-recutils] [bug #41604] recfix: leading/trailing spaces
From: |
Karl Berry |
Subject: |
[bug-recutils] [bug #41604] recfix: leading/trailing spaces |
Date: |
Sat, 15 Feb 2014 17:19:30 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 |
URL:
<http://savannah.gnu.org/bugs/?41604>
Summary: recfix: leading/trailing spaces
Project: GNU recutils
Submitted by: karl
Submitted on: Sat 15 Feb 2014 09:19:29 AM PST
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
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.
If I use multiple spaces+tabs (quantity: 4), all of them after the first
appear.
Trailing spaces (quantity: 4 ) also appear.
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.
(This is my last report for the present, yay :)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41604>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug-recutils] [bug #41604] recfix: leading/trailing spaces,
Karl Berry <=