You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ printf 'a,b,c\nshort,short,"two\nlines"\nshort,short,short' | csvlook
| a | b | c |
| ----- | ----- | --------- |
| short | short | two
lines |
| short | short | short |
Desired behavior:
$ printf 'a,b,c\nshort,short,"two\nlines"\nshort,short,short' | csvlook
| a | b | c |
| ----- | ----- | --------- |
| short | short | two |
| lines |
| short | short | short |
Use case #2: insertion of newlines to improve readability
Current behavior:
$ printf 'a,b,c\nshort,short,very very very very very very very very long\nshort,short,short' | csvlook
| a | b | c |
| ----- | ----- | -------------------------------------------- |
| short | short | very very very very very very very very long |
| short | short | short |
$ printf 'a,b,c\nshort,short,very very very very very very very very long\nshort,short,short' | csvlook --wrap-at 44
| a | b | c |
| ----- | ----- | ------------------------ |
| short | short | very very very very very |
| very very very long |
| short | short | short |
Relevant issue: gh-442. That documents requests for two separate features--wrapping and truncation--in this project and csvkit, but it was considered resolved with the introduction of truncation.
Thanks for maintaining a great tool!
The text was updated successfully, but these errors were encountered:
Use case
#
1: data which includes newlinesCurrent behavior:
Desired behavior:
Use case
#
2: insertion of newlines to improve readabilityCurrent behavior:
Desired behavior (with starperson
--wrap-at
flag):Relevant issue: gh-442. That documents requests for two separate features--wrapping and truncation--in this project and csvkit, but it was considered resolved with the introduction of truncation.
Thanks for maintaining a great tool!
The text was updated successfully, but these errors were encountered: