Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add accepted csv dialects to manpage/docs #88

Closed
saulpw opened this issue Nov 12, 2017 · 3 comments
Closed

Add accepted csv dialects to manpage/docs #88

saulpw opened this issue Nov 12, 2017 · 3 comments
Assignees

Comments

@saulpw
Copy link
Owner

saulpw commented Nov 12, 2017

From comment by @wavexx on TabViewer/tabview#152:

You should perhaps mention what "dialect" accepts in the man page, since
it's already so neatly documented. As python developers we might know,
but others will definitely not.

The list of dialects is not listed nearby the "-f" flag, just a dumb
list or a "See SUPPORTED SOURCES" at the bottom would be nice.

Adding a list of dialects supported by Python 3.4 to the SUPPORTED SOURCES section (with "see SS" by the --dialect and --filetype options, as suggested) is probably the right way to go.

@anjakefala
Copy link
Collaborator

Doc addition included into VisiData v0.98.1.

@aborruso
Copy link
Contributor

Hi, where can I find the specs of excel-tab, unix, and excel dialects?

For "unix" I have found "The unix_dialect class defines the usual properties of a CSV file generated on UNIX systems, i.e. using '\n' as line terminator and quoting all fields. It is registered with the dialect name 'unix'". It's not complete, but it's something.

Thank you

@saulpw
Copy link
Owner Author

saulpw commented Dec 23, 2018

Hi @aborruso, it seems like you've found the right Python documentation for the dialects. Unfortunately I don't have any better information since we're just passing that parameter along to the Python csv parser. If you find a more thorough explanation of the dialects, please let us know and we'll include it in our docs too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants