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

t users --csv option doesn't escape commas or newlines #352

Open
rileyjshaw opened this issue Nov 12, 2016 · 2 comments
Open

t users --csv option doesn't escape commas or newlines #352

rileyjshaw opened this issue Nov 12, 2016 · 2 comments

Comments

@rileyjshaw
Copy link

rileyjshaw commented Nov 12, 2016

The generated csv from t users isn't parsable; it contains user tweets & descriptions, which often contain commas and newlines.

Ruby's to_csv method seems to escape commas and newlines. I'm not familiar with say, but that might be what's unescaping them?

I spent a while looking into this but I'm unfamiliar with Ruby's gem system. Simply appending to_csv().html_safe might do the trick, but I couldn't figure out how to apply my changes to the global gem.

@githubbbie
Copy link

agree this needs to be fixed

@githubbbie
Copy link

All -csv options really, including: t followers -c

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

2 participants