Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

trim spaces: don't trim/strip separator character #100

Closed

Conversation

dharaburda
Copy link
Contributor

If tab is used as the separator character, the TRIM_SPACES feature will "eat" an empty column.

For example: a\tb\t\td will end up with d in the third column instead of the fourth. A trivial fix corrects this.

Also included a unit test.

@cowtowncoder
Copy link
Member

@dharaburda Good catch, and thank you for the contribution! I'll have to check this out, but wanted to add a note as I am quite loaded with work, so it may take a few days.

@cowtowncoder cowtowncoder added this to the 2.6.5 milestone Dec 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants